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.001426/0.001426, allocations: 88.72 kB / 19.44 MB, free: 352 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.001725/0.001725, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.566/1.566, 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 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.232/1.232, allocations: 154.6 MB / 414.2 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 3.627e-06/3.627e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.91e-05/6.273e-05, allocations: 5.25 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.009819/0.009882, allocations: 4.492 MB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.01395, allocations: 2.463 MB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.01413, allocations: 0 / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.01455, allocations: 43.69 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.01502, allocations: 105.7 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.017, allocations: 0.5396 MB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.01747, allocations: 235.8 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.01754, allocations: 9.812 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.01799, allocations: 155.5 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.01822, allocations: 79.77 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.01828, allocations: 8 kB / 0.5276 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009235/0.0192, allocations: 319.1 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.01933, allocations: 39.83 kB / 0.5279 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.01947, allocations: 62.8 kB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.02061, allocations: 382.8 kB / 0.5283 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.02062, allocations: 0 / 0.5283 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.215e-06/0.02062, allocations: 0 / 0.5283 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.02063, allocations: 0 / 0.5283 GB, free: 9.641 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.001203/0.02183, allocations: 441.4 kB / 0.5288 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.02188, allocations: 8.031 kB / 0.5288 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.02218, allocations: 46.28 kB / 0.5288 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.02258, allocations: 165.5 kB / 0.529 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.0226, allocations: 12.7 kB / 0.529 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.02264, allocations: 21.66 kB / 0.529 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.02332, allocations: 480 kB / 0.5295 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.02334, allocations: 4.188 kB / 0.5295 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.02337, allocations: 12.11 kB / 0.5295 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.0234, allocations: 8.531 kB / 0.5295 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.02404, allocations: 420.3 kB / 0.5299 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.02548, allocations: 0.7753 MB / 0.5306 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.02589, allocations: 154.9 kB / 0.5308 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.02601, allocations: 57.94 kB / 0.5308 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/0.027, allocations: 460.5 kB / 0.5313 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.02705, allocations: 34.56 kB / 0.5313 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/0.02705, allocations: 0.5938 kB / 0.5313 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.000462/0.02751, allocations: 148.5 kB / 0.5315 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.02758, allocations: 59.39 kB / 0.5315 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.0278, allocations: 154.4 kB / 0.5317 GB, free: 6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.02785, allocations: 34.64 kB / 0.5317 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.028, allocations: 144.1 kB / 0.5318 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.02808, allocations: 56.45 kB / 0.5319 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.02819, allocations: 49.69 kB / 0.5319 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.02838, allocations: 326.8 kB / 0.5322 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.29e-05/0.02847, allocations: 40.84 kB / 0.5323 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.02868, allocations: 141.7 kB / 0.5324 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.029, allocations: 194.6 kB / 0.5326 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.02901, allocations: 4.812 kB / 0.5326 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004362/0.02944, allocations: 230.4 kB / 0.5328 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.02947, allocations: 8.562 kB / 0.5328 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.02948, allocations: 0 / 0.5328 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.0295, allocations: 8.625 kB / 0.5328 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.02971, allocations: 60.84 kB / 0.5329 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.02972, allocations: 4 kB / 0.5329 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.02986, allocations: 24.62 kB / 0.5329 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.02988, allocations: 16 kB / 0.5329 GB, free: 4.57 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.0001602/0.03004, allocations: 136 kB / 0.5331 GB, free: 4.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.03011, allocations: 23.84 kB / 0.5331 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.03048, allocations: 154.3 kB / 0.5332 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.03049, allocations: 4 kB / 0.5333 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.0305, allocations: 0 / 0.5333 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.0305, allocations: 0 / 0.5333 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.03078, allocations: 158.5 kB / 0.5334 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.03079, allocations: 3.984 kB / 0.5334 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.03092, allocations: 27.98 kB / 0.5334 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.03093, allocations: 1.188 kB / 0.5334 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.03094, allocations: 4 kB / 0.5334 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.03094, allocations: 0 / 0.5334 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.03095, allocations: 9.438 kB / 0.5334 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.03129, allocations: 225.6 kB / 0.5337 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.03137, allocations: 27.88 kB / 0.5337 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.0314, allocations: 0 / 0.5337 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.0316, allocations: 17.77 kB / 0.5337 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.03164, allocations: 11.92 kB / 0.5337 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.03167, allocations: 15.98 kB / 0.5337 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001144/0.03179, allocations: 110.5 kB / 0.5338 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03179, allocations: 5.25 kB / 0.5338 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006241/0.03241, allocations: 71.88 kB / 0.5339 GB, free: 3.535 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.0005114/0.03292, allocations: 190.1 kB / 0.5341 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.03323, allocations: 114.7 kB / 0.5342 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.03323, allocations: 0 / 0.5342 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.03331, allocations: 43.97 kB / 0.5342 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.03378, allocations: 59.33 kB / 0.5343 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.03466, allocations: 306.3 kB / 0.5346 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.03481, allocations: 101.4 kB / 0.5347 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.03499, allocations: 43.5 kB / 0.5347 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.03505, allocations: 24.5 kB / 0.5348 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.03505, allocations: 0 / 0.5348 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of Templates: time 0.008518/0.04357, allocations: 3.138 MB / 0.5378 GB, free: 15.69 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=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.294591975049116]