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.0009656/0.0009657, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006798/0.006798, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8838/0.8838, allocations: 132.3 MB / 423.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 8.906 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5417, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.189/0.7307, allocations: 143.7 MB / 0.724 GB, free: 208 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001514/0.7309, allocations: 55.72 kB / 0.7241 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.731, allocations: 0 / 0.7241 GB, free: 156 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.7311, allocations: 3.938 kB / 0.7241 GB, free: 152 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.7312, allocations: 11.97 kB / 0.7241 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.732, allocations: 107.4 kB / 0.7242 GB, free: 36 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.7321, allocations: 55.88 kB / 0.7242 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.194e-05/0.7322, allocations: 4 kB / 0.7242 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.7323, allocations: 15.92 kB / 0.7243 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.7324, allocations: 15.92 kB / 0.7243 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.7325, allocations: 0 / 0.7243 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.7329, allocations: 79.78 kB / 0.7243 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.733, allocations: 15.98 kB / 0.7244 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.7331, allocations: 37.62 kB / 0.7244 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.7334, allocations: 81.75 kB / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.7334, allocations: 0 / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.459e-06/0.7334, allocations: 0 / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.7334, allocations: 0 / 0.7245 GB, free: 15.73 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.0006149/0.7341, allocations: 327.5 kB / 0.7248 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.7341, allocations: 12.03 kB / 0.7248 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003611/0.7345, allocations: 32.91 kB / 0.7248 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.7347, allocations: 160.4 kB / 0.725 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.7348, allocations: 33.64 kB / 0.725 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.7348, allocations: 0 / 0.725 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.735, allocations: 49.67 kB / 0.7251 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.735, allocations: 0 / 0.7251 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.7351, allocations: 0 / 0.7251 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.7351, allocations: 0 / 0.7251 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.7352, allocations: 27.92 kB / 0.7251 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.7358, allocations: 256.9 kB / 0.7253 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.7358, allocations: 18.58 kB / 0.7254 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.7359, allocations: 12.91 kB / 0.7254 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.7359, allocations: 0 / 0.7254 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7359, allocations: 34.56 kB / 0.7254 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.736, allocations: 3.938 kB / 0.7254 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002061/0.7362, allocations: 45.55 kB / 0.7254 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7362, allocations: 55.34 kB / 0.7255 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.7364, allocations: 105.8 kB / 0.7256 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.7364, allocations: 25.7 kB / 0.7256 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/0.7365, allocations: 91.97 kB / 0.7257 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.7365, allocations: 3.906 kB / 0.7257 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.7366, allocations: 21.84 kB / 0.7257 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7367, allocations: 310.8 kB / 0.726 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.7367, allocations: 4 kB / 0.726 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.7368, allocations: 30.5 kB / 0.7261 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.304e-05/0.7368, allocations: 34.52 kB / 0.7261 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7368, allocations: 0 / 0.7261 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001005/0.7369, allocations: 53.62 kB / 0.7261 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.737, allocations: 4 kB / 0.7262 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.737, allocations: 4 kB / 0.7262 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.737, allocations: 0 / 0.7262 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.7371, allocations: 4 kB / 0.7262 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.7371, allocations: 11.88 kB / 0.7262 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.7372, allocations: 0 / 0.7262 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7372, allocations: 12.08 kB / 0.7262 GB, free: 13.73 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 0.0001009/0.7373, allocations: 107.4 kB / 0.7263 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.7373, allocations: 4 kB / 0.7263 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.7374, allocations: 7.125 kB / 0.7263 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7374, allocations: 0 / 0.7263 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7374, allocations: 3.938 kB / 0.7263 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7374, allocations: 0 / 0.7263 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.7377, allocations: 350.7 kB / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7377, allocations: 0 / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.7377, allocations: 4 kB / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.7378, allocations: 3.938 kB / 0.7266 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.7378, allocations: 3.938 kB / 0.7266 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7378, allocations: 0 / 0.7266 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7378, allocations: 4.234 kB / 0.7266 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.411e-05/0.7379, allocations: 57.14 kB / 0.7267 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.7379, allocations: 89.09 kB / 0.7268 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.7379, allocations: 4 kB / 0.7268 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.183e-05/0.738, allocations: 4 kB / 0.7268 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.7381, allocations: 0 / 0.7268 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.7381, allocations: 0 / 0.7268 GB, free: 13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.7381, allocations: 91.27 kB / 0.7269 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7381, allocations: 0 / 0.7269 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002024/0.7383, allocations: 7.938 kB / 0.7269 GB, free: 12.9 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.0001085/0.7384, allocations: 99.25 kB / 0.727 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.7385, allocations: 11.94 kB / 0.727 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.7385, allocations: 4 kB / 0.727 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-06/0.7386, allocations: 7.922 kB / 0.727 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.7388, allocations: 9.375 kB / 0.727 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.7391, allocations: 128 kB / 0.7271 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.7394, allocations: 0.677 MB / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.035e-05/0.7394, allocations: 4 kB / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.7395, allocations: 7.438 kB / 0.7278 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.7395, allocations: 0 / 0.7278 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.003049/0.7425, allocations: 480.2 kB / 0.7283 GB, free: 11.46 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)