Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 97.69 kB / 16.27 MB, free: 5.973 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.001029/0.001029, allocations: 188.6 kB / 17.19 MB, free: 5.602 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.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7748/0.7748, allocations: 126.1 MB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.89 kB / 0.495 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4085, allocations: 78.69 MB / 0.5718 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1657/0.5743, allocations: 147.8 MB / 0.7162 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002084/0.5745, allocations: 51.86 kB / 0.7162 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.5746, allocations: 0 / 0.7162 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.5748, allocations: 11.92 kB / 0.7162 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.321e-05/0.575, allocations: 7.922 kB / 0.7162 GB, free: 2.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.5755, allocations: 114.6 kB / 0.7164 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.5756, allocations: 31.86 kB / 0.7164 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.5757, allocations: 4 kB / 0.7164 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.5757, allocations: 19.91 kB / 0.7164 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.5758, allocations: 11.98 kB / 0.7164 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.5758, allocations: 0 / 0.7164 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/0.5762, allocations: 83.72 kB / 0.7165 GB, free: 2.023 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.5763, allocations: 4 kB / 0.7165 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.5763, allocations: 23.91 kB / 0.7165 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.5765, allocations: 73.77 kB / 0.7166 GB, free: 1.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5765, allocations: 0 / 0.7166 GB, free: 1.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.562e-06/0.5765, allocations: 0 / 0.7166 GB, free: 1.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.5765, allocations: 0 / 0.7166 GB, free: 1.926 MB / 0.545 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.0005531/0.5771, allocations: 339.4 kB / 0.7169 GB, free: 1.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5772, allocations: 12.03 kB / 0.7169 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.5774, allocations: 16.92 kB / 0.7169 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.5777, allocations: 160.4 kB / 0.7171 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.5778, allocations: 33.64 kB / 0.7171 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.5778, allocations: 8 kB / 0.7171 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.578, allocations: 41.67 kB / 0.7172 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.578, allocations: 3.938 kB / 0.7172 GB, free: 1.227 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.578, allocations: 4 kB / 0.7172 GB, free: 1.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.5781, allocations: 4 kB / 0.7172 GB, free: 1.219 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.5781, allocations: 23.92 kB / 0.7172 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.5786, allocations: 260.9 kB / 0.7175 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.5786, allocations: 18.58 kB / 0.7175 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.5786, allocations: 4.859 kB / 0.7175 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.5787, allocations: 4.062 kB / 0.7175 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.5787, allocations: 30.56 kB / 0.7175 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5787, allocations: 0 / 0.7175 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.5788, allocations: 45.53 kB / 0.7176 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.5789, allocations: 55.34 kB / 0.7176 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.984e-05/0.579, allocations: 101.9 kB / 0.7177 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.579, allocations: 29.7 kB / 0.7177 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.5791, allocations: 95.97 kB / 0.7178 GB, free: 464 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.5791, allocations: 3.906 kB / 0.7178 GB, free: 460 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.5791, allocations: 21.66 kB / 0.7179 GB, free: 432 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5793, allocations: 315 kB / 0.7182 GB, free: 108 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.5793, allocations: 7.984 kB / 0.7182 GB, free: 100 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.5793, allocations: 22.58 kB / 0.7182 GB, free: 68 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.5794, allocations: 30.52 kB / 0.7182 GB, free: 28 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5794, allocations: 0 / 0.7182 GB, free: 28 kB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001029/0.5795, allocations: 57.88 kB / 0.7183 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5795, allocations: 8 kB / 0.7183 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5795, allocations: 0 / 0.7183 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5796, allocations: 4 kB / 0.7183 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.5796, allocations: 11.98 kB / 0.7183 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5797, allocations: 3.938 kB / 0.7183 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.5797, allocations: 0 / 0.7183 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.5797, allocations: 4 kB / 0.7183 GB, free: 15.93 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.839e-05/0.5798, allocations: 113.9 kB / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.5798, allocations: 4 kB / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.5799, allocations: 8.203 kB / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5799, allocations: 0 / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5799, allocations: 3.938 kB / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5799, allocations: 0 / 0.7184 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.5803, allocations: 346.7 kB / 0.7188 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5803, allocations: 4 kB / 0.7188 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.5803, allocations: 4.031 kB / 0.7188 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5803, allocations: 3.938 kB / 0.7188 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.5803, allocations: 0 / 0.7188 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.5803, allocations: 0 / 0.7188 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.5803, allocations: 4.031 kB / 0.7188 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.261e-05/0.5804, allocations: 69.05 kB / 0.7188 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.5805, allocations: 81.05 kB / 0.7189 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5806, allocations: 4 kB / 0.7189 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.5806, allocations: 4.031 kB / 0.7189 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.5807, allocations: 0 / 0.7189 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-06/0.5807, allocations: 0 / 0.7189 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.5807, allocations: 91.27 kB / 0.719 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5807, allocations: 0 / 0.719 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001993/0.5809, allocations: 4 kB / 0.719 GB, free: 15.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001032/0.581, allocations: 103.2 kB / 0.7191 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.5811, allocations: 23.92 kB / 0.7191 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5811, allocations: 0 / 0.7191 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-06/0.5812, allocations: 0 / 0.7191 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.5814, allocations: 8.75 kB / 0.7191 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.5817, allocations: 110.5 kB / 0.7192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005405/0.5822, allocations: 0.6806 MB / 0.7199 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.5823, allocations: 8.25 kB / 0.7199 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.5823, allocations: 11.44 kB / 0.7199 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5823, allocations: 0 / 0.7199 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.002548/0.5849, allocations: 0.5007 MB / 0.7204 GB, free: 13.63 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)