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.001404/0.00141, allocations: 106.3 kB / 15.99 MB, free: 6.355 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.001678/0.001678, allocations: 196.7 kB / 16.91 MB, free: 6.191 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.303/1.303, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 422.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.5019 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.362, allocations: 80.18 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1492/0.5112, allocations: 146.2 MB / 0.723 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.5114, allocations: 55.8 kB / 0.723 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.5114, allocations: 4 kB / 0.723 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.5115, allocations: 0 / 0.723 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.5116, allocations: 11.92 kB / 0.723 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000663/0.5123, allocations: 199.4 kB / 0.7232 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.5124, allocations: 31.86 kB / 0.7232 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.5124, allocations: 4 kB / 0.7232 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.5125, allocations: 23.97 kB / 0.7233 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.5125, allocations: 11.94 kB / 0.7233 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.5125, allocations: 0 / 0.7233 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.5129, allocations: 203.4 kB / 0.7235 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.513, allocations: 15.97 kB / 0.7235 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.513, allocations: 7.938 kB / 0.7235 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.5132, allocations: 73.88 kB / 0.7236 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5132, allocations: 0 / 0.7236 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5132, allocations: 0 / 0.7236 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.5132, allocations: 4 kB / 0.7236 GB, free: 11.18 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.0003838/0.5136, allocations: 347.4 kB / 0.7239 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5136, allocations: 12.03 kB / 0.7239 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.5139, allocations: 16.92 kB / 0.7239 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.514, allocations: 176.3 kB / 0.7241 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.5141, allocations: 33.62 kB / 0.7241 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.5141, allocations: 0 / 0.7241 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5142, allocations: 57.67 kB / 0.7242 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5143, allocations: 0 / 0.7242 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.5143, allocations: 0 / 0.7242 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.5143, allocations: 0 / 0.7242 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.5144, allocations: 23.98 kB / 0.7242 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.5147, allocations: 260.8 kB / 0.7245 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.039e-05/0.5147, allocations: 30.52 kB / 0.7245 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.5148, allocations: 12.86 kB / 0.7245 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/0.5149, allocations: 93.16 kB / 0.7246 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.5149, allocations: 30.56 kB / 0.7246 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.515, allocations: 0 / 0.7246 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.5152, allocations: 53.78 kB / 0.7247 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5152, allocations: 55.34 kB / 0.7247 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.5153, allocations: 105.8 kB / 0.7248 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5153, allocations: 25.7 kB / 0.7248 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.5154, allocations: 91.98 kB / 0.7249 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.5154, allocations: 7.844 kB / 0.7249 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.5154, allocations: 17.72 kB / 0.725 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.5155, allocations: 314.8 kB / 0.7253 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.5155, allocations: 12.03 kB / 0.7253 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.5155, allocations: 18.77 kB / 0.7253 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.5156, allocations: 34.5 kB / 0.7253 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5156, allocations: 4 kB / 0.7253 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.603e-05/0.5157, allocations: 53.64 kB / 0.7254 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5157, allocations: 7.984 kB / 0.7254 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5157, allocations: 96 / 0.7254 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5157, allocations: 3.984 kB / 0.7254 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.219e-05/0.5158, allocations: 8 kB / 0.7254 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5158, allocations: 3.938 kB / 0.7254 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.5158, allocations: 0 / 0.7254 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.5158, allocations: 4 kB / 0.7254 GB, free: 9.039 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.79e-05/0.5159, allocations: 109.8 kB / 0.7255 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.5159, allocations: 8.094 kB / 0.7255 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.516, allocations: 7.109 kB / 0.7255 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.516, allocations: 0 / 0.7255 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.516, allocations: 3.938 kB / 0.7255 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.516, allocations: 0 / 0.7255 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.5162, allocations: 367.5 kB / 0.7259 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5163, allocations: 3.984 kB / 0.7259 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.5163, allocations: 8.062 kB / 0.7259 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5163, allocations: 3.938 kB / 0.7259 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5163, allocations: 0 / 0.7259 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5163, allocations: 3.938 kB / 0.7259 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5163, allocations: 4 kB / 0.7259 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.235e-05/0.5164, allocations: 66 kB / 0.726 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.5164, allocations: 85.03 kB / 0.726 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.5165, allocations: 8.031 kB / 0.7261 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.5165, allocations: 3.938 kB / 0.7261 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.5166, allocations: 4 kB / 0.7261 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.5166, allocations: 0 / 0.7261 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.5166, allocations: 83.27 kB / 0.7261 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.253e-06/0.5166, allocations: 0 / 0.7261 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001945/0.5168, allocations: 15.94 kB / 0.7262 GB, free: 8.156 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.0001104/0.5169, allocations: 103.2 kB / 0.7263 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.426e-05/0.517, allocations: 15.98 kB / 0.7263 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.517, allocations: 0 / 0.7263 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.517, allocations: 11.94 kB / 0.7263 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.5173, allocations: 7.938 kB / 0.7263 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.5175, allocations: 157.3 kB / 0.7264 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.5177, allocations: 0.6768 MB / 0.7271 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.5178, allocations: 7.438 kB / 0.7271 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.5178, allocations: 4 kB / 0.7271 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of Templates: time 0.001883/0.5197, allocations: 0.6173 MB / 0.7277 GB, free: 6.492 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)