Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001402/0.001402, allocations: 112.6 kB / 16.42 MB, free: 6.492 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.001587/0.001588, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7703/0.7703, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 62.8 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4346/0.5661, allocations: 148.3 MB / 0.8051 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001238/0.5663, allocations: 56.62 kB / 0.8052 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.5663, allocations: 0 / 0.8052 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.5664, allocations: 5 kB / 0.8052 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.5666, allocations: 13.64 kB / 0.8052 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.5673, allocations: 221 kB / 0.8054 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.5674, allocations: 40.28 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.5674, allocations: 1.344 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.5674, allocations: 12.28 kB / 0.8054 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.5675, allocations: 13.41 kB / 0.8055 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.5675, allocations: 1 kB / 0.8055 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.5679, allocations: 207.9 kB / 0.8057 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.422e-05/0.568, allocations: 12.55 kB / 0.8057 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.568, allocations: 7.094 kB / 0.8057 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.5683, allocations: 113.2 kB / 0.8058 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.5683, allocations: 0 / 0.8058 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5683, allocations: 1.281 kB / 0.8058 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5683, allocations: 0 / 0.8058 GB, free: 11.9 MB / 0.5919 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.0004359/0.5688, allocations: 344.3 kB / 0.8061 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.5688, allocations: 8.688 kB / 0.8061 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.5691, allocations: 31.81 kB / 0.8061 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5692, allocations: 169.9 kB / 0.8063 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.5693, allocations: 31.17 kB / 0.8063 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.5693, allocations: 3.656 kB / 0.8063 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5695, allocations: 46.83 kB / 0.8064 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5695, allocations: 0 / 0.8064 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5695, allocations: 1.125 kB / 0.8064 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.5695, allocations: 4.016 kB / 0.8064 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.104e-05/0.5696, allocations: 28.78 kB / 0.8064 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.5699, allocations: 259.2 kB / 0.8067 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.57, allocations: 25.67 kB / 0.8067 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.88e-05/0.57, allocations: 7.641 kB / 0.8067 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.5702, allocations: 96.86 kB / 0.8068 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.5702, allocations: 32.19 kB / 0.8068 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.5702, allocations: 0 / 0.8068 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.5705, allocations: 55.81 kB / 0.8069 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.5706, allocations: 51.41 kB / 0.8069 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.5706, allocations: 102.8 kB / 0.807 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5707, allocations: 29.14 kB / 0.8071 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.5707, allocations: 93.39 kB / 0.8071 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.235e-06/0.5707, allocations: 7.672 kB / 0.8071 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.5708, allocations: 17.41 kB / 0.8072 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5709, allocations: 316.1 kB / 0.8075 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.5709, allocations: 11.91 kB / 0.8075 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.5709, allocations: 21.39 kB / 0.8075 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.571, allocations: 35.48 kB / 0.8075 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.571, allocations: 0 / 0.8075 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.488e-05/0.5711, allocations: 56.75 kB / 0.8076 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5711, allocations: 5.625 kB / 0.8076 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5711, allocations: 0 / 0.8076 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.5711, allocations: 1.188 kB / 0.8076 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.5712, allocations: 12.53 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5712, allocations: 1.281 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.5712, allocations: 12.94 kB / 0.8076 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.5712, allocations: 2.375 kB / 0.8076 GB, free: 10.07 MB / 0.5919 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.68e-05/0.5713, allocations: 108.3 kB / 0.8077 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.5714, allocations: 1.188 kB / 0.8077 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.5714, allocations: 9.828 kB / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5714, allocations: 0 / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5714, allocations: 1.188 kB / 0.8077 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.5714, allocations: 90.14 kB / 0.8078 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5715, allocations: 0 / 0.8078 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5716, allocations: 4.625 kB / 0.8078 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.5716, allocations: 1.188 kB / 0.8078 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001108/0.5717, allocations: 113.6 kB / 0.8079 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001237/0.5719, allocations: 218.9 kB / 0.8081 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.489e-05/0.5719, allocations: 10.81 kB / 0.8082 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.5719, allocations: 82.58 kB / 0.8082 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of Backend: time 2.11e-07/0.5719, allocations: 0 / 0.8082 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004464/0.5724, allocations: 125.5 kB / 0.8084 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004429/0.5728, allocations: 0.5584 MB / 0.8089 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of Templates: time 0.003156/0.576, allocations: 1.027 MB / 0.8099 GB, free: 8.676 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)