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.000876/0.0008763, allocations: 85.56 kB / 16.66 MB, free: 6.113 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.0008546/0.0008546, allocations: 179 kB / 17.57 MB, free: 5.816 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.405/1.405, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.156/0.5573, allocations: 143.7 MB / 0.7009 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001645/0.5575, allocations: 51.8 kB / 0.701 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.5576, allocations: 0 / 0.701 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.5577, allocations: 3.938 kB / 0.701 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.5579, allocations: 19.91 kB / 0.701 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.5585, allocations: 99.72 kB / 0.7011 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.5587, allocations: 59.81 kB / 0.7012 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.5587, allocations: 0 / 0.7012 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.142e-05/0.5588, allocations: 15.98 kB / 0.7012 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.5589, allocations: 15.92 kB / 0.7012 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.5589, allocations: 4 kB / 0.7012 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.5592, allocations: 79.72 kB / 0.7013 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.024e-05/0.5593, allocations: 7.984 kB / 0.7013 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.5594, allocations: 33.7 kB / 0.7013 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.5595, allocations: 57.84 kB / 0.7014 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5596, allocations: 0 / 0.7014 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5596, allocations: 0 / 0.7014 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5596, allocations: 0 / 0.7014 GB, free: 2.754 MB / 0.5294 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.0004495/0.56, allocations: 327.5 kB / 0.7017 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5601, allocations: 12.03 kB / 0.7017 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.5604, allocations: 16.92 kB / 0.7017 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5605, allocations: 172.3 kB / 0.7019 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.5606, allocations: 29.64 kB / 0.7019 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.5606, allocations: 8 kB / 0.7019 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5608, allocations: 41.69 kB / 0.7019 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5608, allocations: 3.938 kB / 0.7019 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.5608, allocations: 0 / 0.7019 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.5608, allocations: 7.984 kB / 0.702 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.5609, allocations: 19.98 kB / 0.702 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.5614, allocations: 260.9 kB / 0.7022 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.389e-05/0.5614, allocations: 18.61 kB / 0.7022 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.5614, allocations: 4.859 kB / 0.7022 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.5614, allocations: 0 / 0.7022 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5615, allocations: 38.56 kB / 0.7023 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.565e-06/0.5615, allocations: 4 kB / 0.7023 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001475/0.5616, allocations: 33.7 kB / 0.7023 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.5617, allocations: 55.34 kB / 0.7024 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.328e-05/0.5618, allocations: 105.8 kB / 0.7025 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.505e-05/0.5619, allocations: 25.7 kB / 0.7025 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.5619, allocations: 95.89 kB / 0.7026 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.5619, allocations: 0 / 0.7026 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.562, allocations: 13.72 kB / 0.7026 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5621, allocations: 326.9 kB / 0.7029 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.39e-05/0.5621, allocations: 0 / 0.7029 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.5622, allocations: 30.52 kB / 0.7029 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.5622, allocations: 34.5 kB / 0.703 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5622, allocations: 0 / 0.703 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.316e-05/0.5623, allocations: 57.62 kB / 0.703 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5623, allocations: 4 kB / 0.703 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5624, allocations: 0 / 0.703 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.5624, allocations: 4 kB / 0.703 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.5624, allocations: 7.938 kB / 0.703 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5625, allocations: 3.938 kB / 0.703 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.5625, allocations: 7.906 kB / 0.7031 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.5625, allocations: 0 / 0.7031 GB, free: 0.7734 MB / 0.5294 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.615e-05/0.5626, allocations: 113.9 kB / 0.7032 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.5626, allocations: 4 kB / 0.7032 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.5627, allocations: 7.109 kB / 0.7032 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5627, allocations: 0 / 0.7032 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5627, allocations: 7.938 kB / 0.7032 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5627, allocations: 0 / 0.7032 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.563, allocations: 338.8 kB / 0.7035 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.563, allocations: 3.938 kB / 0.7035 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.563, allocations: 0 / 0.7035 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.563, allocations: 7.969 kB / 0.7035 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.563, allocations: 0 / 0.7035 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.563, allocations: 7.984 kB / 0.7035 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.563, allocations: 0 / 0.7035 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.949e-05/0.5631, allocations: 53.14 kB / 0.7036 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.5632, allocations: 89.05 kB / 0.7037 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5632, allocations: 256 / 0.7037 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.5633, allocations: 20 kB / 0.7037 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.5633, allocations: 0 / 0.7037 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.5633, allocations: 0 / 0.7037 GB, free: 32 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001002/0.5634, allocations: 83.28 kB / 0.7038 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5634, allocations: 0 / 0.7038 GB, free: 15.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002215/0.5637, allocations: 8 kB / 0.7038 GB, free: 15.94 MB / 0.545 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.0001232/0.5638, allocations: 99.23 kB / 0.7039 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.5639, allocations: 15.94 kB / 0.7039 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5639, allocations: 0 / 0.7039 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.5639, allocations: 8 kB / 0.7039 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.5641, allocations: 7.938 kB / 0.7039 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003929/0.5645, allocations: 150.2 kB / 0.704 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5649, allocations: 0.6809 MB / 0.7047 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.5649, allocations: 11.69 kB / 0.7047 GB, free: 14.9 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5649, allocations: 0 / 0.7047 GB, free: 14.9 MB / 0.545 GB Notification: Performance of Templates: time 0.002117/0.567, allocations: 0.5524 MB / 0.7052 GB, free: 14.36 MB / 0.545 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)