Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001061/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001054/0.001054, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.293/1.293, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 279.1 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 91.19 kB / 0.5945 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1754, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5064/0.6818, allocations: 145.6 MB / 0.8216 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.682, allocations: 55.11 kB / 0.8216 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.682, allocations: 4.562 kB / 0.8216 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.652e-05/0.6821, allocations: 4.812 kB / 0.8216 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.6822, allocations: 14.84 kB / 0.8217 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.6826, allocations: 96.39 kB / 0.8218 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.6827, allocations: 57.94 kB / 0.8218 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.6828, allocations: 2.344 kB / 0.8218 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.028e-05/0.6828, allocations: 20.59 kB / 0.8218 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.6829, allocations: 16.41 kB / 0.8218 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6829, allocations: 3.938 kB / 0.8219 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.6831, allocations: 83.33 kB / 0.8219 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.6832, allocations: 8.953 kB / 0.8219 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.6832, allocations: 12.84 kB / 0.822 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.6834, allocations: 68.81 kB / 0.822 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6834, allocations: 0.9062 kB / 0.822 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6834, allocations: 0 / 0.822 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6834, allocations: 0 / 0.822 GB, free: 1.199 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.0004475/0.6839, allocations: 344.4 kB / 0.8223 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6839, allocations: 9.625 kB / 0.8224 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.6842, allocations: 18.44 kB / 0.8224 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6843, allocations: 165.1 kB / 0.8225 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.6844, allocations: 30.86 kB / 0.8226 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6844, allocations: 0.9062 kB / 0.8226 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6845, allocations: 52.22 kB / 0.8226 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.6845, allocations: 0 / 0.8226 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6845, allocations: 1.25 kB / 0.8226 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.6846, allocations: 3.859 kB / 0.8226 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.6846, allocations: 21.55 kB / 0.8226 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.685, allocations: 266.1 kB / 0.8229 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.32e-05/0.6851, allocations: 23.55 kB / 0.8229 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.6851, allocations: 6.484 kB / 0.8229 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.6851, allocations: 0 / 0.8229 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.6851, allocations: 39.95 kB / 0.823 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.6851, allocations: 0 / 0.823 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.6853, allocations: 37.84 kB / 0.823 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.6853, allocations: 51.41 kB / 0.823 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.6854, allocations: 114.7 kB / 0.8232 GB, free: 16.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.6854, allocations: 26.64 kB / 0.8232 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.6855, allocations: 96.45 kB / 0.8233 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.6855, allocations: 3.625 kB / 0.8233 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.6855, allocations: 14.44 kB / 0.8233 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6856, allocations: 316.8 kB / 0.8236 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.6856, allocations: 3.156 kB / 0.8236 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.6857, allocations: 25.66 kB / 0.8236 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.6857, allocations: 34.2 kB / 0.8236 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6857, allocations: 0 / 0.8236 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.411e-05/0.6858, allocations: 58.48 kB / 0.8237 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6858, allocations: 5.812 kB / 0.8237 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6858, allocations: 0 / 0.8237 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6859, allocations: 6.406 kB / 0.8237 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.6859, allocations: 8.969 kB / 0.8237 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6859, allocations: 5.344 kB / 0.8237 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.686, allocations: 5.375 kB / 0.8237 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.686, allocations: 1.5 kB / 0.8237 GB, free: 15.45 MB / 0.5762 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 7.282e-05/0.6861, allocations: 115 kB / 0.8238 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.6861, allocations: 0.9375 kB / 0.8238 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.6861, allocations: 4.156 kB / 0.8239 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.6861, allocations: 1.062 kB / 0.8239 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6861, allocations: 10.61 kB / 0.8239 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.6861, allocations: 1.156 kB / 0.8239 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.6864, allocations: 342.8 kB / 0.8242 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6864, allocations: 0 / 0.8242 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.6864, allocations: 2.219 kB / 0.8242 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6864, allocations: 7.875 kB / 0.8242 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6864, allocations: 1.469 kB / 0.8242 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6864, allocations: 0 / 0.8242 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6864, allocations: 6.516 kB / 0.8242 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.514e-05/0.6865, allocations: 55.23 kB / 0.8243 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.6865, allocations: 85.17 kB / 0.8243 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6866, allocations: 7.875 kB / 0.8243 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.6867, allocations: 8.719 kB / 0.8244 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-06/0.6867, allocations: 0 / 0.8244 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.6867, allocations: 3.766 kB / 0.8244 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.6867, allocations: 83.22 kB / 0.8244 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6867, allocations: 0.9688 kB / 0.8244 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001834/0.6869, allocations: 6.438 kB / 0.8244 GB, free: 14.69 MB / 0.5762 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 8.495e-05/0.687, allocations: 106.5 kB / 0.8245 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.6871, allocations: 9.594 kB / 0.8246 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6871, allocations: 0 / 0.8246 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.6871, allocations: 4.359 kB / 0.8246 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.6873, allocations: 12.78 kB / 0.8246 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.6875, allocations: 114.6 kB / 0.8247 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.6877, allocations: 0.6783 MB / 0.8253 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.413e-05/0.6878, allocations: 4.562 kB / 0.8254 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.6878, allocations: 16.53 kB / 0.8254 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.6878, allocations: 0 / 0.8254 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.002299/0.6901, allocations: 497 kB / 0.8258 GB, free: 13.75 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)