Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.conf.json 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.001886/0.001886, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00211/0.00211, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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 1.663/1.663, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.326/1.326, allocations: 154.6 MB / 414.1 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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) Running command: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.345e-05, allocations: 6.672 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007713/0.007746, allocations: 4.829 MB / 0.5244 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.01168, allocations: 2.813 MB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.01179, allocations: 4 kB / 0.5271 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.01212, allocations: 45.17 kB / 0.5272 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.01248, allocations: 100.8 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.01415, allocations: 0.5295 MB / 0.5278 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.01454, allocations: 244.7 kB / 0.528 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.01462, allocations: 13.8 kB / 0.528 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.01498, allocations: 152.3 kB / 0.5282 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.01518, allocations: 79.75 kB / 0.5282 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.01522, allocations: 8.656 kB / 0.5282 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.01598, allocations: 322.5 kB / 0.5286 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.01607, allocations: 39.89 kB / 0.5286 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.01618, allocations: 67.81 kB / 0.5287 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.01687, allocations: 374.8 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.01688, allocations: 0 / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01688, allocations: 0 / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.01688, allocations: 3.938 kB / 0.529 GB, free: 8.926 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009464/0.01783, allocations: 0.5346 MB / 0.5295 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.01788, allocations: 12.02 kB / 0.5295 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.01809, allocations: 43.75 kB / 0.5296 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.01836, allocations: 164.3 kB / 0.5297 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01838, allocations: 12.7 kB / 0.5298 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.01841, allocations: 16.38 kB / 0.5298 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.01897, allocations: 442.2 kB / 0.5302 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.01899, allocations: 4.125 kB / 0.5302 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.01901, allocations: 16.06 kB / 0.5302 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.01904, allocations: 9.734 kB / 0.5302 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.01958, allocations: 335.5 kB / 0.5305 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.02119, allocations: 0.9948 MB / 0.5315 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.02162, allocations: 169.8 kB / 0.5317 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.02174, allocations: 51.72 kB / 0.5317 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.0228, allocations: 0.5348 MB / 0.5322 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.02286, allocations: 42.36 kB / 0.5323 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.02286, allocations: 0 / 0.5323 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004527/0.02331, allocations: 143.9 kB / 0.5324 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.02337, allocations: 51.41 kB / 0.5325 GB, free: 5.129 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.02362, allocations: 217.8 kB / 0.5327 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.02366, allocations: 33.7 kB / 0.5327 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.02385, allocations: 198.8 kB / 0.5329 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.02391, allocations: 51.55 kB / 0.533 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/0.02401, allocations: 55.36 kB / 0.533 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003596/0.02437, allocations: 0.5047 MB / 0.5335 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.02446, allocations: 35.98 kB / 0.5335 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.02474, allocations: 183.4 kB / 0.5337 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.02515, allocations: 249.9 kB / 0.5339 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02516, allocations: 0.5625 kB / 0.5339 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004535/0.02561, allocations: 221.2 kB / 0.5342 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.02564, allocations: 8 kB / 0.5342 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.02566, allocations: 4 kB / 0.5342 GB, free: 3.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.02569, allocations: 4 kB / 0.5342 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.02592, allocations: 62.22 kB / 0.5342 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.02594, allocations: 7.938 kB / 0.5342 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.02606, allocations: 23.84 kB / 0.5343 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.02609, allocations: 12 kB / 0.5343 GB, free: 3.105 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0002298/0.02632, allocations: 180.4 kB / 0.5344 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.289e-05/0.02639, allocations: 24.97 kB / 0.5345 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.02694, allocations: 152.2 kB / 0.5346 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/0.02696, allocations: 9.703 kB / 0.5346 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.02696, allocations: 3.938 kB / 0.5346 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.02697, allocations: 0 / 0.5346 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.0273, allocations: 164.5 kB / 0.5348 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.0273, allocations: 0 / 0.5348 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.02743, allocations: 33.42 kB / 0.5348 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.02743, allocations: 0 / 0.5348 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.02745, allocations: 7.984 kB / 0.5348 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.02745, allocations: 0 / 0.5348 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02746, allocations: 0.5 kB / 0.5348 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.02787, allocations: 280.8 kB / 0.5351 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.02798, allocations: 35.8 kB / 0.5351 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.02801, allocations: 8 kB / 0.5351 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.02819, allocations: 4.969 kB / 0.5351 GB, free: 2.156 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.02825, allocations: 11.97 kB / 0.5352 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.02828, allocations: 13.28 kB / 0.5352 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001515/0.02843, allocations: 154.4 kB / 0.5353 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02843, allocations: 0 / 0.5353 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005093/0.02894, allocations: 79.88 kB / 0.5354 GB, free: 1.906 MB / 0.4948 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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 0.0005222/0.02947, allocations: 185.8 kB / 0.5356 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.0298, allocations: 131.6 kB / 0.5357 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.02981, allocations: 2.5 kB / 0.5357 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.702e-05/0.02989, allocations: 51.59 kB / 0.5357 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.03037, allocations: 51.89 kB / 0.5358 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.03129, allocations: 310 kB / 0.5361 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.03143, allocations: 101.1 kB / 0.5362 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.03159, allocations: 43.73 kB / 0.5362 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.03164, allocations: 24.5 kB / 0.5362 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.03164, allocations: 0 / 0.5362 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of Templates: time 0.01028/0.04192, allocations: 3.141 MB / 0.5393 GB, free: 14.03 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.341641770093702]