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.001172/0.001172, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001172/0.001173, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8243/0.8243, allocations: 132.2 MB / 423.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.89 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.424, allocations: 80.19 MB / 0.5807 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1524/0.5764, allocations: 147.8 MB / 0.7251 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001903/0.5766, allocations: 59.84 kB / 0.7252 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.5767, allocations: 0 / 0.7252 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.5769, allocations: 3.984 kB / 0.7252 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.577, allocations: 15.92 kB / 0.7252 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.5777, allocations: 110.8 kB / 0.7253 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.5778, allocations: 27.91 kB / 0.7253 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.5778, allocations: 4 kB / 0.7253 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.5779, allocations: 27.84 kB / 0.7253 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.578, allocations: 8 kB / 0.7253 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.578, allocations: 4 kB / 0.7254 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.5784, allocations: 87.7 kB / 0.7254 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.5785, allocations: 4 kB / 0.7254 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.5785, allocations: 11.92 kB / 0.7255 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.5787, allocations: 77.81 kB / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5787, allocations: 0 / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5788, allocations: 0 / 0.7255 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.5788, allocations: 0 / 0.7255 GB, free: 9.473 MB / 0.5606 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.0005057/0.5793, allocations: 339.4 kB / 0.7259 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5793, allocations: 16.03 kB / 0.7259 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/0.5796, allocations: 16.92 kB / 0.7259 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5798, allocations: 160.4 kB / 0.726 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.5799, allocations: 33.62 kB / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.5799, allocations: 4 kB / 0.7261 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.5801, allocations: 49.62 kB / 0.7261 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.5801, allocations: 0 / 0.7261 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.5801, allocations: 4 kB / 0.7261 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.5801, allocations: 3.984 kB / 0.7261 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.28e-05/0.5802, allocations: 19.98 kB / 0.7261 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.5806, allocations: 256.8 kB / 0.7264 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.289e-05/0.5807, allocations: 18.52 kB / 0.7264 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.5807, allocations: 16.95 kB / 0.7264 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.5807, allocations: 0 / 0.7264 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.5807, allocations: 34.56 kB / 0.7265 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5807, allocations: 0 / 0.7265 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.5809, allocations: 29.7 kB / 0.7265 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5809, allocations: 59.34 kB / 0.7265 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.581, allocations: 105.8 kB / 0.7266 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.581, allocations: 25.7 kB / 0.7267 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.5811, allocations: 108 kB / 0.7268 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.818e-06/0.5811, allocations: 3.906 kB / 0.7268 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.5812, allocations: 17.66 kB / 0.7268 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5813, allocations: 322.8 kB / 0.7271 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.5813, allocations: 0 / 0.7271 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.5813, allocations: 22.58 kB / 0.7271 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.5814, allocations: 34.56 kB / 0.7272 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5814, allocations: 3.938 kB / 0.7272 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.614e-05/0.5815, allocations: 53.62 kB / 0.7272 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5815, allocations: 5.719 kB / 0.7272 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5815, allocations: 0 / 0.7272 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.5815, allocations: 4 kB / 0.7272 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.5816, allocations: 8.094 kB / 0.7272 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.5816, allocations: 3.938 kB / 0.7272 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.5817, allocations: 8.25 kB / 0.7272 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.5817, allocations: 0 / 0.7272 GB, free: 7.477 MB / 0.5606 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.152e-05/0.5818, allocations: 109.8 kB / 0.7273 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.5818, allocations: 7.891 kB / 0.7273 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.003e-05/0.5818, allocations: 7.125 kB / 0.7274 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5818, allocations: 0 / 0.7274 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5818, allocations: 7.938 kB / 0.7274 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5818, allocations: 4 kB / 0.7274 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.5821, allocations: 346.7 kB / 0.7277 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5821, allocations: 0 / 0.7277 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.5821, allocations: 0 / 0.7277 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.5821, allocations: 3.938 kB / 0.7277 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.5822, allocations: 3.984 kB / 0.7277 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.5822, allocations: 4 kB / 0.7277 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5822, allocations: 0 / 0.7277 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.371e-05/0.5822, allocations: 53.27 kB / 0.7278 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.5823, allocations: 89.03 kB / 0.7278 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.5823, allocations: 0 / 0.7278 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.5824, allocations: 7.984 kB / 0.7279 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5824, allocations: 7.938 kB / 0.7279 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.5824, allocations: 0 / 0.7279 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.5825, allocations: 83.27 kB / 0.7279 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5825, allocations: 4.031 kB / 0.7279 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001969/0.5827, allocations: 8 kB / 0.728 GB, free: 6.637 MB / 0.5606 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.796e-05/0.5828, allocations: 103.2 kB / 0.728 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.5829, allocations: 8 kB / 0.7281 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5829, allocations: 0 / 0.7281 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.887e-06/0.5829, allocations: 3.938 kB / 0.7281 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.5832, allocations: 7.938 kB / 0.7281 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.5835, allocations: 152.4 kB / 0.7282 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.5837, allocations: 0.6729 MB / 0.7289 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.5837, allocations: 7.438 kB / 0.7289 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5838, allocations: 0 / 0.7289 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of Templates: time 0.002107/0.5859, allocations: 0.5657 MB / 0.7294 GB, free: 5.055 MB / 0.5606 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)