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.001717/0.001717, allocations: 100.8 kB / 16.35 MB, free: 5.875 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.001928/0.001929, allocations: 195.3 kB / 17.3 MB, free: 5.516 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7874/0.7874, allocations: 132.2 MB / 423.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 80.17 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1508/0.4986, allocations: 148.3 MB / 0.7263 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.4987, allocations: 55.84 kB / 0.7263 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.4988, allocations: 0 / 0.7263 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.4989, allocations: 7.875 kB / 0.7263 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.499, allocations: 15.98 kB / 0.7263 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.4998, allocations: 218.3 kB / 0.7266 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.4999, allocations: 31.92 kB / 0.7266 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.199e-05/0.4999, allocations: 0 / 0.7266 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.4999, allocations: 15.97 kB / 0.7266 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.5, allocations: 19.88 kB / 0.7266 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5, allocations: 0 / 0.7266 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.5004, allocations: 199.4 kB / 0.7268 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.5005, allocations: 0 / 0.7268 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.5005, allocations: 19.97 kB / 0.7268 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.5008, allocations: 109.6 kB / 0.7269 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5008, allocations: 0 / 0.7269 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5008, allocations: 0 / 0.7269 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.5008, allocations: 0 / 0.7269 GB, free: 8.684 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.0004361/0.5013, allocations: 351.3 kB / 0.7273 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5013, allocations: 12.03 kB / 0.7273 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/0.5017, allocations: 20.92 kB / 0.7273 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5018, allocations: 164.4 kB / 0.7275 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.5019, allocations: 33.64 kB / 0.7275 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.5019, allocations: 0 / 0.7275 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.502, allocations: 57.59 kB / 0.7275 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5021, allocations: 7.938 kB / 0.7276 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.5021, allocations: 7.938 kB / 0.7276 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.5021, allocations: 0 / 0.7276 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.5022, allocations: 19.98 kB / 0.7276 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.5025, allocations: 260.8 kB / 0.7278 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.717e-05/0.5026, allocations: 22.58 kB / 0.7279 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.5026, allocations: 12.92 kB / 0.7279 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.5028, allocations: 93.09 kB / 0.728 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.5028, allocations: 34.5 kB / 0.728 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5028, allocations: 0 / 0.728 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.5031, allocations: 49.69 kB / 0.728 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5031, allocations: 55.53 kB / 0.7281 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.5032, allocations: 105.8 kB / 0.7282 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5032, allocations: 25.7 kB / 0.7282 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.5033, allocations: 91.98 kB / 0.7283 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-06/0.5033, allocations: 7.906 kB / 0.7283 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.5033, allocations: 13.72 kB / 0.7283 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5035, allocations: 318.8 kB / 0.7286 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.5035, allocations: 4 kB / 0.7286 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.5035, allocations: 26.52 kB / 0.7287 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.5036, allocations: 30.56 kB / 0.7287 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5036, allocations: 0 / 0.7287 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.057e-05/0.5037, allocations: 53.62 kB / 0.7287 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5037, allocations: 12.09 kB / 0.7287 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5037, allocations: 0 / 0.7287 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5037, allocations: 0 / 0.7287 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.5038, allocations: 15.94 kB / 0.7288 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.5038, allocations: 3.938 kB / 0.7288 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.5039, allocations: 4 kB / 0.7288 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.5039, allocations: 4 kB / 0.7288 GB, free: 6.543 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 7.178e-05/0.5039, allocations: 105.8 kB / 0.7289 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.504, allocations: 4.281 kB / 0.7289 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.504, allocations: 15.11 kB / 0.7289 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.504, allocations: 3.984 kB / 0.7289 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.504, allocations: 3.938 kB / 0.7289 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.504, allocations: 3.938 kB / 0.7289 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.5043, allocations: 363.5 kB / 0.7292 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5044, allocations: 0 / 0.7292 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.5044, allocations: 4 kB / 0.7293 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5044, allocations: 3.938 kB / 0.7293 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5044, allocations: 8.062 kB / 0.7293 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5044, allocations: 0 / 0.7293 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5044, allocations: 0 / 0.7293 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.022e-05/0.5045, allocations: 81.86 kB / 0.7293 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.5046, allocations: 81.05 kB / 0.7294 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.5046, allocations: 4 kB / 0.7294 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.292e-05/0.5047, allocations: 4.031 kB / 0.7294 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.53e-05/0.5047, allocations: 4 kB / 0.7294 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.5047, allocations: 0 / 0.7294 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.813e-05/0.5048, allocations: 87.27 kB / 0.7295 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5048, allocations: 0 / 0.7295 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002018/0.505, allocations: 4 kB / 0.7295 GB, free: 5.664 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.0001233/0.5051, allocations: 103.2 kB / 0.7296 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/0.5052, allocations: 19.92 kB / 0.7296 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5052, allocations: 0 / 0.7296 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.5052, allocations: 4 kB / 0.7296 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.5055, allocations: 7.938 kB / 0.7296 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.5058, allocations: 131.5 kB / 0.7298 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5061, allocations: 0.6768 MB / 0.7304 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.5062, allocations: 4 kB / 0.7304 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.5062, allocations: 11.44 kB / 0.7304 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5062, allocations: 0 / 0.7304 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of Templates: time 0.002811/0.509, allocations: 0.5698 MB / 0.731 GB, free: 4.086 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)