Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01214/0.01214, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.541/1.541, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005635/0.0005637, allocations: 8.5 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4061, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1636/0.5697, allocations: 131.6 MB / 1.203 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.5699, allocations: 59.78 kB / 1.203 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.5699, allocations: 0 / 1.203 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.5701, allocations: 0 / 1.203 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.5702, allocations: 15.91 kB / 1.203 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009192/0.5711, allocations: 222.6 kB / 1.203 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.943e-05/0.5712, allocations: 55.81 kB / 1.203 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.5713, allocations: 0 / 1.203 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.5713, allocations: 15.98 kB / 1.203 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.5714, allocations: 19.91 kB / 1.203 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.5714, allocations: 0 / 1.203 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.5719, allocations: 247.3 kB / 1.203 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.522e-05/0.572, allocations: 8 kB / 1.203 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.572, allocations: 37.69 kB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.5723, allocations: 191.9 kB / 1.203 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5724, allocations: 0 / 1.203 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5724, allocations: 0 / 1.203 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.5724, allocations: 0 / 1.203 GB, free: 2.648 MB / 0.9512 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.000422/0.5728, allocations: 347.5 kB / 1.204 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5729, allocations: 8.031 kB / 1.204 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.5729, allocations: 0.9375 kB / 1.204 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.573, allocations: 176.2 kB / 1.204 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.5731, allocations: 30.2 kB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5731, allocations: 3.938 kB / 1.204 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5733, allocations: 57.55 kB / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.5733, allocations: 0 / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5733, allocations: 0 / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.5733, allocations: 0 / 1.204 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.5734, allocations: 19.98 kB / 1.204 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.5742, allocations: 0.595 MB / 1.205 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.8e-05/0.5742, allocations: 18.58 kB / 1.205 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.5742, allocations: 8.797 kB / 1.205 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.5744, allocations: 344.5 kB / 1.205 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5745, allocations: 30.56 kB / 1.205 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5745, allocations: 4 kB / 1.205 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.5746, allocations: 29.7 kB / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5747, allocations: 55.41 kB / 1.205 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.827e-05/0.5748, allocations: 101.8 kB / 1.205 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.5748, allocations: 25.7 kB / 1.205 GB, free: 480 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.5748, allocations: 88.05 kB / 1.205 GB, free: 388 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.5749, allocations: 3.906 kB / 1.205 GB, free: 384 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.5749, allocations: 17.7 kB / 1.205 GB, free: 360 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.575, allocations: 322.8 kB / 1.206 GB, free: 28 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.575, allocations: 4 kB / 1.206 GB, free: 24 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.575, allocations: 17.72 kB / 1.206 GB, free: 0 / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.5751, allocations: 17.77 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5751, allocations: 4 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.2e-05/0.5752, allocations: 53.59 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5752, allocations: 4 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5752, allocations: 0 / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5752, allocations: 4 kB / 1.206 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.5753, allocations: 4 kB / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5753, allocations: 0 / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.5753, allocations: 0 / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.5753, allocations: 7.938 kB / 1.206 GB, free: 15.89 MB / 0.9669 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 7.971e-05/0.5754, allocations: 109.8 kB / 1.206 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.5754, allocations: 32 / 1.206 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.5756, allocations: 128.8 kB / 1.206 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/0.5756, allocations: 180.3 kB / 1.206 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-05/0.5757, allocations: 184.2 kB / 1.206 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.461e-05/0.5758, allocations: 180.5 kB / 1.206 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.576, allocations: 413.1 kB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-05/0.576, allocations: 105 kB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.5761, allocations: 105 kB / 1.207 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.927e-05/0.5762, allocations: 188.1 kB / 1.207 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.5762, allocations: 180.2 kB / 1.207 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.573e-05/0.5763, allocations: 184.2 kB / 1.208 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.335e-05/0.5763, allocations: 184.2 kB / 1.208 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.5765, allocations: 307.7 kB / 1.208 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.5766, allocations: 190 kB / 1.208 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.5766, allocations: 180.2 kB / 1.208 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.5768, allocations: 113 kB / 1.209 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.5769, allocations: 176.3 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.5769, allocations: 112.9 kB / 1.209 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.577, allocations: 83.22 kB / 1.209 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.577, allocations: 0 / 1.209 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002987/0.5773, allocations: 55.92 kB / 1.209 GB, free: 12.39 MB / 0.9669 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.0003352/0.5776, allocations: 250.4 kB / 1.209 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.152e-05/0.5777, allocations: 12 kB / 1.209 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5777, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.5777, allocations: 3.938 kB / 1.209 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.5781, allocations: 0.5264 MB / 1.21 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.5784, allocations: 187.8 kB / 1.21 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5786, allocations: 0.677 MB / 1.211 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.5787, allocations: 8 kB / 1.211 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.5787, allocations: 7.438 kB / 1.211 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.5787, allocations: 4 kB / 1.211 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of Templates: time 0.003663/0.5824, allocations: 1.265 MB / 1.212 GB, free: 9.391 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)