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.009662/0.009662, allocations: 102 kB / 15.73 MB, free: 6.477 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.001924/0.001924, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.488/1.488, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.563/1.563, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001434/0.001434, allocations: 71.91 kB / 0.7258 GB, free: 9.07 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2422, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006071/0.2483, allocations: 3.293 MB / 0.8313 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.2485, allocations: 51.81 kB / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.2486, allocations: 3.938 kB / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2487, allocations: 0 / 0.8313 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.682e-05/0.2488, allocations: 15.91 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.2496, allocations: 167.2 kB / 0.8315 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2497, allocations: 27.91 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.2497, allocations: 11.98 kB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.2498, allocations: 11.94 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.974e-05/0.2499, allocations: 15.91 kB / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.2499, allocations: 4 kB / 0.8316 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.2503, allocations: 167.6 kB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.2503, allocations: 7.969 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2503, allocations: 8 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.2507, allocations: 135.7 kB / 0.8319 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2507, allocations: 3.938 kB / 0.8319 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2507, allocations: 4 kB / 0.8319 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2507, allocations: 0 / 0.8319 GB, free: 12.32 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.0004531/0.2512, allocations: 347.4 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2512, allocations: 12.02 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2513, allocations: 4.938 kB / 0.8322 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2514, allocations: 160.4 kB / 0.8324 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.2515, allocations: 26.27 kB / 0.8324 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2515, allocations: 4.375 kB / 0.8324 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2517, allocations: 49.62 kB / 0.8324 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2517, allocations: 3.938 kB / 0.8324 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2517, allocations: 0 / 0.8324 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.2517, allocations: 3.984 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2518, allocations: 19.94 kB / 0.8325 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.2524, allocations: 0.5794 MB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.2525, allocations: 22.58 kB / 0.8331 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.2525, allocations: 8.859 kB / 0.8331 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.2527, allocations: 340.5 kB / 0.8334 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.2528, allocations: 34.56 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.2528, allocations: 0 / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.2529, allocations: 45.48 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.253, allocations: 51.41 kB / 0.8335 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.2531, allocations: 110 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2531, allocations: 25.7 kB / 0.8336 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2532, allocations: 91.98 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.2532, allocations: 4 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.2532, allocations: 13.7 kB / 0.8338 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2533, allocations: 322.8 kB / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.2533, allocations: 0 / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.2534, allocations: 21.7 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.2534, allocations: 25.66 kB / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2534, allocations: 0 / 0.8341 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.187e-05/0.2535, allocations: 45.69 kB / 0.8341 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2535, allocations: 8 kB / 0.8342 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2535, allocations: 0 / 0.8342 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2536, allocations: 3.938 kB / 0.8342 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-05/0.2536, allocations: 4.062 kB / 0.8342 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2536, allocations: 4 kB / 0.8342 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/0.2536, allocations: 7.906 kB / 0.8342 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2537, allocations: 4 kB / 0.8342 GB, free: 9.562 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.017e-05/0.2537, allocations: 121.7 kB / 0.8343 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.2538, allocations: 0 / 0.8343 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2539, allocations: 121 kB / 0.8344 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.254, allocations: 184.2 kB / 0.8346 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.126e-05/0.254, allocations: 180.2 kB / 0.8348 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.373e-05/0.2541, allocations: 184.2 kB / 0.8349 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2543, allocations: 405.2 kB / 0.8353 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.2544, allocations: 105.1 kB / 0.8354 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.2544, allocations: 108.9 kB / 0.8355 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.334e-05/0.2545, allocations: 180.3 kB / 0.8357 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.2546, allocations: 184.2 kB / 0.8359 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.401e-05/0.2546, allocations: 180.2 kB / 0.836 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.576e-05/0.2547, allocations: 184.2 kB / 0.8362 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.2548, allocations: 307.8 kB / 0.8365 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.2549, allocations: 182 kB / 0.8367 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.255, allocations: 184.2 kB / 0.8369 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2551, allocations: 104.9 kB / 0.837 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.2552, allocations: 184.3 kB / 0.8371 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.2552, allocations: 109 kB / 0.8372 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.2553, allocations: 83.28 kB / 0.8373 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2553, allocations: 0 / 0.8373 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003097/0.2556, allocations: 35.94 kB / 0.8374 GB, free: 6.082 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.0002777/0.2559, allocations: 250.3 kB / 0.8376 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/0.256, allocations: 4 kB / 0.8376 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.256, allocations: 0 / 0.8376 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-06/0.256, allocations: 4 kB / 0.8376 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.2565, allocations: 461.6 kB / 0.838 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.2568, allocations: 189.7 kB / 0.8382 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.257, allocations: 0.6768 MB / 0.8389 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.2571, allocations: 10.33 kB / 0.8389 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.2571, allocations: 7.438 kB / 0.8389 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.2571, allocations: 4 kB / 0.8389 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.003508/0.2606, allocations: 1.166 MB / 0.84 GB, free: 3.32 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)