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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 112.2 kB / 16.42 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 189.4 kB / 17.35 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 65.55 kB / 0.582 GB, free: 23.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 80.2 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.431/0.5722, allocations: 147.8 MB / 0.8047 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.5724, allocations: 52.36 kB / 0.8048 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.5724, allocations: 0 / 0.8048 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.5725, allocations: 1.125 kB / 0.8048 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.5726, allocations: 16.53 kB / 0.8048 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.5731, allocations: 106.3 kB / 0.8049 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.5731, allocations: 33.05 kB / 0.8049 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.5732, allocations: 3.359 kB / 0.8049 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.5732, allocations: 19.69 kB / 0.8049 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.5733, allocations: 15.33 kB / 0.805 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.5733, allocations: 1.188 kB / 0.805 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.5736, allocations: 88.61 kB / 0.805 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.5736, allocations: 7.516 kB / 0.8051 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.5736, allocations: 12.72 kB / 0.8051 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.5738, allocations: 73.16 kB / 0.8051 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5738, allocations: 1.5 kB / 0.8051 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.629e-06/0.5738, allocations: 0 / 0.8051 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5738, allocations: 3.938 kB / 0.8051 GB, free: 11.93 MB / 0.5919 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.0003668/0.5742, allocations: 336.3 kB / 0.8055 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5742, allocations: 11.78 kB / 0.8055 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.5745, allocations: 19 kB / 0.8055 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5746, allocations: 163.8 kB / 0.8056 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.5746, allocations: 34.7 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.5747, allocations: 1.156 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.5748, allocations: 51.66 kB / 0.8057 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.5748, allocations: 2.391 kB / 0.8057 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.5748, allocations: 2.031 kB / 0.8057 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5748, allocations: 1.562 kB / 0.8057 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.229e-05/0.5749, allocations: 17.83 kB / 0.8058 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.5753, allocations: 261.6 kB / 0.806 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.5753, allocations: 23.95 kB / 0.806 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.5753, allocations: 6.047 kB / 0.806 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/0.5753, allocations: 0 / 0.806 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.5754, allocations: 31.78 kB / 0.8061 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5754, allocations: 0 / 0.8061 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001248/0.5755, allocations: 37.22 kB / 0.8061 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5755, allocations: 53.22 kB / 0.8061 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.604e-05/0.5756, allocations: 117.9 kB / 0.8063 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.5757, allocations: 26.64 kB / 0.8063 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.5757, allocations: 99.48 kB / 0.8064 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.5757, allocations: 1.312 kB / 0.8064 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.5758, allocations: 13.88 kB / 0.8064 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.5759, allocations: 316.1 kB / 0.8067 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5759, allocations: 4.125 kB / 0.8067 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.5759, allocations: 32.95 kB / 0.8067 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.576, allocations: 31.72 kB / 0.8068 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.576, allocations: 1.375 kB / 0.8068 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.601e-05/0.5761, allocations: 54.25 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5761, allocations: 6.688 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5761, allocations: 11.38 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.5761, allocations: 1.625 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.5762, allocations: 5.875 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5762, allocations: 3.391 kB / 0.8068 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.5762, allocations: 5.219 kB / 0.8068 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.5762, allocations: 1.281 kB / 0.8068 GB, free: 10.19 MB / 0.5919 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 6.55e-05/0.5763, allocations: 114.7 kB / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.5763, allocations: 1.438 kB / 0.807 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.5764, allocations: 12.33 kB / 0.807 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5764, allocations: 1.344 kB / 0.807 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5764, allocations: 0 / 0.807 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.5764, allocations: 84.95 kB / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.5764, allocations: 0 / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5766, allocations: 4.719 kB / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.5766, allocations: 1.312 kB / 0.8071 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.156e-05/0.5766, allocations: 111.7 kB / 0.8072 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001096/0.5768, allocations: 215.5 kB / 0.8074 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.214e-05/0.5768, allocations: 5.156 kB / 0.8074 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.5768, allocations: 84.12 kB / 0.8075 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of Backend: time 4.01e-07/0.5768, allocations: 0 / 0.8075 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.5772, allocations: 109 kB / 0.8076 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004355/0.5776, allocations: 0.5635 MB / 0.8081 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of Templates: time 0.002614/0.5803, allocations: 0.7253 MB / 0.8088 GB, free: 8.867 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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)