Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00136/0.00136, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001467/0.001467, allocations: 216.1 kB / 22.99 MB, free: 4.945 MB / 14.72 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8219/0.8219, allocations: 134 MB / 447.2 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002036/0.002036, allocations: 67.44 kB / 0.6197 GB, free: 6.387 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1756, allocations: 85.91 MB / 0.7036 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4802/0.6558, allocations: 130 MB / 0.8305 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.6559, allocations: 46.27 kB / 0.8306 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.656, allocations: 0 / 0.8306 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.6561, allocations: 6.562 kB / 0.8306 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.6562, allocations: 15.17 kB / 0.8306 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.6568, allocations: 107.7 kB / 0.8307 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.6569, allocations: 31.61 kB / 0.8307 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.657, allocations: 6.922 kB / 0.8307 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.657, allocations: 15.86 kB / 0.8307 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.6571, allocations: 16.36 kB / 0.8307 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.6571, allocations: 0 / 0.8307 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.6574, allocations: 70.33 kB / 0.8308 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.6574, allocations: 16.73 kB / 0.8308 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.6574, allocations: 5.875 kB / 0.8308 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.6576, allocations: 67.5 kB / 0.8309 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6576, allocations: 4 kB / 0.8309 GB, free: 14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.526e-06/0.6576, allocations: 9.984 kB / 0.8309 GB, free: 14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6576, allocations: 0 / 0.8309 GB, free: 14 MB / 0.6075 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.0004539/0.6581, allocations: 260.7 kB / 0.8312 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6581, allocations: 8.438 kB / 0.8312 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.6584, allocations: 17.95 kB / 0.8312 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.6585, allocations: 109.3 kB / 0.8313 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.6586, allocations: 63.33 kB / 0.8314 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.6586, allocations: 6.719 kB / 0.8314 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.6588, allocations: 78 kB / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.6588, allocations: 0 / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.6588, allocations: 0 / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.6588, allocations: 2.656 kB / 0.8314 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.768e-05/0.6589, allocations: 22.55 kB / 0.8315 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.6592, allocations: 200.4 kB / 0.8316 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.6593, allocations: 25.25 kB / 0.8317 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.6593, allocations: 11.8 kB / 0.8317 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.6593, allocations: 0 / 0.8317 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.6593, allocations: 30.56 kB / 0.8317 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.6593, allocations: 0 / 0.8317 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.6595, allocations: 37.42 kB / 0.8317 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.6595, allocations: 55.39 kB / 0.8318 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.6596, allocations: 106.2 kB / 0.8319 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.6596, allocations: 30.27 kB / 0.8319 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6597, allocations: 94.31 kB / 0.832 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-06/0.6597, allocations: 0 / 0.832 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.6597, allocations: 27.27 kB / 0.832 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6599, allocations: 318.7 kB / 0.8324 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.6599, allocations: 5.219 kB / 0.8324 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.6599, allocations: 29.78 kB / 0.8324 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.66, allocations: 30.8 kB / 0.8324 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.66, allocations: 2.594 kB / 0.8324 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.389e-05/0.6601, allocations: 53.62 kB / 0.8325 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6601, allocations: 9.531 kB / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6601, allocations: 0 / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6601, allocations: 0 / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.496e-05/0.6602, allocations: 7.969 kB / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6602, allocations: 3.984 kB / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.6602, allocations: 5.906 kB / 0.8325 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.6602, allocations: 3.375 kB / 0.8325 GB, free: 12.34 MB / 0.6075 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 9.176e-05/0.6603, allocations: 109.8 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.6603, allocations: 2.594 kB / 0.8326 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.6604, allocations: 7.156 kB / 0.8326 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6604, allocations: 4 kB / 0.8326 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6604, allocations: 2.938 kB / 0.8326 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6604, allocations: 3.938 kB / 0.8326 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.6606, allocations: 294.2 kB / 0.8329 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6606, allocations: 0 / 0.8329 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.6606, allocations: 2.719 kB / 0.8329 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6606, allocations: 3.984 kB / 0.8329 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.6606, allocations: 3.688 kB / 0.8329 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6607, allocations: 7.875 kB / 0.8329 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.6607, allocations: 0 / 0.8329 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.503e-05/0.6607, allocations: 65.08 kB / 0.833 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.6607, allocations: 2.625 kB / 0.833 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.6608, allocations: 0 / 0.833 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.6608, allocations: 10.77 kB / 0.833 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.6609, allocations: 0 / 0.833 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.6609, allocations: 2.781 kB / 0.833 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.6609, allocations: 88.42 kB / 0.8331 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6609, allocations: 0 / 0.8331 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001928/0.6611, allocations: 5.469 kB / 0.8331 GB, free: 11.71 MB / 0.6075 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 9.306e-05/0.6612, allocations: 99.5 kB / 0.8332 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.979e-05/0.6613, allocations: 15.19 kB / 0.8332 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6613, allocations: 0 / 0.8332 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.6613, allocations: 3.344 kB / 0.8332 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.6615, allocations: 14.7 kB / 0.8332 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.6618, allocations: 130.7 kB / 0.8333 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.6619, allocations: 57.52 kB / 0.8334 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.6619, allocations: 13.94 kB / 0.8334 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.6619, allocations: 4 kB / 0.8334 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Templates: time 0.001877/0.6638, allocations: 0.5733 MB / 0.834 GB, free: 11.09 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.2878677546978] Failed to read output from testmodel.py, exit status != 0: 0.6710554542951286 0.6856691429999999 0.024990122 Calling exit ...