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.007515/0.007515, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00147/0.00147, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4944, allocations: 80.92 MB / 0.6646 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1792/0.6736, allocations: 148.3 MB / 0.8094 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.000139/0.6738, allocations: 43.86 kB / 0.8095 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.6738, allocations: 0 / 0.8095 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.674, allocations: 11.94 kB / 0.8095 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.6741, allocations: 15.91 kB / 0.8095 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.6749, allocations: 211.2 kB / 0.8097 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.598e-05/0.675, allocations: 35.84 kB / 0.8097 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.6751, allocations: 0 / 0.8097 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.066e-05/0.6751, allocations: 27.91 kB / 0.8098 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.6752, allocations: 4 kB / 0.8098 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.6752, allocations: 4 kB / 0.8098 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/0.6757, allocations: 199.4 kB / 0.81 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/0.6757, allocations: 7.984 kB / 0.81 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.6758, allocations: 11.94 kB / 0.81 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.6761, allocations: 113.5 kB / 0.8101 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6761, allocations: 0 / 0.8101 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6761, allocations: 0 / 0.8101 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6761, allocations: 0 / 0.8101 GB, free: 12.29 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.0004692/0.6766, allocations: 351.3 kB / 0.8104 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6766, allocations: 8.031 kB / 0.8104 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.677, allocations: 32.84 kB / 0.8105 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.6771, allocations: 168.3 kB / 0.8106 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.6772, allocations: 29.64 kB / 0.8106 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.6772, allocations: 4 kB / 0.8107 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.6773, allocations: 53.67 kB / 0.8107 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6773, allocations: 0 / 0.8107 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6774, allocations: 0 / 0.8107 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.6774, allocations: 0 / 0.8107 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.6774, allocations: 23.98 kB / 0.8107 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.6778, allocations: 264.8 kB / 0.811 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.6779, allocations: 22.52 kB / 0.811 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.6779, allocations: 16.92 kB / 0.811 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.6781, allocations: 89.09 kB / 0.8111 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6781, allocations: 30.56 kB / 0.8111 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6781, allocations: 0 / 0.8111 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.6783, allocations: 53.64 kB / 0.8112 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6784, allocations: 59.47 kB / 0.8112 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.6785, allocations: 109.8 kB / 0.8113 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.6785, allocations: 25.7 kB / 0.8114 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.6786, allocations: 88.03 kB / 0.8115 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.6786, allocations: 11.89 kB / 0.8115 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.6786, allocations: 17.7 kB / 0.8115 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6787, allocations: 322.8 kB / 0.8118 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.6787, allocations: 0 / 0.8118 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.6788, allocations: 22.58 kB / 0.8118 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.653e-05/0.6788, allocations: 38.5 kB / 0.8118 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6788, allocations: 0 / 0.8118 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.873e-05/0.6789, allocations: 53.72 kB / 0.8119 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6789, allocations: 8 kB / 0.8119 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.679, allocations: 0 / 0.8119 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.679, allocations: 4 kB / 0.8119 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.679, allocations: 4 kB / 0.8119 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.679, allocations: 3.938 kB / 0.8119 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.6791, allocations: 8 kB / 0.8119 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.6791, allocations: 0 / 0.8119 GB, free: 10.15 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 7.217e-05/0.6792, allocations: 109.8 kB / 0.812 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.6792, allocations: 7.938 kB / 0.812 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.6792, allocations: 11.12 kB / 0.812 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.6792, allocations: 4 kB / 0.812 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6793, allocations: 3.938 kB / 0.8121 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6793, allocations: 0 / 0.8121 GB, free: 10 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.6795, allocations: 355.6 kB / 0.8124 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6795, allocations: 3.938 kB / 0.8124 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.6796, allocations: 4 kB / 0.8124 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.6796, allocations: 8.281 kB / 0.8124 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.6796, allocations: 4 kB / 0.8124 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6796, allocations: 7.938 kB / 0.8124 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6796, allocations: 0 / 0.8124 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.6797, allocations: 65.98 kB / 0.8125 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.6798, allocations: 89.03 kB / 0.8126 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.6798, allocations: 4.031 kB / 0.8126 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.6799, allocations: 4 kB / 0.8126 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.6799, allocations: 7.984 kB / 0.8126 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.6799, allocations: 0 / 0.8126 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.937e-05/0.68, allocations: 83.28 kB / 0.8127 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.443e-06/0.68, allocations: 0 / 0.8127 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002224/0.6802, allocations: 11.94 kB / 0.8127 GB, free: 9.262 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.0001271/0.6803, allocations: 104.5 kB / 0.8128 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.871e-05/0.6804, allocations: 23.98 kB / 0.8128 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6805, allocations: 0 / 0.8128 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.497e-05/0.6805, allocations: 7.938 kB / 0.8128 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.6807, allocations: 4 kB / 0.8128 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.681, allocations: 123.8 kB / 0.8129 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.6813, allocations: 0.6768 MB / 0.8136 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.6814, allocations: 7.984 kB / 0.8136 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.6814, allocations: 11.44 kB / 0.8136 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.6814, allocations: 0 / 0.8136 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of Templates: time 0.002719/0.6841, allocations: 0.5725 MB / 0.8142 GB, free: 7.68 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)