Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009409, allocations: 95.72 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 176.3 kB / 16.57 MB, free: 6.391 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.33/1.33, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6517/0.6517, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 12.91 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4057/0.5497, allocations: 125.2 MB / 0.6791 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000214/0.5499, allocations: 135.7 kB / 0.6793 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.5499, allocations: 0 / 0.6793 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.96e-05/0.55, allocations: 8 kB / 0.6793 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.5501, allocations: 7.922 kB / 0.6793 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.5506, allocations: 156.6 kB / 0.6794 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.5507, allocations: 15.97 kB / 0.6794 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.5508, allocations: 3.984 kB / 0.6794 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.5508, allocations: 12 kB / 0.6794 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.5508, allocations: 11.92 kB / 0.6795 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.5509, allocations: 0 / 0.6795 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.5512, allocations: 103.8 kB / 0.6796 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.5512, allocations: 19.92 kB / 0.6796 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.5513, allocations: 29.7 kB / 0.6796 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.5514, allocations: 53.66 kB / 0.6797 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.5514, allocations: 0 / 0.6797 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5514, allocations: 0 / 0.6797 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.5514, allocations: 0 / 0.6797 GB, free: 12.25 MB / 0.4981 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.0003207/0.5518, allocations: 331.7 kB / 0.68 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.5518, allocations: 12.02 kB / 0.68 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/0.5521, allocations: 32.59 kB / 0.68 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5522, allocations: 163.1 kB / 0.6802 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.5523, allocations: 33.66 kB / 0.6802 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.5523, allocations: 0 / 0.6802 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.5524, allocations: 49.62 kB / 0.6803 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5524, allocations: 0 / 0.6803 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.5525, allocations: 0.8438 kB / 0.6803 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.5525, allocations: 4 kB / 0.6803 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.5525, allocations: 19.98 kB / 0.6803 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.5529, allocations: 264.8 kB / 0.6805 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.5529, allocations: 18.58 kB / 0.6805 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.553, allocations: 8.047 kB / 0.6806 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.553, allocations: 38.5 kB / 0.6806 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.553, allocations: 0 / 0.6806 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.5532, allocations: 57.69 kB / 0.6806 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.5533, allocations: 59.28 kB / 0.6807 GB, free: 11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.5533, allocations: 101.8 kB / 0.6808 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.5534, allocations: 25.7 kB / 0.6808 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.5534, allocations: 95.98 kB / 0.6809 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-06/0.5534, allocations: 3.906 kB / 0.6809 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.5534, allocations: 0 / 0.6809 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.5535, allocations: 322.9 kB / 0.6812 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.5536, allocations: 7.984 kB / 0.6812 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.5536, allocations: 21.66 kB / 0.6813 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.5536, allocations: 11.98 kB / 0.6813 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5536, allocations: 0 / 0.6813 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.829e-05/0.5537, allocations: 49.69 kB / 0.6813 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5537, allocations: 8 kB / 0.6813 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5537, allocations: 0 / 0.6813 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5538, allocations: 4.031 kB / 0.6813 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.5538, allocations: 7.938 kB / 0.6813 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5538, allocations: 4 kB / 0.6813 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.5539, allocations: 4 kB / 0.6813 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5539, allocations: 0 / 0.6813 GB, free: 10.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.5539, allocations: 117.8 kB / 0.6815 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.554, allocations: 3.906 kB / 0.6815 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.554, allocations: 7.125 kB / 0.6815 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.554, allocations: 4 kB / 0.6815 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.554, allocations: 4 kB / 0.6815 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.554, allocations: 0 / 0.6815 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.5543, allocations: 363.5 kB / 0.6818 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5543, allocations: 0 / 0.6818 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.5544, allocations: 4 kB / 0.6818 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5544, allocations: 0 / 0.6818 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.5544, allocations: 4 kB / 0.6818 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5544, allocations: 7.984 kB / 0.6818 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5544, allocations: 4.062 kB / 0.6818 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.143e-05/0.5545, allocations: 83.61 kB / 0.6819 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.5545, allocations: 81.09 kB / 0.682 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5545, allocations: 3.312 kB / 0.682 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.5546, allocations: 4.031 kB / 0.682 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.5547, allocations: 11.94 kB / 0.682 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5547, allocations: 0 / 0.682 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.5547, allocations: 91.22 kB / 0.6821 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5547, allocations: 0 / 0.6821 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001956/0.5549, allocations: 8 kB / 0.6821 GB, free: 9.402 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.555, allocations: 105.6 kB / 0.6822 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.5551, allocations: 28.39 kB / 0.6822 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5551, allocations: 0 / 0.6822 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.5551, allocations: 4 kB / 0.6822 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.5553, allocations: 4 kB / 0.6822 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002331/0.5555, allocations: 138 kB / 0.6824 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.5558, allocations: 0.6809 MB / 0.683 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.944e-05/0.5558, allocations: 8.078 kB / 0.683 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.5559, allocations: 7.438 kB / 0.6831 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5559, allocations: 0 / 0.6831 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of Templates: time 0.00254/0.5584, allocations: 0.5415 MB / 0.6836 GB, free: 7.832 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)