Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 276 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.001021/0.001021, allocations: 169 kB / 23.02 MB, free: 1.551 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.092/1.092, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7873/0.7873, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.5206 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.682e-05/3.924e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1649/0.1649, allocations: 143.7 MB / 0.6609 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.165, allocations: 59.69 kB / 0.6609 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.1651, allocations: 0 / 0.6609 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1652, allocations: 8 kB / 0.6609 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.1652, allocations: 11.91 kB / 0.661 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1656, allocations: 119.5 kB / 0.6611 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.758e-05/0.1657, allocations: 35.84 kB / 0.6611 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.1658, allocations: 0 / 0.6611 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.1658, allocations: 23.92 kB / 0.6611 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.1659, allocations: 15.97 kB / 0.6611 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1659, allocations: 0 / 0.6611 GB, free: 1.703 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.1661, allocations: 75.73 kB / 0.6612 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1661, allocations: 7.984 kB / 0.6612 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.1661, allocations: 4 kB / 0.6612 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1663, allocations: 79.72 kB / 0.6613 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1663, allocations: 0 / 0.6613 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1663, allocations: 4 kB / 0.6613 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1663, allocations: 0 / 0.6613 GB, free: 1.535 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003062/0.1666, allocations: 360.2 kB / 0.6617 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1666, allocations: 12.03 kB / 0.6617 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1668, allocations: 29.14 kB / 0.6617 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.1669, allocations: 108.6 kB / 0.6618 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.167, allocations: 51.97 kB / 0.6618 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.167, allocations: 12.12 kB / 0.6619 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1671, allocations: 80.09 kB / 0.6619 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1671, allocations: 0 / 0.6619 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1671, allocations: 3.984 kB / 0.6619 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.1671, allocations: 3.984 kB / 0.6619 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.973e-05/0.1672, allocations: 11.94 kB / 0.662 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.1674, allocations: 259.8 kB / 0.6622 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.237e-05/0.1675, allocations: 27.06 kB / 0.6622 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.1675, allocations: 7.688 kB / 0.6622 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-06/0.1675, allocations: 4.062 kB / 0.6622 GB, free: 456 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.1675, allocations: 37.39 kB / 0.6623 GB, free: 408 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.1675, allocations: 3.938 kB / 0.6623 GB, free: 404 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.919e-05/0.1676, allocations: 41.58 kB / 0.6623 GB, free: 356 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.1676, allocations: 55.41 kB / 0.6624 GB, free: 288 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.1677, allocations: 165.9 kB / 0.6625 GB, free: 104 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1677, allocations: 25.7 kB / 0.6626 GB, free: 72 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1678, allocations: 138.8 kB / 0.6627 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.1678, allocations: 3.953 kB / 0.6627 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.1678, allocations: 23.38 kB / 0.6627 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.168, allocations: 0.4885 MB / 0.6632 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.168, allocations: 7.984 kB / 0.6632 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.168, allocations: 31.06 kB / 0.6632 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.367e-05/0.1681, allocations: 35 kB / 0.6633 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1681, allocations: 0 / 0.6633 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.55e-05/0.1681, allocations: 53.62 kB / 0.6633 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1681, allocations: 5.562 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1681, allocations: 4.344 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1681, allocations: 4 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.305e-05/0.1682, allocations: 8 kB / 0.6633 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1682, allocations: 7.938 kB / 0.6633 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.1682, allocations: 3.953 kB / 0.6633 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1682, allocations: 4 kB / 0.6633 GB, free: 15.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 5.817e-05/0.1683, allocations: 164.5 kB / 0.6635 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.1683, allocations: 0 / 0.6635 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.1683, allocations: 11.23 kB / 0.6635 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1683, allocations: 0 / 0.6635 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1683, allocations: 0 / 0.6635 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1683, allocations: 4 kB / 0.6635 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1685, allocations: 400.3 kB / 0.6639 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1685, allocations: 0 / 0.6639 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-06/0.1685, allocations: 7.938 kB / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1685, allocations: 0 / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.1685, allocations: 0 / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.1685, allocations: 0 / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1685, allocations: 0 / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.659e-05/0.1686, allocations: 72.38 kB / 0.664 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.1686, allocations: 0 / 0.664 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1686, allocations: 12 kB / 0.664 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.1686, allocations: 0 / 0.664 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.1686, allocations: 3.984 kB / 0.664 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1686, allocations: 3.938 kB / 0.664 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.1687, allocations: 127.2 kB / 0.6641 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1687, allocations: 0 / 0.6641 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001925/0.1689, allocations: 8 kB / 0.6641 GB, free: 14.32 MB / 0.6355 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 (1): * Single equations (assignments): 1 * 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 8.464e-05/0.1689, allocations: 95.25 kB / 0.6642 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.428e-05/0.169, allocations: 31.61 kB / 0.6642 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.169, allocations: 0 / 0.6642 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.169, allocations: 11.69 kB / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1692, allocations: 4.562 kB / 0.6643 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.1696, allocations: 126.5 kB / 0.6644 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.931e-05/0.1696, allocations: 55.3 kB / 0.6644 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.1696, allocations: 8.25 kB / 0.6644 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1696, allocations: 8.5 kB / 0.6645 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/0.1696, allocations: 0 / 0.6645 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.001781/0.1714, allocations: 0.558 MB / 0.665 GB, free: 13.41 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.480068152304739]