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.001172/0.001172, allocations: 112.6 kB / 16.37 MB, free: 6 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.001064/0.001064, allocations: 196 kB / 17.31 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1474/0.5148, allocations: 148.3 MB / 0.7263 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000136/0.515, allocations: 51.86 kB / 0.7263 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.515, allocations: 0 / 0.7263 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.932e-05/0.5151, allocations: 3.938 kB / 0.7263 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-05/0.5152, allocations: 19.91 kB / 0.7264 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006442/0.5158, allocations: 214.2 kB / 0.7266 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.499e-05/0.5159, allocations: 35.84 kB / 0.7266 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.516, allocations: 11.92 kB / 0.7266 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.516, allocations: 8 kB / 0.7266 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.5161, allocations: 19.91 kB / 0.7266 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.5161, allocations: 0 / 0.7266 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003835/0.5165, allocations: 199.4 kB / 0.7268 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.5165, allocations: 3.984 kB / 0.7268 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.5166, allocations: 15.94 kB / 0.7268 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.5168, allocations: 109.7 kB / 0.7269 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5168, allocations: 0 / 0.7269 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5168, allocations: 3.938 kB / 0.7269 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.5169, allocations: 0 / 0.7269 GB, free: 8.766 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.0003466/0.5172, allocations: 347.3 kB / 0.7273 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.5172, allocations: 12.03 kB / 0.7273 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002867/0.5175, allocations: 24.91 kB / 0.7273 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5177, allocations: 172.3 kB / 0.7275 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5177, allocations: 29.64 kB / 0.7275 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-06/0.5177, allocations: 0 / 0.7275 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5179, allocations: 49.67 kB / 0.7276 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.5179, allocations: 4 kB / 0.7276 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.5179, allocations: 0 / 0.7276 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.5179, allocations: 0 / 0.7276 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.518, allocations: 19.98 kB / 0.7276 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.5183, allocations: 264.8 kB / 0.7278 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.5183, allocations: 26.52 kB / 0.7279 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.5183, allocations: 8.859 kB / 0.7279 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.5185, allocations: 97.14 kB / 0.728 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5185, allocations: 34.56 kB / 0.728 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5185, allocations: 0 / 0.728 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000213/0.5187, allocations: 53.62 kB / 0.728 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.5188, allocations: 51.41 kB / 0.7281 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.679e-05/0.5188, allocations: 105.8 kB / 0.7282 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.5189, allocations: 25.7 kB / 0.7282 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.5189, allocations: 91.98 kB / 0.7283 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-06/0.5189, allocations: 12.03 kB / 0.7283 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.519, allocations: 17.7 kB / 0.7283 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.5191, allocations: 314.8 kB / 0.7286 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.5191, allocations: 4 kB / 0.7286 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/0.5191, allocations: 22.56 kB / 0.7287 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.5192, allocations: 34.52 kB / 0.7287 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5192, allocations: 0 / 0.7287 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.713e-05/0.5193, allocations: 61.56 kB / 0.7287 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5193, allocations: 4 kB / 0.7288 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.5193, allocations: 3.938 kB / 0.7288 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5193, allocations: 0 / 0.7288 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.5194, allocations: 8 kB / 0.7288 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.5194, allocations: 3.938 kB / 0.7288 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.5194, allocations: 8.094 kB / 0.7288 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.5194, allocations: 4 kB / 0.7288 GB, free: 6.629 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 8.119e-05/0.5195, allocations: 109.8 kB / 0.7289 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5195, allocations: 4 kB / 0.7289 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.5196, allocations: 11.41 kB / 0.7289 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.5196, allocations: 0 / 0.7289 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5196, allocations: 7.922 kB / 0.7289 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.5196, allocations: 0 / 0.7289 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.5199, allocations: 367.5 kB / 0.7293 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5199, allocations: 0 / 0.7293 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.5199, allocations: 4 kB / 0.7293 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5199, allocations: 7.875 kB / 0.7293 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.5199, allocations: 0 / 0.7293 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5199, allocations: 0 / 0.7293 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.52, allocations: 4 kB / 0.7293 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.867e-05/0.52, allocations: 78.05 kB / 0.7293 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.5201, allocations: 81.05 kB / 0.7294 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5201, allocations: 4 kB / 0.7294 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.031e-05/0.5202, allocations: 3.984 kB / 0.7294 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.5202, allocations: 4 kB / 0.7294 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5202, allocations: 0 / 0.7294 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.5203, allocations: 83.31 kB / 0.7295 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5203, allocations: 4 kB / 0.7295 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002196/0.5205, allocations: 8 kB / 0.7295 GB, free: 5.75 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.0001227/0.5206, allocations: 103.2 kB / 0.7296 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.5207, allocations: 12 kB / 0.7296 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5207, allocations: 0 / 0.7296 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.5207, allocations: 12.19 kB / 0.7296 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.521, allocations: 7.938 kB / 0.7297 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.5212, allocations: 123.3 kB / 0.7298 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.5214, allocations: 0.6806 MB / 0.7304 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.48e-05/0.5215, allocations: 12.05 kB / 0.7304 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.5215, allocations: 11.44 kB / 0.7305 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5215, allocations: 0 / 0.7305 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of Templates: time 0.00243/0.5239, allocations: 0.5712 MB / 0.731 GB, free: 4.164 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)