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.001379/0.001379, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001421/0.001421, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.266/1.266, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 282.5 kB / 291.3 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8898/0.8898, allocations: 169.2 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 97.58 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1538, allocations: 86.97 MB / 0.6808 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3926/0.5464, allocations: 147.8 MB / 0.8252 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.5466, allocations: 52.22 kB / 0.8253 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.5466, allocations: 0 / 0.8253 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.5468, allocations: 0 / 0.8253 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.5469, allocations: 19.91 kB / 0.8253 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.5473, allocations: 108.1 kB / 0.8254 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.5474, allocations: 31.91 kB / 0.8254 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.5474, allocations: 8 kB / 0.8254 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.67e-05/0.5474, allocations: 19.91 kB / 0.8254 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.5475, allocations: 11.94 kB / 0.8254 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.5475, allocations: 4 kB / 0.8254 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.5478, allocations: 79.72 kB / 0.8255 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.5478, allocations: 11.98 kB / 0.8255 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.5479, allocations: 11.94 kB / 0.8255 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.548, allocations: 70.56 kB / 0.8256 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.548, allocations: 4 kB / 0.8256 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.548, allocations: 0 / 0.8256 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.548, allocations: 0 / 0.8256 GB, free: 10.88 MB / 0.5919 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.0003183/0.5484, allocations: 331.5 kB / 0.8259 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5484, allocations: 8.031 kB / 0.8259 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.5486, allocations: 24.91 kB / 0.826 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.481e-05/0.5487, allocations: 169.2 kB / 0.8261 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.5488, allocations: 33.58 kB / 0.8262 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5488, allocations: 7.922 kB / 0.8262 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.5489, allocations: 49.67 kB / 0.8262 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5489, allocations: 0 / 0.8262 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.549, allocations: 0 / 0.8262 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.549, allocations: 4 kB / 0.8262 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.549, allocations: 17.2 kB / 0.8262 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003341/0.5494, allocations: 264.8 kB / 0.8265 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.694e-05/0.5494, allocations: 22.52 kB / 0.8265 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.5494, allocations: 4.859 kB / 0.8265 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.5495, allocations: 0 / 0.8265 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.5495, allocations: 31.44 kB / 0.8265 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.5495, allocations: 8.062 kB / 0.8265 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001185/0.5496, allocations: 33.7 kB / 0.8266 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.5496, allocations: 51.41 kB / 0.8266 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.5497, allocations: 113.7 kB / 0.8267 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5497, allocations: 25.7 kB / 0.8268 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.5498, allocations: 91.98 kB / 0.8268 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.5498, allocations: 7.891 kB / 0.8269 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.5498, allocations: 25.77 kB / 0.8269 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.5499, allocations: 314.8 kB / 0.8272 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.5499, allocations: 7.938 kB / 0.8272 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.55, allocations: 26.56 kB / 0.8272 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.55, allocations: 30.52 kB / 0.8272 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.55, allocations: 4 kB / 0.8272 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.86e-05/0.5501, allocations: 53.62 kB / 0.8273 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.5501, allocations: 4 kB / 0.8273 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5501, allocations: 4 kB / 0.8273 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.5501, allocations: 0 / 0.8273 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.5502, allocations: 4 kB / 0.8273 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5502, allocations: 7.938 kB / 0.8273 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.5503, allocations: 3.906 kB / 0.8273 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-06/0.5503, allocations: 0 / 0.8273 GB, free: 8.895 MB / 0.5919 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.166e-05/0.5503, allocations: 121.9 kB / 0.8274 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.5504, allocations: 3.938 kB / 0.8274 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.743e-05/0.5504, allocations: 7.125 kB / 0.8274 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5504, allocations: 0 / 0.8274 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5504, allocations: 3.938 kB / 0.8275 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.5504, allocations: 0 / 0.8275 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.5506, allocations: 342.7 kB / 0.8278 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5507, allocations: 8.016 kB / 0.8278 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.5507, allocations: 4 kB / 0.8278 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5507, allocations: 3.938 kB / 0.8278 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.5507, allocations: 0 / 0.8278 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5507, allocations: 0 / 0.8278 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5507, allocations: 0 / 0.8278 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.86e-05/0.5508, allocations: 57.14 kB / 0.8278 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.5508, allocations: 77.11 kB / 0.8279 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5508, allocations: 15.89 kB / 0.8279 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.5509, allocations: 4 kB / 0.8279 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.5509, allocations: 0 / 0.8279 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.5509, allocations: 0 / 0.8279 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.551, allocations: 94.83 kB / 0.828 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.551, allocations: 0 / 0.828 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001888/0.5512, allocations: 8 kB / 0.828 GB, free: 8.055 MB / 0.5919 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 7.89e-05/0.5513, allocations: 95.25 kB / 0.8281 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.5513, allocations: 20 kB / 0.8281 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5514, allocations: 0 / 0.8281 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.5514, allocations: 3.938 kB / 0.8282 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.5516, allocations: 7.984 kB / 0.8282 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.5518, allocations: 146 kB / 0.8283 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.552, allocations: 0.6771 MB / 0.829 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.552, allocations: 11.44 kB / 0.829 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.552, allocations: 0 / 0.829 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of Templates: time 0.001588/0.5536, allocations: 0.5598 MB / 0.8295 GB, free: 6.484 MB / 0.5919 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)