Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007424/0.007424, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.0015/0.0015, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.404/0.404, allocations: 54.94 MB / 324.8 MB, free: 108 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 68.67 kB / 456.3 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 59.59 MB / 0.5038 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6263/0.7604, allocations: 147.8 MB / 0.6482 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001456/0.7606, allocations: 44.47 kB / 0.6482 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.7607, allocations: 0 / 0.6482 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.7608, allocations: 5.844 kB / 0.6482 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.7609, allocations: 10.8 kB / 0.6482 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.7614, allocations: 102.3 kB / 0.6483 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.7615, allocations: 31.16 kB / 0.6483 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.7616, allocations: 1.156 kB / 0.6483 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.7616, allocations: 14.03 kB / 0.6484 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.7617, allocations: 12.17 kB / 0.6484 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.7617, allocations: 0.875 kB / 0.6484 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.762, allocations: 82.09 kB / 0.6484 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.804e-05/0.7621, allocations: 10.19 kB / 0.6485 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.7621, allocations: 11.47 kB / 0.6485 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.7623, allocations: 67.64 kB / 0.6485 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7623, allocations: 4 kB / 0.6485 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7624, allocations: 0.875 kB / 0.6485 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7624, allocations: 0 / 0.6485 GB, free: 0.5312 MB / 0.4981 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.0005547/0.7629, allocations: 333.9 kB / 0.6489 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.763, allocations: 9.812 kB / 0.6489 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.7632, allocations: 19.67 kB / 0.6489 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.7634, allocations: 174.2 kB / 0.649 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-05/0.7635, allocations: 37.92 kB / 0.6491 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.7635, allocations: 1.562 kB / 0.6491 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.7637, allocations: 54.27 kB / 0.6491 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7637, allocations: 0 / 0.6491 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.7637, allocations: 0.75 kB / 0.6491 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.7637, allocations: 1.75 kB / 0.6491 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.7638, allocations: 18.66 kB / 0.6492 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.7642, allocations: 258.4 kB / 0.6494 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.7643, allocations: 19.42 kB / 0.6494 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.7643, allocations: 8.906 kB / 0.6494 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.7643, allocations: 0 / 0.6494 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.7643, allocations: 31.31 kB / 0.6495 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7643, allocations: 0.5938 kB / 0.6495 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001621/0.7645, allocations: 42.14 kB / 0.6495 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.7645, allocations: 54.16 kB / 0.6496 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.7647, allocations: 107.6 kB / 0.6497 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.7647, allocations: 26.42 kB / 0.6497 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.7647, allocations: 93.64 kB / 0.6498 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.195e-06/0.7648, allocations: 3.328 kB / 0.6498 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.7648, allocations: 17.28 kB / 0.6498 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7649, allocations: 315.7 kB / 0.6501 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.7649, allocations: 6.891 kB / 0.6501 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.765, allocations: 22.98 kB / 0.6501 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.765, allocations: 38.12 kB / 0.6502 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.765, allocations: 0 / 0.6502 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.463e-05/0.7651, allocations: 56.59 kB / 0.6502 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7651, allocations: 6.531 kB / 0.6502 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7652, allocations: 0.9375 kB / 0.6502 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.7652, allocations: 4.531 kB / 0.6502 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.7652, allocations: 8.203 kB / 0.6502 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7653, allocations: 6.969 kB / 0.6502 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.001e-05/0.7653, allocations: 6.188 kB / 0.6502 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.7653, allocations: 1.469 kB / 0.6502 GB, free: 14.82 MB / 0.5137 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 8.493e-05/0.7654, allocations: 116.5 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.7654, allocations: 1.5 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.7655, allocations: 4.062 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7655, allocations: 3.438 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.7655, allocations: 4.656 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7655, allocations: 0.8438 kB / 0.6504 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.7657, allocations: 341.2 kB / 0.6507 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7658, allocations: 3.562 kB / 0.6507 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.7658, allocations: 5.469 kB / 0.6507 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7658, allocations: 3.938 kB / 0.6507 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.7658, allocations: 2.922 kB / 0.6507 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7658, allocations: 0 / 0.6507 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7658, allocations: 0.8125 kB / 0.6507 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.139e-05/0.7659, allocations: 62.06 kB / 0.6508 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.7659, allocations: 82.31 kB / 0.6508 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.766, allocations: 8.969 kB / 0.6509 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.766, allocations: 4.219 kB / 0.6509 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.766, allocations: 0.6875 kB / 0.6509 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.766, allocations: 0 / 0.6509 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.7661, allocations: 85.73 kB / 0.6509 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7661, allocations: 0 / 0.6509 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000191/0.7663, allocations: 6.5 kB / 0.6509 GB, free: 14.07 MB / 0.5137 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.155e-05/0.7664, allocations: 95.12 kB / 0.651 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.7665, allocations: 23.52 kB / 0.6511 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7665, allocations: 0 / 0.6511 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.7665, allocations: 2.062 kB / 0.6511 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.7668, allocations: 8.188 kB / 0.6511 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.7671, allocations: 120.2 kB / 0.6512 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.7673, allocations: 0.6755 MB / 0.6518 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.17e-05/0.7674, allocations: 10.3 kB / 0.6519 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.7674, allocations: 8.25 kB / 0.6519 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.7674, allocations: 4.719 kB / 0.6519 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002482/0.7699, allocations: 469.1 kB / 0.6523 GB, free: 13.11 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)