Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007599/0.007599, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001555/0.001555, allocations: 191.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 3.035 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 70.77 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2532, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006481/0.2598, allocations: 4.023 MB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.26, allocations: 151.5 kB / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.2601, allocations: 0 / 0.8321 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2602, allocations: 11.92 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.248e-05/0.2603, allocations: 7.938 kB / 0.8321 GB, free: 12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.2607, allocations: 71.75 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.2608, allocations: 35.8 kB / 0.8322 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.2609, allocations: 8 kB / 0.8322 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.591e-05/0.261, allocations: 15.97 kB / 0.8322 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.261, allocations: 4 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2611, allocations: 4 kB / 0.8322 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.2613, allocations: 59.8 kB / 0.8323 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2614, allocations: 11.92 kB / 0.8323 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.2614, allocations: 12 kB / 0.8323 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.2616, allocations: 43.83 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2616, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2616, allocations: 0 / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2616, allocations: 4 kB / 0.8324 GB, free: 11.73 MB / 0.6544 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.0004876/0.2621, allocations: 331.6 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2621, allocations: 8.031 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.2622, allocations: 4.875 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2624, allocations: 176.3 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.2624, allocations: 30.25 kB / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2625, allocations: 384 / 0.8329 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.2627, allocations: 53.61 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2627, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.2627, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2627, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.2628, allocations: 15.98 kB / 0.833 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.2634, allocations: 341.9 kB / 0.8333 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.742e-05/0.2635, allocations: 18.58 kB / 0.8333 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.2635, allocations: 4.859 kB / 0.8333 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.2636, allocations: 85.17 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2636, allocations: 38.56 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2637, allocations: 0 / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000179/0.2638, allocations: 37.62 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2639, allocations: 51.41 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.264, allocations: 105.8 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.264, allocations: 25.83 kB / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.769e-05/0.2641, allocations: 88.05 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.2641, allocations: 3.938 kB / 0.8337 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.2642, allocations: 17.72 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2644, allocations: 322.8 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2644, allocations: 0 / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.2644, allocations: 17.72 kB / 0.8341 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.2645, allocations: 25.66 kB / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2645, allocations: 0 / 0.8341 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.602e-05/0.2646, allocations: 45.69 kB / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2646, allocations: 8 kB / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2646, allocations: 0 / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2646, allocations: 0 / 0.8341 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.2647, allocations: 7.984 kB / 0.8341 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2647, allocations: 3.938 kB / 0.8342 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.2647, allocations: 11.97 kB / 0.8342 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.2648, allocations: 0 / 0.8342 GB, free: 9.613 MB / 0.6544 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 9.028e-05/0.2649, allocations: 117.8 kB / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.2649, allocations: 0 / 0.8343 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.265, allocations: 117 kB / 0.8344 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/0.2651, allocations: 180.2 kB / 0.8346 GB, free: 9.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-05/0.2652, allocations: 184.3 kB / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001145/0.2653, allocations: 176.3 kB / 0.8349 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.2657, allocations: 413.1 kB / 0.8353 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/0.2657, allocations: 108.9 kB / 0.8354 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.2658, allocations: 112.9 kB / 0.8355 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.901e-05/0.2659, allocations: 176.3 kB / 0.8357 GB, free: 7.941 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.285e-05/0.2659, allocations: 184.2 kB / 0.8359 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.391e-05/0.266, allocations: 176.3 kB / 0.836 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-05/0.2661, allocations: 180.3 kB / 0.8362 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.2663, allocations: 311.7 kB / 0.8365 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.2664, allocations: 190 kB / 0.8367 GB, free: 6.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.2665, allocations: 176.5 kB / 0.8368 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.2667, allocations: 109 kB / 0.8369 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.2668, allocations: 184.2 kB / 0.8371 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.2668, allocations: 105 kB / 0.8372 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.2669, allocations: 83.27 kB / 0.8373 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.663e-06/0.2669, allocations: 4 kB / 0.8373 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002784/0.2672, allocations: 23.88 kB / 0.8373 GB, free: 6.152 MB / 0.6544 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.0003112/0.2675, allocations: 206.4 kB / 0.8375 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.605e-05/0.2676, allocations: 11.94 kB / 0.8375 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2676, allocations: 0 / 0.8375 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.2676, allocations: 0 / 0.8375 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.268, allocations: 463.8 kB / 0.838 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2683, allocations: 193.1 kB / 0.8382 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2686, allocations: 0.6768 MB / 0.8388 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.2687, allocations: 8 kB / 0.8388 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.2687, allocations: 7.438 kB / 0.8388 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2687, allocations: 0 / 0.8388 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of Templates: time 0.003228/0.272, allocations: 0.589 MB / 0.8394 GB, free: 3.957 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)