Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001062, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.001185/0.001185, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 287.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9018/0.9018, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 99.11 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1406, allocations: 86.98 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3711/0.5117, allocations: 135.4 MB / 0.8138 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000145/0.5119, allocations: 49.73 kB / 0.8139 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.5119, allocations: 4 kB / 0.8139 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.836e-05/0.512, allocations: 3.984 kB / 0.8139 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.538e-05/0.5122, allocations: 11.92 kB / 0.8139 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.5129, allocations: 241.9 kB / 0.8141 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.513, allocations: 31.75 kB / 0.8142 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.513, allocations: 10.62 kB / 0.8142 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.5131, allocations: 19.91 kB / 0.8142 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.5131, allocations: 12 kB / 0.8142 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.5131, allocations: 0 / 0.8142 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004365/0.5136, allocations: 239.5 kB / 0.8144 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.5136, allocations: 19.86 kB / 0.8144 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.5137, allocations: 7.984 kB / 0.8144 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.514, allocations: 187.5 kB / 0.8146 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.514, allocations: 0 / 0.8146 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.514, allocations: 0 / 0.8146 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.514, allocations: 0 / 0.8146 GB, free: 6.371 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003669/0.5144, allocations: 362 kB / 0.815 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5144, allocations: 12.03 kB / 0.815 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.5145, allocations: 1.812 kB / 0.815 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.5146, allocations: 164.3 kB / 0.8151 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.5146, allocations: 30.45 kB / 0.8152 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.5147, allocations: 3.938 kB / 0.8152 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.5148, allocations: 45.67 kB / 0.8152 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.5148, allocations: 4 kB / 0.8152 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.5148, allocations: 0 / 0.8152 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.5148, allocations: 4 kB / 0.8152 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.5149, allocations: 11.98 kB / 0.8152 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.5155, allocations: 0.5994 MB / 0.8158 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.5156, allocations: 30.44 kB / 0.8159 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.5156, allocations: 12.73 kB / 0.8159 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.5158, allocations: 336.5 kB / 0.8162 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5158, allocations: 34.56 kB / 0.8162 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5158, allocations: 3.938 kB / 0.8162 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.516, allocations: 33.64 kB / 0.8163 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.516, allocations: 55.41 kB / 0.8163 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.5161, allocations: 101.8 kB / 0.8164 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.5161, allocations: 29.83 kB / 0.8164 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.5162, allocations: 91.98 kB / 0.8165 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.5162, allocations: 0 / 0.8165 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.5162, allocations: 21.72 kB / 0.8165 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.5163, allocations: 318.8 kB / 0.8168 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.5163, allocations: 4 kB / 0.8168 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.5164, allocations: 17.72 kB / 0.8169 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/0.5164, allocations: 21.7 kB / 0.8169 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.5164, allocations: 3.938 kB / 0.8169 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.422e-05/0.5165, allocations: 41.7 kB / 0.8169 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5165, allocations: 8 kB / 0.8169 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5165, allocations: 3.984 kB / 0.8169 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.5165, allocations: 0 / 0.8169 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.5166, allocations: 4 kB / 0.8169 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.5166, allocations: 4 kB / 0.8169 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.5166, allocations: 11.91 kB / 0.817 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5166, allocations: 0 / 0.817 GB, free: 3.602 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.441e-05/0.5167, allocations: 117.8 kB / 0.8171 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.5167, allocations: 0 / 0.8171 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.5168, allocations: 117 kB / 0.8172 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/0.5169, allocations: 180.5 kB / 0.8174 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.942e-05/0.5169, allocations: 184.3 kB / 0.8175 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/0.517, allocations: 180.3 kB / 0.8177 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.5172, allocations: 417.1 kB / 0.8181 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/0.5172, allocations: 109 kB / 0.8182 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.5173, allocations: 104.9 kB / 0.8183 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-05/0.5173, allocations: 180.3 kB / 0.8185 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/0.5174, allocations: 176.3 kB / 0.8186 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-05/0.5175, allocations: 188.1 kB / 0.8188 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.234e-05/0.5175, allocations: 176.3 kB / 0.819 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.5176, allocations: 315.7 kB / 0.8193 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.5177, allocations: 178.1 kB / 0.8195 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.995e-05/0.5178, allocations: 192.2 kB / 0.8196 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5179, allocations: 101 kB / 0.8197 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.518, allocations: 188.2 kB / 0.8199 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.518, allocations: 101.8 kB / 0.82 GB, free: 256 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.5181, allocations: 87.27 kB / 0.8201 GB, free: 168 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5181, allocations: 0 / 0.8201 GB, free: 168 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000278/0.5184, allocations: 67.81 kB / 0.8202 GB, free: 100 kB / 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 (0): * Single equations (assignments): 0 * 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.0002867/0.5186, allocations: 247.5 kB / 0.8204 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.477e-05/0.5187, allocations: 19.92 kB / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5187, allocations: 0 / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5187, allocations: 0 / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5191, allocations: 458 kB / 0.8209 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.5193, allocations: 195.5 kB / 0.821 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.5195, allocations: 0.6767 MB / 0.8217 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.5196, allocations: 7.984 kB / 0.8217 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.5196, allocations: 7.438 kB / 0.8217 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5196, allocations: 0 / 0.8217 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.003352/0.523, allocations: 1.287 MB / 0.823 GB, free: 13.16 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)