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.001276/0.001276, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001486/0.001486, allocations: 190.2 kB / 16.25 MB, free: 6.617 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 279.1 kB / 290.4 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9313/0.9313, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 89.11 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1565, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4919/0.6484, allocations: 145.7 MB / 0.822 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.6486, allocations: 57.12 kB / 0.822 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.6486, allocations: 3.938 kB / 0.822 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.6487, allocations: 2.625 kB / 0.822 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.6488, allocations: 11.42 kB / 0.822 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.6493, allocations: 97.02 kB / 0.8221 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.6493, allocations: 36.58 kB / 0.8221 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.6494, allocations: 1.094 kB / 0.8222 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.6494, allocations: 18.88 kB / 0.8222 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.6495, allocations: 19.61 kB / 0.8222 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6495, allocations: 3.281 kB / 0.8222 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.6497, allocations: 84.05 kB / 0.8223 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.6498, allocations: 8.219 kB / 0.8223 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.6498, allocations: 12.28 kB / 0.8223 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.65, allocations: 72.06 kB / 0.8224 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.65, allocations: 0 / 0.8224 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.65, allocations: 0.5312 kB / 0.8224 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.65, allocations: 0 / 0.8224 GB, free: 0.8789 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.0004122/0.6504, allocations: 340.8 kB / 0.8227 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.6505, allocations: 9.375 kB / 0.8227 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.6507, allocations: 17.39 kB / 0.8227 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6509, allocations: 165.1 kB / 0.8229 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.952e-05/0.6509, allocations: 31.42 kB / 0.8229 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.6509, allocations: 4.938 kB / 0.8229 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.6511, allocations: 52.39 kB / 0.823 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.6511, allocations: 0.6562 kB / 0.823 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6511, allocations: 0 / 0.823 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6511, allocations: 4.984 kB / 0.823 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.6512, allocations: 20.39 kB / 0.823 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.6516, allocations: 266 kB / 0.8232 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.355e-05/0.6516, allocations: 28.45 kB / 0.8233 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.6516, allocations: 6.391 kB / 0.8233 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.6516, allocations: 0 / 0.8233 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.6517, allocations: 31.84 kB / 0.8233 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.6517, allocations: 0 / 0.8233 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.6518, allocations: 37.36 kB / 0.8233 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.6518, allocations: 52.69 kB / 0.8234 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.6519, allocations: 112.9 kB / 0.8235 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.652, allocations: 27.3 kB / 0.8235 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.652, allocations: 98.78 kB / 0.8236 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-06/0.652, allocations: 0 / 0.8236 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.652, allocations: 13.84 kB / 0.8236 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6522, allocations: 322 kB / 0.8239 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.6522, allocations: 3 kB / 0.8239 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.6522, allocations: 29.09 kB / 0.824 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.619e-05/0.6522, allocations: 29.98 kB / 0.824 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6522, allocations: 0.5 kB / 0.824 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.684e-05/0.6523, allocations: 54.03 kB / 0.824 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6524, allocations: 5.656 kB / 0.824 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.6524, allocations: 8.531 kB / 0.8241 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6524, allocations: 1.531 kB / 0.8241 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.6525, allocations: 5.344 kB / 0.8241 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6525, allocations: 5.156 kB / 0.8241 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.6525, allocations: 10.69 kB / 0.8241 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.6525, allocations: 1.969 kB / 0.8241 GB, free: 15.13 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 8.045e-05/0.6526, allocations: 112.5 kB / 0.8242 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.6526, allocations: 1.156 kB / 0.8242 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.6527, allocations: 7.844 kB / 0.8242 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.6527, allocations: 4.562 kB / 0.8242 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6527, allocations: 6.453 kB / 0.8242 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.6527, allocations: 0.5312 kB / 0.8242 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.6529, allocations: 346.8 kB / 0.8245 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6529, allocations: 0.5 kB / 0.8245 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.364e-05/0.653, allocations: 1.594 kB / 0.8245 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.653, allocations: 4.594 kB / 0.8245 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.653, allocations: 0.5 kB / 0.8245 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.653, allocations: 4.531 kB / 0.8245 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.653, allocations: 0.5625 kB / 0.8245 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.518e-05/0.653, allocations: 57.23 kB / 0.8246 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.6531, allocations: 86.33 kB / 0.8247 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.6531, allocations: 4.5 kB / 0.8247 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.6532, allocations: 2.25 kB / 0.8247 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.6532, allocations: 7.141 kB / 0.8247 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.6532, allocations: 9.031 kB / 0.8247 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.6533, allocations: 80.06 kB / 0.8248 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6533, allocations: 0 / 0.8248 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001856/0.6535, allocations: 10.31 kB / 0.8248 GB, free: 14.36 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 9.707e-05/0.6536, allocations: 98.81 kB / 0.8249 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.6537, allocations: 11.64 kB / 0.8249 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6537, allocations: 0 / 0.8249 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-06/0.6537, allocations: 13.88 kB / 0.8249 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.6539, allocations: 6.562 kB / 0.8249 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.6542, allocations: 117.2 kB / 0.825 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.6544, allocations: 0.6755 MB / 0.8257 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.567e-05/0.6545, allocations: 12.05 kB / 0.8257 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.6545, allocations: 11.66 kB / 0.8257 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6545, allocations: 0 / 0.8257 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.002427/0.6569, allocations: 0.4902 MB / 0.8262 GB, free: 13.43 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)