Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001193/0.001193, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 295 kB / 290.4 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001684, allocations: 88.91 kB / 0.5947 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1705, allocations: 86.98 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4786/0.6491, allocations: 146.2 MB / 0.8224 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.6493, allocations: 50.86 kB / 0.8224 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.6494, allocations: 0 / 0.8224 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.6495, allocations: 4 kB / 0.8224 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.6496, allocations: 15 kB / 0.8224 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.6504, allocations: 198.8 kB / 0.8226 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.248e-05/0.6505, allocations: 37.16 kB / 0.8227 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.6506, allocations: 8.031 kB / 0.8227 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.6506, allocations: 16.86 kB / 0.8227 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.087e-05/0.6507, allocations: 11.98 kB / 0.8227 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.6507, allocations: 1.031 kB / 0.8227 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.6511, allocations: 201.1 kB / 0.8229 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.6512, allocations: 13.34 kB / 0.8229 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.6512, allocations: 7.594 kB / 0.8229 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.6514, allocations: 128.3 kB / 0.823 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6515, allocations: 0.5625 kB / 0.823 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6515, allocations: 0.5312 kB / 0.823 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.6515, allocations: 0 / 0.823 GB, free: 0.8203 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.0004112/0.6519, allocations: 348.3 kB / 0.8234 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6519, allocations: 13.69 kB / 0.8234 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.6523, allocations: 22.89 kB / 0.8234 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.6524, allocations: 162.3 kB / 0.8235 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.6525, allocations: 31.27 kB / 0.8236 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.6525, allocations: 1.125 kB / 0.8236 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6526, allocations: 48.7 kB / 0.8236 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6526, allocations: 4 kB / 0.8236 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.6527, allocations: 0.5312 kB / 0.8236 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6527, allocations: 5.312 kB / 0.8236 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.6527, allocations: 21.64 kB / 0.8237 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.6531, allocations: 263.1 kB / 0.8239 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.724e-05/0.6531, allocations: 33.41 kB / 0.8239 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.6532, allocations: 11.36 kB / 0.8239 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.6533, allocations: 89.67 kB / 0.824 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6534, allocations: 38.94 kB / 0.8241 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6534, allocations: 0 / 0.8241 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0002356/0.6536, allocations: 49.61 kB / 0.8241 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6536, allocations: 56.16 kB / 0.8242 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.6537, allocations: 111.9 kB / 0.8243 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.6537, allocations: 26.27 kB / 0.8243 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.6538, allocations: 85.55 kB / 0.8244 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.6538, allocations: 5.188 kB / 0.8244 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.6538, allocations: 19.28 kB / 0.8244 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.654, allocations: 312 kB / 0.8247 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.654, allocations: 6.5 kB / 0.8247 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.995e-05/0.654, allocations: 25.33 kB / 0.8247 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.6541, allocations: 34.27 kB / 0.8248 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6541, allocations: 0 / 0.8248 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.635e-05/0.6542, allocations: 56.23 kB / 0.8248 GB, free: 15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6542, allocations: 9.562 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.6542, allocations: 1.188 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6542, allocations: 0.6562 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.6543, allocations: 8.062 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.6543, allocations: 2 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.6543, allocations: 5.219 kB / 0.8248 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.6544, allocations: 1.562 kB / 0.8248 GB, free: 14.99 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.353e-05/0.6544, allocations: 113.8 kB / 0.825 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.6545, allocations: 11.44 kB / 0.825 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.6545, allocations: 11.66 kB / 0.825 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6545, allocations: 1.219 kB / 0.825 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6545, allocations: 0 / 0.825 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6545, allocations: 7.125 kB / 0.825 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.6549, allocations: 355.3 kB / 0.8253 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.6549, allocations: 4.594 kB / 0.8253 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.645e-05/0.6549, allocations: 3.281 kB / 0.8253 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6549, allocations: 8.531 kB / 0.8253 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.6549, allocations: 1.125 kB / 0.8253 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6549, allocations: 4.531 kB / 0.8253 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6549, allocations: 3.141 kB / 0.8254 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.359e-05/0.655, allocations: 66.81 kB / 0.8254 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.6551, allocations: 81.23 kB / 0.8255 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.6551, allocations: 4.594 kB / 0.8255 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.6552, allocations: 9.172 kB / 0.8255 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.6552, allocations: 1.281 kB / 0.8255 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.6552, allocations: 5.156 kB / 0.8255 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001242/0.6554, allocations: 85.2 kB / 0.8256 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6554, allocations: 0.875 kB / 0.8256 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001994/0.6556, allocations: 5.781 kB / 0.8256 GB, free: 14.2 MB / 0.5762 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.0001407/0.6557, allocations: 105.6 kB / 0.8257 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.902e-05/0.6558, allocations: 16.25 kB / 0.8257 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6558, allocations: 0 / 0.8257 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.6558, allocations: 7.781 kB / 0.8257 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.6561, allocations: 11.22 kB / 0.8257 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.6564, allocations: 131.9 kB / 0.8259 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6567, allocations: 0.6782 MB / 0.8265 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.377e-05/0.6567, allocations: 8.297 kB / 0.8265 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.6568, allocations: 8.594 kB / 0.8265 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6568, allocations: 0.5312 kB / 0.8265 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.002534/0.6593, allocations: 0.5805 MB / 0.8271 GB, free: 13.21 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)