Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04151/0.04151, allocations: 9.13 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 98.58 kB / 35.33 MB, free: 1.078 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 164 kB / 38.73 MB, free: 2.52 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9667/0.9667, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.006534/0.006534, allocations: 0.8176 MB / 276.5 MB, free: 0.7461 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.716/1.716, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6379 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.807e-05, allocations: 6.25 kB / 0.638 GB, free: 14.03 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Log): time 0.001169/0.001187, allocations: 0.7188 MB / 0.6387 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.001938, allocations: 0.8586 MB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.001965, allocations: 4 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.001989, allocations: 0 / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.002051, allocations: 7.922 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.002173, allocations: 8 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.002231, allocations: 27.91 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.002293, allocations: 4 kB / 0.6395 GB, free: 12.39 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.002359, allocations: 15.92 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.002389, allocations: 11.98 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.0024, allocations: 0 / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.002449, allocations: 7.938 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.002462, allocations: 8 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.284e-05/0.002475, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.044e-05/0.002555, allocations: 27.83 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.002558, allocations: 4 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002559, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.002562, allocations: 0 / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002222/0.002784, allocations: 229 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.002816, allocations: 11.98 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.00289, allocations: 4.938 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.002958, allocations: 117.7 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.002965, allocations: 8.375 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-06/0.00297, allocations: 384 / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.496e-05/0.003045, allocations: 54.95 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.00305, allocations: 192 / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.003057, allocations: 4.359 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.003061, allocations: 384 / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.00308, allocations: 11.88 kB / 0.64 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.003245, allocations: 140.3 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.26e-05/0.003278, allocations: 18.58 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.00329, allocations: 8.859 kB / 0.6402 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.003301, allocations: 8.062 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.003317, allocations: 34.59 kB / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.003318, allocations: 0 / 0.6402 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.439e-05/0.003402, allocations: 37.64 kB / 0.6403 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.003427, allocations: 55.34 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.766e-05/0.003474, allocations: 106.7 kB / 0.6404 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.003483, allocations: 29.7 kB / 0.6405 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.003511, allocations: 80.14 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.003527, allocations: 3.953 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.003551, allocations: 25.66 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.003627, allocations: 322.9 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-06/0.003635, allocations: 4 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.003641, allocations: 0 / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.003661, allocations: 12.8 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003663, allocations: 0 / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.602e-05/0.003699, allocations: 37.69 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.00371, allocations: 4 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.003714, allocations: 0 / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.003724, allocations: 0 / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.003777, allocations: 16.03 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.003779, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.36e-05/0.003793, allocations: 3.984 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.003797, allocations: 4 kB / 0.641 GB, free: 10.79 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.003842, allocations: 105.8 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.003855, allocations: 4 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.00391, allocations: 48.94 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003912, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.003914, allocations: 3.938 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.003916, allocations: 0 / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.075e-05/0.003987, allocations: 69.92 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003987, allocations: 0 / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.004005, allocations: 8 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.004006, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.00401, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.004012, allocations: 3.984 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.004012, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.679e-05/0.004069, allocations: 135.4 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.004079, allocations: 7.984 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.004087, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.832e-05/0.004115, allocations: 8.016 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.004138, allocations: 4 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.00414, allocations: 0 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.949e-06/0.00415, allocations: 12.8 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00415, allocations: 0 / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001024/0.004252, allocations: 4 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.165e-05/0.004314, allocations: 80.34 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.729e-05/0.004361, allocations: 8.859 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.004363, allocations: 64 / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.004376, allocations: 16.8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.004499, allocations: 15.84 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.004671, allocations: 104.6 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.564e-05/0.004697, allocations: 55.34 kB / 0.6416 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.366e-05/0.00471, allocations: 4 kB / 0.6416 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.004742, allocations: 51.38 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of SimCode: time 3.41e-07/0.004742, allocations: 0 / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of Templates: time 0.00164/0.006381, allocations: 462 kB / 0.6421 GB, free: 9.484 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3530876520089805]