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.001324/0.001325, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001334/0.001334, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.783/0.783, allocations: 132.2 MB / 423.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4683, allocations: 80.18 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1631/0.6314, allocations: 147.8 MB / 0.7259 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001599/0.6316, allocations: 55.84 kB / 0.7259 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.6316, allocations: 4 kB / 0.7259 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.6318, allocations: 3.938 kB / 0.7259 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.968e-05/0.6318, allocations: 11.92 kB / 0.7259 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.6324, allocations: 107.6 kB / 0.726 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.285e-05/0.6325, allocations: 35.84 kB / 0.7261 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.6325, allocations: 0 / 0.7261 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.6326, allocations: 15.94 kB / 0.7261 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.6327, allocations: 15.97 kB / 0.7261 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.6327, allocations: 4 kB / 0.7261 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.6329, allocations: 83.72 kB / 0.7262 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.633, allocations: 7.984 kB / 0.7262 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.633, allocations: 7.938 kB / 0.7262 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.6332, allocations: 83.77 kB / 0.7263 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6332, allocations: 0 / 0.7263 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6332, allocations: 0 / 0.7263 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.6332, allocations: 0 / 0.7263 GB, free: 9.398 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.0004152/0.6336, allocations: 341.1 kB / 0.7266 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6337, allocations: 12.03 kB / 0.7266 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.6339, allocations: 20.91 kB / 0.7266 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6341, allocations: 160.4 kB / 0.7268 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.6341, allocations: 33.64 kB / 0.7268 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.6342, allocations: 0 / 0.7268 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.6343, allocations: 49.67 kB / 0.7269 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6343, allocations: 0 / 0.7269 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6343, allocations: 4 kB / 0.7269 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.6344, allocations: 0 / 0.7269 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.6344, allocations: 23.92 kB / 0.7269 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.6348, allocations: 260.8 kB / 0.7271 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.6349, allocations: 18.58 kB / 0.7272 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.6349, allocations: 8.844 kB / 0.7272 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.6349, allocations: 4 kB / 0.7272 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.6349, allocations: 34.56 kB / 0.7272 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.6349, allocations: 0 / 0.7272 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.6351, allocations: 41.69 kB / 0.7272 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.6351, allocations: 55.34 kB / 0.7273 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.6352, allocations: 102 kB / 0.7274 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.6352, allocations: 25.7 kB / 0.7274 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.6353, allocations: 104 kB / 0.7275 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.075e-06/0.6353, allocations: 11.84 kB / 0.7275 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.6354, allocations: 13.72 kB / 0.7275 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6355, allocations: 314.8 kB / 0.7278 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.6355, allocations: 7.984 kB / 0.7279 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.6355, allocations: 22.64 kB / 0.7279 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.6356, allocations: 34.52 kB / 0.7279 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6356, allocations: 0 / 0.7279 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.009e-05/0.6357, allocations: 53.62 kB / 0.728 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6357, allocations: 5.875 kB / 0.728 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6357, allocations: 4 kB / 0.728 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6357, allocations: 0 / 0.728 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.6358, allocations: 7.984 kB / 0.728 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6358, allocations: 12.03 kB / 0.728 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.6359, allocations: 4 kB / 0.728 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.6359, allocations: 3.984 kB / 0.728 GB, free: 7.402 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.42e-05/0.636, allocations: 113.8 kB / 0.7281 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.636, allocations: 3.906 kB / 0.7281 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.636, allocations: 7.125 kB / 0.7281 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.636, allocations: 0 / 0.7281 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.636, allocations: 3.938 kB / 0.7281 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.636, allocations: 0 / 0.7281 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.6363, allocations: 350.8 kB / 0.7285 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6363, allocations: 0 / 0.7285 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.6363, allocations: 0 / 0.7285 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6363, allocations: 7.938 kB / 0.7285 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6363, allocations: 0 / 0.7285 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6364, allocations: 0 / 0.7285 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.6364, allocations: 3.938 kB / 0.7285 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.64e-05/0.6364, allocations: 61.16 kB / 0.7285 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.6365, allocations: 81.05 kB / 0.7286 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.6365, allocations: 4 kB / 0.7286 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.6366, allocations: 4 kB / 0.7286 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.6366, allocations: 3.984 kB / 0.7286 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.6366, allocations: 0 / 0.7286 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.6367, allocations: 83.28 kB / 0.7287 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.523e-06/0.6367, allocations: 0 / 0.7287 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001927/0.6369, allocations: 15.97 kB / 0.7287 GB, free: 6.566 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.0001028/0.637, allocations: 99.25 kB / 0.7288 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.6371, allocations: 15.92 kB / 0.7288 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6371, allocations: 0 / 0.7288 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.6371, allocations: 4 kB / 0.7288 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6374, allocations: 11.94 kB / 0.7288 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.6376, allocations: 122.6 kB / 0.7289 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.6379, allocations: 0.6768 MB / 0.7296 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.638, allocations: 4 kB / 0.7296 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.638, allocations: 7.438 kB / 0.7296 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.638, allocations: 0 / 0.7296 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.002591/0.6406, allocations: 0.5017 MB / 0.7301 GB, free: 5.102 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)