Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006013/0.006013, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001146/0.001146, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.486/1.486, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.719/1.719, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001415/0.001415, allocations: 67.91 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2381, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005701/0.2438, allocations: 3.728 MB / 0.8317 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.244, allocations: 155.4 kB / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.2441, allocations: 0 / 0.8318 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.2442, allocations: 11.92 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.2443, allocations: 11.98 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.2447, allocations: 70.7 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2448, allocations: 35.84 kB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.2449, allocations: 4 kB / 0.8319 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.658e-05/0.2449, allocations: 11.98 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.245, allocations: 11.92 kB / 0.832 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.245, allocations: 4 kB / 0.832 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000621/0.2457, allocations: 191.4 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.2457, allocations: 8 kB / 0.8322 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2458, allocations: 15.92 kB / 0.8322 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2459, allocations: 31.97 kB / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2459, allocations: 0 / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2459, allocations: 0 / 0.8322 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.2459, allocations: 0 / 0.8322 GB, free: 11.92 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.0004967/0.2464, allocations: 331.5 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2465, allocations: 12.03 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2465, allocations: 0.9375 kB / 0.8325 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.2467, allocations: 172.3 kB / 0.8327 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-05/0.2468, allocations: 34.2 kB / 0.8327 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2468, allocations: 8.359 kB / 0.8327 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.2469, allocations: 41.62 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.247, allocations: 4 kB / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.247, allocations: 0 / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.247, allocations: 0 / 0.8328 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.267e-05/0.2471, allocations: 15.98 kB / 0.8328 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2476, allocations: 341.9 kB / 0.8331 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.728e-05/0.2476, allocations: 22.52 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.2476, allocations: 4.859 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/0.2477, allocations: 89.14 kB / 0.8332 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2478, allocations: 34.56 kB / 0.8333 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2478, allocations: 0 / 0.8333 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.2479, allocations: 45.64 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.248, allocations: 51.41 kB / 0.8334 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/0.2481, allocations: 105.8 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2481, allocations: 25.7 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2482, allocations: 84.05 kB / 0.8336 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-06/0.2482, allocations: 3.938 kB / 0.8336 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2482, allocations: 17.7 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2483, allocations: 322.9 kB / 0.8339 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.2484, allocations: 4 kB / 0.8339 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.2484, allocations: 17.7 kB / 0.8339 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.2484, allocations: 21.72 kB / 0.8339 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2484, allocations: 3.938 kB / 0.8339 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.208e-05/0.2485, allocations: 49.59 kB / 0.834 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2485, allocations: 8.062 kB / 0.834 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2486, allocations: 4 kB / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2486, allocations: 0 / 0.834 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.2486, allocations: 4 kB / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2486, allocations: 0 / 0.834 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.2487, allocations: 7.875 kB / 0.834 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2487, allocations: 4 kB / 0.834 GB, free: 9.793 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 6.912e-05/0.2487, allocations: 109.8 kB / 0.8341 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2488, allocations: 7.984 kB / 0.8341 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.249, allocations: 121 kB / 0.8342 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/0.249, allocations: 188.1 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.917e-05/0.2491, allocations: 176.3 kB / 0.8346 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.557e-05/0.2492, allocations: 180.2 kB / 0.8348 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.2495, allocations: 413.1 kB / 0.8351 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.2496, allocations: 105 kB / 0.8352 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.2496, allocations: 108.9 kB / 0.8354 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.2497, allocations: 180.3 kB / 0.8355 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-05/0.2498, allocations: 176.3 kB / 0.8357 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-05/0.2498, allocations: 180.2 kB / 0.8359 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.819e-05/0.2499, allocations: 188.2 kB / 0.836 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.2501, allocations: 307.7 kB / 0.8363 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.2501, allocations: 182 kB / 0.8365 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.2502, allocations: 184.2 kB / 0.8367 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2504, allocations: 105 kB / 0.8368 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.2505, allocations: 184.2 kB / 0.837 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.631e-05/0.2505, allocations: 113 kB / 0.8371 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.2506, allocations: 83.28 kB / 0.8371 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 0 / 0.8371 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002749/0.2508, allocations: 16 kB / 0.8372 GB, free: 6.332 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.0002995/0.2511, allocations: 206.4 kB / 0.8374 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.2512, allocations: 11.94 kB / 0.8374 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2513, allocations: 0 / 0.8374 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.2513, allocations: 0 / 0.8374 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.2517, allocations: 466.4 kB / 0.8378 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.2521, allocations: 190 kB / 0.838 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2524, allocations: 0.6806 MB / 0.8387 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.2525, allocations: 4 kB / 0.8387 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.661e-05/0.2525, allocations: 7.438 kB / 0.8387 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2525, allocations: 0 / 0.8387 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of Templates: time 0.002985/0.2555, allocations: 0.6051 MB / 0.8393 GB, free: 4.137 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)