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.001076/0.001076, allocations: 109.8 kB / 16.42 MB, free: 6.453 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.001095/0.001095, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 284 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9184/0.9184, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 95.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.365, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2088/0.5738, allocations: 147.8 MB / 0.9114 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.574, allocations: 63.77 kB / 0.9115 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.574, allocations: 8 kB / 0.9115 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.5741, allocations: 0 / 0.9115 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.5742, allocations: 3.938 kB / 0.9115 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.5746, allocations: 113.6 kB / 0.9116 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.5747, allocations: 35.91 kB / 0.9116 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.077e-05/0.5748, allocations: 3.984 kB / 0.9116 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.407e-05/0.5748, allocations: 11.94 kB / 0.9117 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.5749, allocations: 23.91 kB / 0.9117 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5749, allocations: 0 / 0.9117 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.5751, allocations: 79.78 kB / 0.9118 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.5752, allocations: 7.984 kB / 0.9118 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.5752, allocations: 11.94 kB / 0.9118 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5754, allocations: 83.42 kB / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5754, allocations: 0 / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5754, allocations: 0 / 0.9119 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5754, allocations: 3.938 kB / 0.9119 GB, free: 15.07 MB / 0.6856 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.000343/0.5757, allocations: 342 kB / 0.9122 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.5758, allocations: 8.031 kB / 0.9122 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002121/0.576, allocations: 16.92 kB / 0.9122 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.5761, allocations: 164.4 kB / 0.9124 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.5762, allocations: 29.64 kB / 0.9124 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.5762, allocations: 4 kB / 0.9124 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.5763, allocations: 41.69 kB / 0.9124 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.5763, allocations: 7.938 kB / 0.9124 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.5763, allocations: 8 kB / 0.9124 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.5764, allocations: 0 / 0.9124 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.5764, allocations: 19.98 kB / 0.9125 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.5768, allocations: 256.9 kB / 0.9127 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.177e-05/0.5768, allocations: 18.58 kB / 0.9127 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.5768, allocations: 8.859 kB / 0.9127 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-06/0.5768, allocations: 4.062 kB / 0.9127 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5769, allocations: 38.48 kB / 0.9128 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5769, allocations: 0 / 0.9128 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.577, allocations: 33.61 kB / 0.9128 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.577, allocations: 51.41 kB / 0.9129 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.5771, allocations: 109.8 kB / 0.913 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5771, allocations: 33.83 kB / 0.913 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.5772, allocations: 91.98 kB / 0.9131 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-06/0.5772, allocations: 3.938 kB / 0.9131 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.5772, allocations: 21.62 kB / 0.9131 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.5773, allocations: 314.8 kB / 0.9134 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.5773, allocations: 4 kB / 0.9134 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.5774, allocations: 26.52 kB / 0.9134 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.5774, allocations: 34.56 kB / 0.9135 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5774, allocations: 0 / 0.9135 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.834e-05/0.5775, allocations: 49.64 kB / 0.9135 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5775, allocations: 14.64 kB / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.5775, allocations: 0 / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.5775, allocations: 96 / 0.9135 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.5776, allocations: 15.94 kB / 0.9135 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5776, allocations: 3.938 kB / 0.9136 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.951e-05/0.5777, allocations: 0 / 0.9136 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.5777, allocations: 4 kB / 0.9136 GB, free: 13.09 MB / 0.6856 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 6.397e-05/0.5777, allocations: 105.8 kB / 0.9137 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.5778, allocations: 4 kB / 0.9137 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.625e-05/0.5778, allocations: 11.11 kB / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.5778, allocations: 0 / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5778, allocations: 3.938 kB / 0.9137 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.5778, allocations: 92.95 kB / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.5779, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.578, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-06/0.578, allocations: 0 / 0.9138 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.124e-05/0.5781, allocations: 113 kB / 0.9139 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001063/0.5782, allocations: 210.8 kB / 0.9141 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.085e-05/0.5782, allocations: 4.031 kB / 0.9141 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.5783, allocations: 95.52 kB / 0.9142 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of Backend: time 2.2e-07/0.5783, allocations: 0 / 0.9142 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.5786, allocations: 120 kB / 0.9143 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0004018/0.579, allocations: 0.5542 MB / 0.9148 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of Templates: time 0.00259/0.5816, allocations: 0.7133 MB / 0.9155 GB, free: 11 MB / 0.6856 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)