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.001347/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001558/0.001558, allocations: 192.3 kB / 16.14 MB, free: 6.688 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.375/1.375, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7804/0.7804, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.78 kB / 0.5011 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.47, allocations: 80.2 MB / 0.5794 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1747/0.6447, allocations: 146 MB / 0.722 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001374/0.6449, allocations: 51.73 kB / 0.7221 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.6449, allocations: 0 / 0.7221 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.6451, allocations: 3.938 kB / 0.7221 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.778e-05/0.6452, allocations: 15.97 kB / 0.7221 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.646, allocations: 203.3 kB / 0.7223 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.6461, allocations: 59.88 kB / 0.7223 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.6461, allocations: 0 / 0.7223 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.6462, allocations: 19.86 kB / 0.7223 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.512e-05/0.6462, allocations: 15.98 kB / 0.7224 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.6462, allocations: 0 / 0.7224 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.6467, allocations: 231.3 kB / 0.7226 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.6468, allocations: 7.984 kB / 0.7226 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.6468, allocations: 15.94 kB / 0.7226 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.6471, allocations: 121.7 kB / 0.7227 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6471, allocations: 0 / 0.7227 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6471, allocations: 0 / 0.7227 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6471, allocations: 0 / 0.7227 GB, free: 14.49 MB / 0.5606 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.0004065/0.6475, allocations: 352.6 kB / 0.7231 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6476, allocations: 8.031 kB / 0.7231 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.6479, allocations: 32.89 kB / 0.7231 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.6481, allocations: 160.4 kB / 0.7233 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/0.6481, allocations: 33.64 kB / 0.7233 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.6481, allocations: 0 / 0.7233 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.6483, allocations: 53.61 kB / 0.7233 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6483, allocations: 4 kB / 0.7233 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6483, allocations: 4 kB / 0.7233 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6484, allocations: 0 / 0.7233 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.6484, allocations: 23.97 kB / 0.7234 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.6488, allocations: 256.9 kB / 0.7236 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.6489, allocations: 18.58 kB / 0.7236 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.6489, allocations: 24.8 kB / 0.7237 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.6491, allocations: 93.09 kB / 0.7237 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.6491, allocations: 30.56 kB / 0.7238 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6492, allocations: 0 / 0.7238 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.6494, allocations: 49.59 kB / 0.7238 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.6495, allocations: 59.53 kB / 0.7239 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.6496, allocations: 105.8 kB / 0.724 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6496, allocations: 29.64 kB / 0.724 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.6497, allocations: 91.98 kB / 0.7241 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.6497, allocations: 7.906 kB / 0.7241 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.6497, allocations: 17.7 kB / 0.7241 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6499, allocations: 318.8 kB / 0.7244 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.6499, allocations: 4 kB / 0.7244 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.6499, allocations: 26.56 kB / 0.7244 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.65, allocations: 26.58 kB / 0.7245 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.65, allocations: 0 / 0.7245 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.6501, allocations: 53.62 kB / 0.7245 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6501, allocations: 12.09 kB / 0.7245 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6502, allocations: 3.938 kB / 0.7245 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6502, allocations: 0 / 0.7245 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.6502, allocations: 8 kB / 0.7245 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6502, allocations: 3.938 kB / 0.7246 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.034e-05/0.6503, allocations: 4 kB / 0.7246 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.6503, allocations: 4 kB / 0.7246 GB, free: 12.35 MB / 0.5606 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 6.5e-05/0.6504, allocations: 109.8 kB / 0.7247 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.6504, allocations: 4 kB / 0.7247 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.6504, allocations: 15.06 kB / 0.7247 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6504, allocations: 0 / 0.7247 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6504, allocations: 3.938 kB / 0.7247 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6504, allocations: 0 / 0.7247 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.6508, allocations: 363.5 kB / 0.725 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6508, allocations: 0 / 0.725 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.6508, allocations: 4 kB / 0.725 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6508, allocations: 4 kB / 0.725 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.6508, allocations: 8 kB / 0.725 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6508, allocations: 0 / 0.725 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6508, allocations: 0 / 0.725 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.414e-05/0.6509, allocations: 73.92 kB / 0.7251 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.651, allocations: 81.05 kB / 0.7252 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.651, allocations: 4 kB / 0.7252 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.804e-05/0.6511, allocations: 8.016 kB / 0.7252 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.6511, allocations: 4 kB / 0.7252 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.6511, allocations: 3.938 kB / 0.7252 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.6512, allocations: 87.22 kB / 0.7253 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6512, allocations: 0 / 0.7253 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002018/0.6514, allocations: 4 kB / 0.7253 GB, free: 11.48 MB / 0.5606 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.0001217/0.6515, allocations: 103.7 kB / 0.7254 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.295e-05/0.6516, allocations: 19.92 kB / 0.7254 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6516, allocations: 0 / 0.7254 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.6516, allocations: 4 kB / 0.7254 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.6519, allocations: 14.53 kB / 0.7254 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.6522, allocations: 133.4 kB / 0.7256 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.6526, allocations: 0.677 MB / 0.7262 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.205e-05/0.6527, allocations: 11.97 kB / 0.7262 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.6527, allocations: 7.438 kB / 0.7262 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.6527, allocations: 0 / 0.7262 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.002767/0.6555, allocations: 0.5504 MB / 0.7268 GB, free: 9.902 MB / 0.5606 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)