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.001129/0.001129, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009832/0.0009832, allocations: 169 kB / 23.27 MB, free: 1.223 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.008/1.008, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7713/0.7713, allocations: 154.9 MB / 415.1 MB, free: 276 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.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 1.843e-06/1.843e-06, allocations: 0 / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.69e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1753/0.1753, allocations: 141 MB / 0.6588 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.1755, allocations: 51.73 kB / 0.6589 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1755, allocations: 0 / 0.6589 GB, free: 4.133 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.724e-05/0.1756, allocations: 11.94 kB / 0.6589 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.195e-05/0.1756, allocations: 11.92 kB / 0.6589 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.176, allocations: 115.5 kB / 0.659 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.1763, allocations: 39.84 kB / 0.6591 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.018e-05/0.1763, allocations: 3.984 kB / 0.6591 GB, free: 3.953 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.1764, allocations: 19.98 kB / 0.6591 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.1764, allocations: 11.98 kB / 0.6591 GB, free: 3.922 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1764, allocations: 4 kB / 0.6591 GB, free: 3.918 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.1766, allocations: 75.67 kB / 0.6592 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.1766, allocations: 7.938 kB / 0.6592 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.1767, allocations: 15.97 kB / 0.6592 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1768, allocations: 63.86 kB / 0.6592 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1768, allocations: 0 / 0.6592 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1768, allocations: 4 kB / 0.6592 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1768, allocations: 0 / 0.6592 GB, free: 3.754 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.0003359/0.1771, allocations: 364.2 kB / 0.6596 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1772, allocations: 12.03 kB / 0.6596 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.1774, allocations: 29.16 kB / 0.6596 GB, free: 3.324 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.33e-05/0.1774, allocations: 112.6 kB / 0.6597 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.1775, allocations: 55.97 kB / 0.6598 GB, free: 3.121 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1775, allocations: 12.06 kB / 0.6598 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1776, allocations: 80.06 kB / 0.6599 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1776, allocations: 0 / 0.6599 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.1776, allocations: 0 / 0.6599 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1776, allocations: 8 kB / 0.6599 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.1776, allocations: 11.98 kB / 0.6599 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.1779, allocations: 236.4 kB / 0.6601 GB, free: 2.738 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.624e-05/0.1779, allocations: 27 kB / 0.6602 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.1779, allocations: 7.75 kB / 0.6602 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1779, allocations: 8.031 kB / 0.6602 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1779, allocations: 33.39 kB / 0.6602 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1779, allocations: 0 / 0.6602 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.494e-05/0.178, allocations: 49.58 kB / 0.6602 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.1781, allocations: 55.41 kB / 0.6603 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.1781, allocations: 165.9 kB / 0.6605 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.1781, allocations: 29.7 kB / 0.6605 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.1782, allocations: 138.8 kB / 0.6606 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-06/0.1782, allocations: 3.953 kB / 0.6606 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.1782, allocations: 23.38 kB / 0.6606 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1783, allocations: 0.4922 MB / 0.6611 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-06/0.1783, allocations: 0 / 0.6611 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.1783, allocations: 27.06 kB / 0.6612 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.1784, allocations: 43.11 kB / 0.6612 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1784, allocations: 0 / 0.6612 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.265e-05/0.1784, allocations: 49.62 kB / 0.6612 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1784, allocations: 8 kB / 0.6612 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1784, allocations: 0 / 0.6612 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1785, allocations: 0 / 0.6612 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.648e-05/0.1785, allocations: 8 kB / 0.6613 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1785, allocations: 3.984 kB / 0.6613 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1785, allocations: 4.094 kB / 0.6613 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.1785, allocations: 8 kB / 0.6613 GB, free: 1.441 MB / 0.6198 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.604e-05/0.1786, allocations: 156.5 kB / 0.6614 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.1786, allocations: 11.89 kB / 0.6614 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.1786, allocations: 3.156 kB / 0.6614 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-07/0.1786, allocations: 3.938 kB / 0.6614 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1786, allocations: 0 / 0.6614 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1786, allocations: 0 / 0.6614 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1788, allocations: 381 kB / 0.6618 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1788, allocations: 0 / 0.6618 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-06/0.1788, allocations: 8.031 kB / 0.6618 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1788, allocations: 0 / 0.6618 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.1788, allocations: 0 / 0.6618 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.1788, allocations: 0 / 0.6618 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1788, allocations: 0 / 0.6618 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.739e-05/0.1788, allocations: 76.31 kB / 0.6619 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.1789, allocations: 4 kB / 0.6619 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.1789, allocations: 0 / 0.6619 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.1789, allocations: 256 / 0.6619 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-06/0.1789, allocations: 0 / 0.6619 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.1789, allocations: 8.031 kB / 0.6619 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.1789, allocations: 139.2 kB / 0.662 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1789, allocations: 0 / 0.662 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001093/0.1791, allocations: 4 kB / 0.662 GB, free: 0.5859 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 (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 7.75e-05/0.1791, allocations: 95.25 kB / 0.6621 GB, free: 496 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.151e-05/0.1792, allocations: 27.55 kB / 0.6621 GB, free: 464 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1792, allocations: 0 / 0.6621 GB, free: 464 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.1792, allocations: 11.69 kB / 0.6622 GB, free: 448 kB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.1793, allocations: 12.25 kB / 0.6622 GB, free: 436 kB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.1796, allocations: 118.4 kB / 0.6623 GB, free: 288 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.1797, allocations: 63.2 kB / 0.6623 GB, free: 204 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.1797, allocations: 4 kB / 0.6623 GB, free: 200 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.1797, allocations: 86.17 kB / 0.6624 GB, free: 112 kB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.1797, allocations: 0 / 0.6624 GB, free: 112 kB / 0.6198 GB Notification: Performance of Templates: time 0.001967/0.1817, allocations: 0.6173 MB / 0.663 GB, free: 15.54 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: 3.9033220801502466]