Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001403/0.001403, allocations: 92.7 kB / 19.44 MB, free: 324 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.001567/0.001567, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.253/1.253, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.027e-05, allocations: 5.203 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.009068/0.009099, allocations: 4.505 MB / 0.5243 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.01355, allocations: 2.448 MB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.01371, allocations: 4 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003496/0.01406, allocations: 51.61 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004015/0.01446, allocations: 106 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.01642, allocations: 0.5217 MB / 0.5273 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.01685, allocations: 243.8 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/0.0169, allocations: 5.812 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003609/0.01726, allocations: 162 kB / 0.5277 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.01747, allocations: 79.77 kB / 0.5278 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.0175, allocations: 8 kB / 0.5278 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009173/0.01842, allocations: 315.1 kB / 0.5281 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.01853, allocations: 43.83 kB / 0.5281 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.01866, allocations: 59.89 kB / 0.5282 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.01951, allocations: 381.9 kB / 0.5286 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.01952, allocations: 3.984 kB / 0.5286 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.193e-06/0.01952, allocations: 0 / 0.5286 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.01953, allocations: 0 / 0.5286 GB, free: 9.395 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.001175/0.0207, allocations: 441.4 kB / 0.529 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.02074, allocations: 8.031 kB / 0.529 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.02103, allocations: 48.7 kB / 0.529 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.02141, allocations: 155.1 kB / 0.5292 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.02144, allocations: 12.7 kB / 0.5292 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.02149, allocations: 20.38 kB / 0.5292 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.02221, allocations: 488 kB / 0.5297 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.02223, allocations: 3.812 kB / 0.5297 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.02227, allocations: 16.12 kB / 0.5297 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.0223, allocations: 4 kB / 0.5297 GB, free: 8.098 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.02306, allocations: 419.5 kB / 0.5301 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.0246, allocations: 0.7777 MB / 0.5309 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004665/0.02506, allocations: 155 kB / 0.531 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.02521, allocations: 56.81 kB / 0.5311 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.02626, allocations: 459.1 kB / 0.5315 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.02631, allocations: 38.5 kB / 0.5316 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.02631, allocations: 0 / 0.5316 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005003/0.02681, allocations: 151.2 kB / 0.5317 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.02686, allocations: 55.41 kB / 0.5317 GB, free: 5.914 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.02707, allocations: 158.4 kB / 0.5319 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.02711, allocations: 28.89 kB / 0.5319 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.02725, allocations: 144.1 kB / 0.5321 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.02732, allocations: 59.48 kB / 0.5321 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.02743, allocations: 49.7 kB / 0.5322 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.02764, allocations: 326.8 kB / 0.5325 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.02776, allocations: 35.97 kB / 0.5325 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.02799, allocations: 141.7 kB / 0.5327 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.02838, allocations: 200 kB / 0.5328 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.02839, allocations: 0 / 0.5328 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005417/0.02893, allocations: 224.3 kB / 0.5331 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.02895, allocations: 11.19 kB / 0.5331 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.02896, allocations: 9.438 kB / 0.5331 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.02899, allocations: 4 kB / 0.5331 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.02928, allocations: 59.91 kB / 0.5331 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/0.0293, allocations: 11.94 kB / 0.5331 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.02947, allocations: 28.59 kB / 0.5332 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.0295, allocations: 12 kB / 0.5332 GB, free: 4.32 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.0001709/0.02967, allocations: 135.4 kB / 0.5333 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.02975, allocations: 19.94 kB / 0.5333 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.0302, allocations: 160.6 kB / 0.5335 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.03022, allocations: 1.219 kB / 0.5335 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.03022, allocations: 0 / 0.5335 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.03023, allocations: 0 / 0.5335 GB, free: 4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.03055, allocations: 157.1 kB / 0.5336 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.03055, allocations: 0.9375 kB / 0.5336 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.03072, allocations: 35.92 kB / 0.5337 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.03072, allocations: 0.875 kB / 0.5337 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.03074, allocations: 7.984 kB / 0.5337 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.03074, allocations: 4.703 kB / 0.5337 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03075, allocations: 0 / 0.5337 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.03113, allocations: 221.2 kB / 0.5339 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.03123, allocations: 27.88 kB / 0.5339 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.03127, allocations: 8 kB / 0.5339 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.03154, allocations: 11.98 kB / 0.5339 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.03158, allocations: 17.11 kB / 0.534 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.03161, allocations: 7.984 kB / 0.534 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001255/0.03174, allocations: 118.3 kB / 0.5341 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03174, allocations: 1.75 kB / 0.5341 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006594/0.03239, allocations: 79.81 kB / 0.5342 GB, free: 3.277 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.0004752/0.03287, allocations: 184.9 kB / 0.5343 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.03322, allocations: 115.7 kB / 0.5344 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.03322, allocations: 0.625 kB / 0.5344 GB, free: 2.984 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.03332, allocations: 39.86 kB / 0.5345 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.03388, allocations: 51.48 kB / 0.5345 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009053/0.03478, allocations: 303.6 kB / 0.5348 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.03494, allocations: 105.2 kB / 0.5349 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.03514, allocations: 37.38 kB / 0.535 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.03521, allocations: 28.48 kB / 0.535 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.03521, allocations: 1.531 kB / 0.535 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of Templates: time 0.01037/0.04558, allocations: 3.158 MB / 0.5381 GB, free: 15.43 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.130787021014839]