Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0008593/0.0008593, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009183/0.0009183, allocations: 169 kB / 23.49 MB, free: 1.062 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.951/0.951, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8114/0.8114, allocations: 154.6 MB / 414.9 MB, free: 0.6523 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 179] 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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5203 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.729e-05, allocations: 10.25 kB / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1723/0.1724, allocations: 130.8 MB / 0.6481 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.1725, allocations: 51.8 kB / 0.6481 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.1726, allocations: 0 / 0.6481 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.1727, allocations: 3.938 kB / 0.6481 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.79e-05/0.1728, allocations: 15.86 kB / 0.6482 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.1736, allocations: 246.8 kB / 0.6484 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.1737, allocations: 39.84 kB / 0.6484 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.1738, allocations: 0 / 0.6484 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.1738, allocations: 27.95 kB / 0.6485 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.1739, allocations: 7.938 kB / 0.6485 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1739, allocations: 8 kB / 0.6485 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003381/0.1742, allocations: 183.3 kB / 0.6486 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.1743, allocations: 8 kB / 0.6487 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1743, allocations: 7.984 kB / 0.6487 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1746, allocations: 171.6 kB / 0.6488 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1746, allocations: 0 / 0.6488 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.1746, allocations: 0 / 0.6488 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.1746, allocations: 0 / 0.6488 GB, free: 14.67 MB / 0.6198 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.0004238/0.175, allocations: 384 kB / 0.6492 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1751, allocations: 12.03 kB / 0.6492 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.1751, allocations: 5.281 kB / 0.6492 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.574e-05/0.1752, allocations: 120.5 kB / 0.6493 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.1753, allocations: 51.97 kB / 0.6494 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1753, allocations: 4.375 kB / 0.6494 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.1754, allocations: 76.41 kB / 0.6494 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1754, allocations: 3.938 kB / 0.6495 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1755, allocations: 7.938 kB / 0.6495 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.1755, allocations: 7.969 kB / 0.6495 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.1755, allocations: 8 kB / 0.6495 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.1761, allocations: 307.8 kB / 0.6498 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.826e-05/0.1761, allocations: 31 kB / 0.6498 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1761, allocations: 7.688 kB / 0.6498 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.1762, allocations: 39.97 kB / 0.6498 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1762, allocations: 37.39 kB / 0.6499 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.694e-06/0.1762, allocations: 0 / 0.6499 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.1764, allocations: 29.7 kB / 0.6499 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1764, allocations: 55.39 kB / 0.65 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.1765, allocations: 162.1 kB / 0.6501 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1765, allocations: 29.7 kB / 0.6501 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1765, allocations: 130.8 kB / 0.6503 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.1765, allocations: 19.88 kB / 0.6503 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1766, allocations: 19.38 kB / 0.6503 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1767, allocations: 492.1 kB / 0.6508 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.1767, allocations: 0 / 0.6508 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.1767, allocations: 35.3 kB / 0.6508 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.1768, allocations: 23.38 kB / 0.6508 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1768, allocations: 7.938 kB / 0.6508 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.647e-05/0.1768, allocations: 53.62 kB / 0.6509 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1768, allocations: 4 kB / 0.6509 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1768, allocations: 0 / 0.6509 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1769, allocations: 4 kB / 0.6509 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.1769, allocations: 4 kB / 0.6509 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1769, allocations: 0 / 0.6509 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.1769, allocations: 0 / 0.6509 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1769, allocations: 4 kB / 0.6509 GB, free: 12.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.055e-05/0.177, allocations: 160.5 kB / 0.6511 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.177, allocations: 8.062 kB / 0.6511 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1772, allocations: 175.2 kB / 0.6512 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.066e-05/0.1772, allocations: 264.1 kB / 0.6515 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.09e-05/0.1773, allocations: 276 kB / 0.6517 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.182e-05/0.1774, allocations: 272.1 kB / 0.652 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1775, allocations: 492 kB / 0.6525 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.427e-05/0.1776, allocations: 160.8 kB / 0.6526 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1777, allocations: 148.9 kB / 0.6528 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.989e-05/0.1777, allocations: 272 kB / 0.653 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.1778, allocations: 264.1 kB / 0.6533 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/0.1779, allocations: 268.1 kB / 0.6535 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.502e-05/0.1779, allocations: 272 kB / 0.6538 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.1781, allocations: 448 kB / 0.6542 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.1781, allocations: 152.8 kB / 0.6544 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.502e-05/0.1782, allocations: 268 kB / 0.6546 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1783, allocations: 152.9 kB / 0.6548 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1784, allocations: 264.1 kB / 0.655 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.1784, allocations: 152.8 kB / 0.6552 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002348/0.1786, allocations: 123.2 kB / 0.6553 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.1786, allocations: 4 kB / 0.6553 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002426/0.1789, allocations: 63.73 kB / 0.6554 GB, free: 7.551 MB / 0.6198 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 (0): * Single equations (assignments): 0 * 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 0.0002847/0.1792, allocations: 301.4 kB / 0.6556 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.531e-05/0.1792, allocations: 15.69 kB / 0.6557 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1792, allocations: 4.125 kB / 0.6557 GB, free: 7.227 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.1792, allocations: 7.938 kB / 0.6557 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1796, allocations: 0.71 MB / 0.6564 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.18, allocations: 237.1 kB / 0.6566 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.1801, allocations: 51.36 kB / 0.6566 GB, free: 6.176 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.1801, allocations: 11.98 kB / 0.6566 GB, free: 6.164 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.1801, allocations: 12.5 kB / 0.6567 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.1801, allocations: 0 / 0.6567 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of Templates: time 0.003057/0.1832, allocations: 1.366 MB / 0.658 GB, free: 4.805 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.087982532801107]