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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001523/0.001523, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001523/0.001523, allocations: 188.7 kB / 17.19 MB, free: 5.508 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8205/0.8205, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 67.91 kB / 0.5061 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3899, allocations: 80.91 MB / 0.5851 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.181/0.571, allocations: 147.8 MB / 0.7294 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.5712, allocations: 59.8 kB / 0.7295 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.5712, allocations: 0 / 0.7295 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.5714, allocations: 7.984 kB / 0.7295 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.5715, allocations: 7.938 kB / 0.7295 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.572, allocations: 110.6 kB / 0.7296 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.5721, allocations: 31.91 kB / 0.7296 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.5722, allocations: 0 / 0.7296 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.239e-05/0.5722, allocations: 27.86 kB / 0.7297 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.244e-05/0.5723, allocations: 15.97 kB / 0.7297 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.5723, allocations: 0 / 0.7297 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.5726, allocations: 87.72 kB / 0.7298 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.085e-05/0.5727, allocations: 0 / 0.7298 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.407e-05/0.5727, allocations: 15.92 kB / 0.7298 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.5729, allocations: 73.81 kB / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5729, allocations: 0 / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.573, allocations: 0 / 0.7298 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.573, allocations: 4 kB / 0.7298 GB, free: 5.77 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.0005084/0.5735, allocations: 343.4 kB / 0.7302 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5735, allocations: 9.109 kB / 0.7302 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.5738, allocations: 16.92 kB / 0.7302 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.574, allocations: 164.4 kB / 0.7304 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.574, allocations: 33.62 kB / 0.7304 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5741, allocations: 0 / 0.7304 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.5742, allocations: 49.62 kB / 0.7304 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5742, allocations: 4 kB / 0.7304 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5743, allocations: 3.984 kB / 0.7304 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.5743, allocations: 4 kB / 0.7304 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.5744, allocations: 19.92 kB / 0.7305 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.5748, allocations: 256.8 kB / 0.7307 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.5749, allocations: 22.61 kB / 0.7307 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.5749, allocations: 16.8 kB / 0.7307 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.5749, allocations: 0 / 0.7307 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.575, allocations: 34.62 kB / 0.7308 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.575, allocations: 0 / 0.7308 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.5751, allocations: 29.7 kB / 0.7308 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.5752, allocations: 55.34 kB / 0.7309 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5753, allocations: 105.8 kB / 0.731 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.5753, allocations: 29.83 kB / 0.731 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.5754, allocations: 95.98 kB / 0.7311 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.5754, allocations: 3.906 kB / 0.7311 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.5755, allocations: 17.7 kB / 0.7311 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5756, allocations: 318.8 kB / 0.7314 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.5756, allocations: 7.938 kB / 0.7314 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.5757, allocations: 26.55 kB / 0.7314 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.798e-05/0.5757, allocations: 30.58 kB / 0.7315 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.5757, allocations: 0 / 0.7315 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.337e-05/0.5758, allocations: 53.62 kB / 0.7315 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.5759, allocations: 8 kB / 0.7315 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5759, allocations: 0 / 0.7315 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5759, allocations: 4.031 kB / 0.7315 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.576, allocations: 12 kB / 0.7315 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.576, allocations: 7.938 kB / 0.7316 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.5761, allocations: 0 / 0.7316 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.5761, allocations: 4 kB / 0.7316 GB, free: 3.773 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 9.968e-05/0.5762, allocations: 109.8 kB / 0.7317 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.5762, allocations: 7.906 kB / 0.7317 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.5762, allocations: 3.375 kB / 0.7317 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5762, allocations: 0 / 0.7317 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5762, allocations: 7.938 kB / 0.7317 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5763, allocations: 4 kB / 0.7317 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.5766, allocations: 346.7 kB / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5766, allocations: 0 / 0.732 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.5766, allocations: 7.984 kB / 0.732 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5766, allocations: 3.938 kB / 0.732 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5766, allocations: 0 / 0.732 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5766, allocations: 0 / 0.732 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5766, allocations: 0 / 0.732 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.5767, allocations: 57.17 kB / 0.7321 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.5768, allocations: 85.05 kB / 0.7322 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5768, allocations: 7.922 kB / 0.7322 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.5769, allocations: 4 kB / 0.7322 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.5769, allocations: 0 / 0.7322 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5769, allocations: 0 / 0.7322 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6e-05/0.577, allocations: 87.2 kB / 0.7323 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.577, allocations: 8.031 kB / 0.7323 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001865/0.5772, allocations: 4 kB / 0.7323 GB, free: 2.941 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 0.0001258/0.5773, allocations: 99.25 kB / 0.7324 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.415e-05/0.5774, allocations: 15.94 kB / 0.7324 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5775, allocations: 0 / 0.7324 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.523e-06/0.5775, allocations: 3.938 kB / 0.7324 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5778, allocations: 17.7 kB / 0.7324 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.5781, allocations: 144.1 kB / 0.7325 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.5784, allocations: 0.6729 MB / 0.7332 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.5784, allocations: 11.44 kB / 0.7332 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5784, allocations: 0 / 0.7332 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of Templates: time 0.002176/0.5806, allocations: 0.5665 MB / 0.7338 GB, free: 1.355 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (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)