Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006027/0.006027, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001323/0.001323, allocations: 199.5 kB / 16.68 MB, free: 5.969 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.479/1.479, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.516/1.516, allocations: 251.7 MB / 0.5094 GB, free: 2.984 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.00136/0.00136, allocations: 69.94 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 104.7 MB / 0.8281 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006191/0.263, allocations: 3.278 MB / 0.8313 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.2631, allocations: 55.86 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.2632, allocations: 0 / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2633, allocations: 3.938 kB / 0.8313 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.2634, allocations: 11.92 kB / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2639, allocations: 178.6 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.264, allocations: 31.91 kB / 0.8315 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.2641, allocations: 11.92 kB / 0.8315 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.2641, allocations: 12 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.2642, allocations: 19.84 kB / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.2642, allocations: 0 / 0.8316 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.2647, allocations: 167.6 kB / 0.8317 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.2647, allocations: 7.984 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.2647, allocations: 11.98 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2651, allocations: 131.7 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2651, allocations: 0 / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2651, allocations: 0 / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2651, allocations: 0 / 0.8319 GB, free: 12.22 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.0005867/0.2657, allocations: 359.4 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2657, allocations: 8.031 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.2658, allocations: 4.922 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2659, allocations: 164.4 kB / 0.8324 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.266, allocations: 30.27 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.266, allocations: 384 / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2662, allocations: 49.56 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2662, allocations: 0 / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2662, allocations: 4 kB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.2662, allocations: 3.984 kB / 0.8325 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/0.2663, allocations: 12 kB / 0.8325 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.267, allocations: 0.5872 MB / 0.833 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.2672, allocations: 18.58 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.2672, allocations: 12.91 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.2675, allocations: 344.4 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.2677, allocations: 30.56 kB / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.2677, allocations: 0 / 0.8334 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.2678, allocations: 45.55 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.2679, allocations: 51.41 kB / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.268, allocations: 101.8 kB / 0.8336 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.268, allocations: 29.7 kB / 0.8337 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.2681, allocations: 96.09 kB / 0.8337 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-06/0.2681, allocations: 0 / 0.8337 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.2681, allocations: 17.7 kB / 0.8338 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2682, allocations: 318.8 kB / 0.8341 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.2683, allocations: 4 kB / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.2683, allocations: 17.7 kB / 0.8341 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.2683, allocations: 29.66 kB / 0.8341 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2684, allocations: 0 / 0.8341 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.619e-05/0.2685, allocations: 45.69 kB / 0.8342 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2685, allocations: 4 kB / 0.8342 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2685, allocations: 3.938 kB / 0.8342 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.2685, allocations: 4 kB / 0.8342 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.2686, allocations: 7.938 kB / 0.8342 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.2686, allocations: 0 / 0.8342 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.2686, allocations: 3.906 kB / 0.8342 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2686, allocations: 12 kB / 0.8342 GB, free: 9.449 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 8.572e-05/0.2687, allocations: 109.8 kB / 0.8343 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.2687, allocations: 7.984 kB / 0.8343 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.2689, allocations: 117 kB / 0.8344 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.226e-05/0.2689, allocations: 184.2 kB / 0.8346 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.039e-05/0.269, allocations: 176.3 kB / 0.8348 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-05/0.2691, allocations: 188.2 kB / 0.8349 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.2693, allocations: 409.2 kB / 0.8353 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.2694, allocations: 105.1 kB / 0.8354 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.2694, allocations: 104.9 kB / 0.8355 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.967e-05/0.2695, allocations: 184.3 kB / 0.8357 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.2696, allocations: 184.2 kB / 0.8359 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.928e-05/0.2696, allocations: 176.3 kB / 0.8361 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.125e-05/0.2697, allocations: 180.2 kB / 0.8362 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2699, allocations: 307.7 kB / 0.8365 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-05/0.27, allocations: 186 kB / 0.8367 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.27, allocations: 184.2 kB / 0.8369 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.2702, allocations: 105 kB / 0.837 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.2703, allocations: 184.2 kB / 0.8371 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.2703, allocations: 109 kB / 0.8372 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.2704, allocations: 87.28 kB / 0.8373 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2704, allocations: 0 / 0.8373 GB, free: 6.008 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003742/0.2708, allocations: 39.94 kB / 0.8374 GB, free: 5.969 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.0003206/0.2711, allocations: 237.2 kB / 0.8376 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.2712, allocations: 15.94 kB / 0.8376 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2712, allocations: 0 / 0.8376 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-06/0.2712, allocations: 4 kB / 0.8376 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.2717, allocations: 455.7 kB / 0.838 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.272, allocations: 193.8 kB / 0.8382 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2723, allocations: 0.6806 MB / 0.8389 GB, free: 4.336 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.252e-05/0.2723, allocations: 4.281 kB / 0.8389 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.2723, allocations: 7.438 kB / 0.8389 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2723, allocations: 0 / 0.8389 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of Templates: time 0.003688/0.276, allocations: 1.176 MB / 0.8401 GB, free: 3.203 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)