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.0008509/0.0008513, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009442/0.0009442, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.148/1.148, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6518/0.6518, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 11.98 kB / 0.5034 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3205, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1303/0.4508, allocations: 134 MB / 0.714 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000124/0.4509, allocations: 63.89 kB / 0.714 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.451, allocations: 0 / 0.714 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.4511, allocations: 0 / 0.714 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.4511, allocations: 19.91 kB / 0.7141 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.4515, allocations: 78.5 kB / 0.7141 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.283e-05/0.4515, allocations: 43.83 kB / 0.7142 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.4516, allocations: 3.984 kB / 0.7142 GB, free: 10 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/0.4516, allocations: 23.94 kB / 0.7142 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.4517, allocations: 11.92 kB / 0.7142 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4517, allocations: 4 kB / 0.7142 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.4519, allocations: 51.83 kB / 0.7143 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.4519, allocations: 7.984 kB / 0.7143 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.196e-05/0.452, allocations: 29.64 kB / 0.7143 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.262e-05/0.452, allocations: 33.92 kB / 0.7143 GB, free: 9.836 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4521, allocations: 4 kB / 0.7143 GB, free: 9.832 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4521, allocations: 0 / 0.7143 GB, free: 9.832 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4521, allocations: 0 / 0.7143 GB, free: 9.832 MB / 0.545 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.0003427/0.4524, allocations: 335.3 kB / 0.7147 GB, free: 9.457 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.4525, allocations: 8.031 kB / 0.7147 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.4527, allocations: 19.94 kB / 0.7147 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/0.4528, allocations: 159.1 kB / 0.7148 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.4528, allocations: 29.7 kB / 0.7149 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.4528, allocations: 3.938 kB / 0.7149 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.453, allocations: 53.67 kB / 0.7149 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.453, allocations: 0 / 0.7149 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.453, allocations: 0 / 0.7149 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.453, allocations: 7.953 kB / 0.7149 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.4531, allocations: 19.92 kB / 0.7149 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.4534, allocations: 253 kB / 0.7152 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.989e-05/0.4534, allocations: 26.58 kB / 0.7152 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.4535, allocations: 4.859 kB / 0.7152 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.4535, allocations: 3.953 kB / 0.7152 GB, free: 8.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.4535, allocations: 30.56 kB / 0.7152 GB, free: 8.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4535, allocations: 0 / 0.7152 GB, free: 8.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.4536, allocations: 45.59 kB / 0.7153 GB, free: 8.676 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.4537, allocations: 51.53 kB / 0.7153 GB, free: 8.613 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.4537, allocations: 109.8 kB / 0.7154 GB, free: 8.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4538, allocations: 25.7 kB / 0.7155 GB, free: 8.465 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.4538, allocations: 95.92 kB / 0.7156 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.4538, allocations: 7.906 kB / 0.7156 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.4538, allocations: 0 / 0.7156 GB, free: 8.359 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.4539, allocations: 310.8 kB / 0.7159 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.4539, allocations: 11.98 kB / 0.7159 GB, free: 8.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.454, allocations: 22.58 kB / 0.7159 GB, free: 8.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.454, allocations: 11.94 kB / 0.7159 GB, free: 7.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.454, allocations: 0 / 0.7159 GB, free: 7.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.178e-05/0.4541, allocations: 53.62 kB / 0.716 GB, free: 7.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4541, allocations: 11.95 kB / 0.716 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4541, allocations: 256 / 0.716 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.4541, allocations: 0 / 0.716 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.272e-05/0.4542, allocations: 20.08 kB / 0.716 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.4542, allocations: 0 / 0.716 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.4542, allocations: 0 / 0.716 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.4542, allocations: 4 kB / 0.716 GB, free: 7.898 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.4543, allocations: 107.4 kB / 0.7161 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.4543, allocations: 4 kB / 0.7161 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.4543, allocations: 11.17 kB / 0.7161 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4543, allocations: 3.984 kB / 0.7161 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4544, allocations: 0 / 0.7161 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.4544, allocations: 4 kB / 0.7161 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.4546, allocations: 346.7 kB / 0.7165 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4546, allocations: 3.953 kB / 0.7165 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.4546, allocations: 4 kB / 0.7165 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4546, allocations: 0 / 0.7165 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.4546, allocations: 3.938 kB / 0.7165 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4546, allocations: 0 / 0.7165 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4546, allocations: 0 / 0.7165 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.393e-05/0.4547, allocations: 69.06 kB / 0.7165 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.4547, allocations: 81.06 kB / 0.7166 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.4548, allocations: 3.938 kB / 0.7166 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.4548, allocations: 4 kB / 0.7166 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.4548, allocations: 0 / 0.7166 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4549, allocations: 7.984 kB / 0.7166 GB, free: 7.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.4549, allocations: 83.28 kB / 0.7167 GB, free: 7.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4549, allocations: 7.969 kB / 0.7167 GB, free: 7.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000174/0.4551, allocations: 4 kB / 0.7167 GB, free: 7.059 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.979e-05/0.4552, allocations: 95.25 kB / 0.7168 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.886e-05/0.4552, allocations: 15.98 kB / 0.7168 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4553, allocations: 0 / 0.7168 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.4553, allocations: 3.938 kB / 0.7168 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.4555, allocations: 8.25 kB / 0.7168 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002167/0.4557, allocations: 116.6 kB / 0.7169 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.4559, allocations: 0.677 MB / 0.7176 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.954e-05/0.456, allocations: 4 kB / 0.7176 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.456, allocations: 11.44 kB / 0.7176 GB, free: 6.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.456, allocations: 0 / 0.7176 GB, free: 6.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002188/0.4582, allocations: 471.2 kB / 0.7181 GB, free: 5.645 MB / 0.545 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)