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.001135/0.001135, allocations: 93.06 kB / 19.65 MB, free: 280 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.001309/0.001309, allocations: 165 kB / 23.01 MB, free: 1.555 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 0.9787/0.9787, allocations: 177.1 MB / 203.4 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8338/0.8338, allocations: 154.8 MB / 414.7 MB, free: 472 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 179] 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.372e-06/1.372e-06, allocations: 0 / 0.5206 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.776e-05, allocations: 7.078 kB / 0.5206 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004949/0.004977, allocations: 4.865 MB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002415/0.007392, allocations: 2.821 MB / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.007514, allocations: 0 / 0.5281 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.007842, allocations: 55.61 kB / 0.5281 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.008141, allocations: 106 kB / 0.5282 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.009357, allocations: 0.5722 MB / 0.5288 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.009646, allocations: 247.8 kB / 0.529 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.009691, allocations: 13.78 kB / 0.5291 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.00993, allocations: 158 kB / 0.5292 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.01006, allocations: 83.75 kB / 0.5293 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.01008, allocations: 8 kB / 0.5293 GB, free: 9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.01065, allocations: 327.1 kB / 0.5296 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.356e-05/0.01074, allocations: 39.83 kB / 0.5296 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.01083, allocations: 67.88 kB / 0.5297 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.01143, allocations: 365.2 kB / 0.5301 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.01144, allocations: 0 / 0.5301 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.01144, allocations: 0 / 0.5301 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.01145, allocations: 0 / 0.5301 GB, free: 8.219 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.0006907/0.01214, allocations: 0.531 MB / 0.5306 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01218, allocations: 13.06 kB / 0.5306 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.01234, allocations: 44.7 kB / 0.5306 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.01255, allocations: 157.3 kB / 0.5308 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.01256, allocations: 8.703 kB / 0.5308 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.01259, allocations: 32.3 kB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.01294, allocations: 428.7 kB / 0.5312 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01295, allocations: 4.188 kB / 0.5312 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.01297, allocations: 8.125 kB / 0.5312 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.01301, allocations: 8 kB / 0.5312 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.01326, allocations: 303.5 kB / 0.5315 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.01408, allocations: 0.9908 MB / 0.5325 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.01431, allocations: 134.9 kB / 0.5326 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.01437, allocations: 43.67 kB / 0.5327 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.01489, allocations: 0.5309 MB / 0.5332 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.01492, allocations: 45.33 kB / 0.5332 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01492, allocations: 0 / 0.5332 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002416/0.01516, allocations: 129.8 kB / 0.5334 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.01519, allocations: 55.41 kB / 0.5334 GB, free: 4.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.0153, allocations: 213.8 kB / 0.5336 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01532, allocations: 33.7 kB / 0.5336 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.0154, allocations: 194.8 kB / 0.5338 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.01542, allocations: 51.53 kB / 0.5339 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.01548, allocations: 55.36 kB / 0.5339 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000477/0.01595, allocations: 0.4961 MB / 0.5344 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.01601, allocations: 29.53 kB / 0.5344 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01612, allocations: 178.9 kB / 0.5346 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01631, allocations: 224.9 kB / 0.5348 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01631, allocations: 0.5625 kB / 0.5348 GB, free: 2.895 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002455/0.01656, allocations: 215 kB / 0.535 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.01658, allocations: 4 kB / 0.535 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.01659, allocations: 4 kB / 0.535 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.01663, allocations: 12.64 kB / 0.5351 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.01676, allocations: 56.58 kB / 0.5351 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.01677, allocations: 7.938 kB / 0.5351 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.01684, allocations: 29.05 kB / 0.5351 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01686, allocations: 16 kB / 0.5352 GB, free: 2.559 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.0001127/0.01697, allocations: 181.3 kB / 0.5353 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01701, allocations: 19.91 kB / 0.5354 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.01728, allocations: 138.3 kB / 0.5355 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.01729, allocations: 4.906 kB / 0.5355 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.01729, allocations: 0 / 0.5355 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0173, allocations: 1.062 kB / 0.5355 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01747, allocations: 168.4 kB / 0.5357 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01747, allocations: 7.922 kB / 0.5357 GB, free: 2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.01755, allocations: 33.55 kB / 0.5357 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.01755, allocations: 0 / 0.5357 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.01756, allocations: 8 kB / 0.5357 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01757, allocations: 0 / 0.5357 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.01757, allocations: 1.438 kB / 0.5357 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.01779, allocations: 259.8 kB / 0.536 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.01784, allocations: 31.81 kB / 0.536 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01786, allocations: 0 / 0.536 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.01795, allocations: 21.52 kB / 0.536 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.01799, allocations: 7.984 kB / 0.536 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01801, allocations: 15.98 kB / 0.536 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.01808, allocations: 146.4 kB / 0.5362 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01808, allocations: 1.438 kB / 0.5362 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003296/0.01841, allocations: 79.86 kB / 0.5362 GB, free: 1.395 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.0003238/0.01874, allocations: 169.6 kB / 0.5364 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.01894, allocations: 117.5 kB / 0.5365 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.01894, allocations: 0.5625 kB / 0.5365 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.404e-05/0.01899, allocations: 57.59 kB / 0.5366 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01926, allocations: 52.03 kB / 0.5366 GB, free: 1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.02012, allocations: 316 kB / 0.5369 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.02017, allocations: 71.98 kB / 0.537 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000105/0.02027, allocations: 44.64 kB / 0.537 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.02031, allocations: 24.5 kB / 0.5371 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.02031, allocations: 3.938 kB / 0.5371 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of Templates: time 0.005343/0.02565, allocations: 3.042 MB / 0.54 GB, free: 13.65 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0577677777037024]