Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008647/0.008647, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001475/0.001475, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.042/1.042, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 0.5856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4887, allocations: 80.91 MB / 0.6646 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1799/0.6686, allocations: 148.3 MB / 0.8094 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.6689, allocations: 55.66 kB / 0.8095 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.669, allocations: 4 kB / 0.8095 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.6692, allocations: 4 kB / 0.8095 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.6693, allocations: 15.91 kB / 0.8095 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009652/0.6702, allocations: 218.7 kB / 0.8097 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.6704, allocations: 31.84 kB / 0.8097 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.6704, allocations: 4 kB / 0.8097 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.441e-05/0.6705, allocations: 23.92 kB / 0.8098 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.6706, allocations: 11.97 kB / 0.8098 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.6706, allocations: 0 / 0.8098 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.6711, allocations: 195.4 kB / 0.81 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.6712, allocations: 11.97 kB / 0.81 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.6712, allocations: 11.94 kB / 0.81 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.6716, allocations: 119.5 kB / 0.8101 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6716, allocations: 0 / 0.8101 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6716, allocations: 0 / 0.8101 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6716, allocations: 4 kB / 0.8101 GB, free: 12.16 MB / 0.6387 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.0005133/0.6721, allocations: 345.4 kB / 0.8104 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.6722, allocations: 8.031 kB / 0.8104 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.6726, allocations: 24.91 kB / 0.8105 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.6727, allocations: 160.4 kB / 0.8106 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.6728, allocations: 29.64 kB / 0.8106 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.6728, allocations: 4 kB / 0.8107 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.673, allocations: 53.67 kB / 0.8107 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.673, allocations: 0 / 0.8107 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.673, allocations: 0 / 0.8107 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.673, allocations: 0 / 0.8107 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.17e-05/0.6731, allocations: 27.92 kB / 0.8107 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.6735, allocations: 260.8 kB / 0.811 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.6736, allocations: 26.58 kB / 0.811 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.6736, allocations: 8.922 kB / 0.811 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.6738, allocations: 89.09 kB / 0.8111 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6739, allocations: 34.56 kB / 0.8111 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6739, allocations: 0 / 0.8111 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002978/0.6742, allocations: 57.72 kB / 0.8112 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.6742, allocations: 51.41 kB / 0.8112 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6743, allocations: 105.8 kB / 0.8113 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.6743, allocations: 25.7 kB / 0.8114 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.6744, allocations: 95.92 kB / 0.8115 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.659e-06/0.6744, allocations: 3.906 kB / 0.8115 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.6745, allocations: 21.7 kB / 0.8115 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6746, allocations: 322.8 kB / 0.8118 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.6746, allocations: 8.031 kB / 0.8118 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.6747, allocations: 30.56 kB / 0.8118 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.6747, allocations: 30.52 kB / 0.8118 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6747, allocations: 0 / 0.8118 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.173e-05/0.6748, allocations: 57.62 kB / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6749, allocations: 4 kB / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6749, allocations: 0 / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6749, allocations: 4 kB / 0.8119 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.115e-05/0.675, allocations: 4 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.675, allocations: 3.938 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.675, allocations: 4 kB / 0.8119 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.675, allocations: 0 / 0.8119 GB, free: 10.04 MB / 0.6387 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.317e-05/0.6751, allocations: 123.4 kB / 0.812 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.6752, allocations: 3.906 kB / 0.812 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.6752, allocations: 7.406 kB / 0.8121 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6752, allocations: 4 kB / 0.8121 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6752, allocations: 3.938 kB / 0.8121 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.6752, allocations: 3.984 kB / 0.8121 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.6755, allocations: 359.6 kB / 0.8124 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6756, allocations: 0 / 0.8124 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.6756, allocations: 8.062 kB / 0.8124 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6756, allocations: 3.938 kB / 0.8124 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.6756, allocations: 0 / 0.8124 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6756, allocations: 4 kB / 0.8124 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6756, allocations: 0 / 0.8124 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.01e-05/0.6757, allocations: 65.98 kB / 0.8125 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.6758, allocations: 89.08 kB / 0.8126 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.6758, allocations: 0 / 0.8126 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.6759, allocations: 11.92 kB / 0.8126 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.6759, allocations: 0 / 0.8126 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6759, allocations: 0 / 0.8126 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.676, allocations: 83.28 kB / 0.8127 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.676, allocations: 3.938 kB / 0.8127 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002047/0.6762, allocations: 8 kB / 0.8127 GB, free: 9.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001369/0.6763, allocations: 104.6 kB / 0.8128 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.6764, allocations: 23.92 kB / 0.8128 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6765, allocations: 0 / 0.8128 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.6765, allocations: 4 kB / 0.8128 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.6767, allocations: 11.94 kB / 0.8128 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.6771, allocations: 131.7 kB / 0.8129 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.6773, allocations: 0.6806 MB / 0.8136 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.626e-05/0.6774, allocations: 7.984 kB / 0.8136 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.6774, allocations: 7.438 kB / 0.8136 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.6774, allocations: 0 / 0.8136 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of Templates: time 0.003005/0.6804, allocations: 0.5715 MB / 0.8142 GB, free: 7.555 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)