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.001163/0.001163, allocations: 96.38 kB / 19.7 MB, free: 448 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.0009182/0.0009182, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.9702/0.9702, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-531:190: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-531:198: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.8023/0.8023, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009144/0.0009144, allocations: 71.27 kB / 0.7194 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.519/0.5199, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.13/0.6499, allocations: 130 MB / 0.9459 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.6501, allocations: 55.8 kB / 0.946 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.6501, allocations: 0 / 0.946 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.6503, allocations: 7.922 kB / 0.946 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.6504, allocations: 15.94 kB / 0.946 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.6509, allocations: 118.1 kB / 0.9461 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.6511, allocations: 31.86 kB / 0.9461 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.6511, allocations: 4 kB / 0.9461 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.987e-05/0.6512, allocations: 15.92 kB / 0.9462 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.6513, allocations: 11.98 kB / 0.9462 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.6513, allocations: 4 kB / 0.9462 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.6515, allocations: 75.72 kB / 0.9462 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.6516, allocations: 4 kB / 0.9462 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.6516, allocations: 15.92 kB / 0.9463 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.6518, allocations: 67.59 kB / 0.9463 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6518, allocations: 0 / 0.9463 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6518, allocations: 4 kB / 0.9463 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.6518, allocations: 0 / 0.9463 GB, free: 2.797 MB / 0.7136 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.0004255/0.6522, allocations: 261.3 kB / 0.9466 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6523, allocations: 8.031 kB / 0.9466 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.6525, allocations: 20.92 kB / 0.9466 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.6526, allocations: 110.5 kB / 0.9467 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.6527, allocations: 59.33 kB / 0.9468 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.6527, allocations: 4 kB / 0.9468 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.6529, allocations: 71.39 kB / 0.9468 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6529, allocations: 0 / 0.9468 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.6529, allocations: 4 kB / 0.9468 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.6529, allocations: 3.938 kB / 0.9469 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.653, allocations: 23.98 kB / 0.9469 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.6533, allocations: 204.5 kB / 0.9471 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.718e-05/0.6534, allocations: 18.61 kB / 0.9471 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.6534, allocations: 12.91 kB / 0.9471 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.6534, allocations: 0 / 0.9471 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.6534, allocations: 34.56 kB / 0.9471 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.6534, allocations: 3.938 kB / 0.9471 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.6536, allocations: 33.7 kB / 0.9472 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.6536, allocations: 55.53 kB / 0.9472 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.6537, allocations: 113.7 kB / 0.9473 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.6537, allocations: 25.7 kB / 0.9474 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.6538, allocations: 88.05 kB / 0.9474 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.6538, allocations: 8 kB / 0.9474 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.6538, allocations: 21.66 kB / 0.9475 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.6539, allocations: 318.8 kB / 0.9478 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.6539, allocations: 4 kB / 0.9478 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.6539, allocations: 22.56 kB / 0.9478 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.654, allocations: 38.45 kB / 0.9478 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.654, allocations: 0 / 0.9478 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.901e-05/0.6541, allocations: 53.62 kB / 0.9479 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6541, allocations: 8 kB / 0.9479 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6541, allocations: 0 / 0.9479 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6541, allocations: 0 / 0.9479 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.6542, allocations: 8 kB / 0.9479 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6542, allocations: 3.938 kB / 0.9479 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.6542, allocations: 3.938 kB / 0.9479 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6542, allocations: 12.09 kB / 0.9479 GB, free: 0.9688 MB / 0.7136 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 7.308e-05/0.6543, allocations: 109.8 kB / 0.948 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.6543, allocations: 4 kB / 0.948 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.6543, allocations: 7.109 kB / 0.948 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6543, allocations: 0 / 0.948 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6543, allocations: 0 / 0.948 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6543, allocations: 3.938 kB / 0.948 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.6545, allocations: 298.6 kB / 0.9483 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6545, allocations: 4 kB / 0.9483 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.6546, allocations: 0 / 0.9483 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6546, allocations: 7.969 kB / 0.9483 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.6546, allocations: 0 / 0.9483 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6546, allocations: 7.938 kB / 0.9483 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6546, allocations: 0 / 0.9483 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.631e-05/0.6546, allocations: 61.12 kB / 0.9484 GB, free: 416 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.6546, allocations: 3.938 kB / 0.9484 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.6546, allocations: 0 / 0.9484 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.6547, allocations: 7.938 kB / 0.9484 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.6547, allocations: 7.984 kB / 0.9484 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.6547, allocations: 0 / 0.9484 GB, free: 396 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.6548, allocations: 83.31 kB / 0.9485 GB, free: 312 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.6548, allocations: 0 / 0.9485 GB, free: 312 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001395/0.6549, allocations: 8 kB / 0.9485 GB, free: 304 kB / 0.7136 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.953e-05/0.655, allocations: 95.25 kB / 0.9486 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.6551, allocations: 19.92 kB / 0.9486 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6551, allocations: 0 / 0.9486 GB, free: 180 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.057e-06/0.6551, allocations: 4 kB / 0.9486 GB, free: 176 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.6553, allocations: 4.188 kB / 0.9486 GB, free: 172 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.6556, allocations: 148.8 kB / 0.9488 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.6557, allocations: 63.28 kB / 0.9488 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.6557, allocations: 11.44 kB / 0.9488 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of SimCode: time 7.61e-07/0.6557, allocations: 0 / 0.9488 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.001798/0.6575, allocations: 0.5734 MB / 0.9494 GB, free: 15.32 MB / 0.7292 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.032166379969567] Failed to read output from testmodel.py, exit status != 0: 0.6640420639887452 0.673436261 0.019707790000000003 Calling exit ...