Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00856/0.00856, allocations: 100.9 kB / 15.73 MB, free: 6.027 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.001615/0.001615, allocations: 183.5 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.509/1.509, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.519/1.519, allocations: 251.7 MB / 0.5094 GB, free: 3.117 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.001426/0.001426, allocations: 71.89 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2482, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07303/0.3213, allocations: 75.19 MB / 0.9015 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5962/0.9175, allocations: 15.01 MB / 0.9161 GB, free: 27.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.9206, allocations: 63.06 kB / 0.9162 GB, free: 27.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.9234, allocations: 0.8564 MB / 0.917 GB, free: 27.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00788/0.9313, allocations: 2.704 MB / 0.9197 GB, free: 27.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.9351, allocations: 1.366 MB / 0.921 GB, free: 27.11 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007233/0.9423, allocations: 4.362 MB / 0.9253 GB, free: 27.1 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.9452, allocations: 1.442 MB / 0.9267 GB, free: 26.92 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/0.9499, allocations: 1.68 MB / 0.9283 GB, free: 26.6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.953, allocations: 1.218 MB / 0.9295 GB, free: 26.33 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006304/0.9536, allocations: 161.2 kB / 0.9296 GB, free: 26.33 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004517/0.9581, allocations: 1.404 MB / 0.931 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007775/0.9589, allocations: 395.3 kB / 0.9314 GB, free: 26.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.9615, allocations: 0.8988 MB / 0.9323 GB, free: 25.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.9682, allocations: 2.857 MB / 0.9351 GB, free: 25.06 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.9682, allocations: 1.125 kB / 0.9351 GB, free: 25.06 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9682, allocations: 3.938 kB / 0.9351 GB, free: 25.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.476e-05/0.9683, allocations: 0 / 0.9351 GB, free: 25.05 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005616/0.974, allocations: 2.086 MB / 0.9371 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.906e-05/0.9741, allocations: 9.031 kB / 0.9371 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.9751, allocations: 232.6 kB / 0.9373 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.9778, allocations: 1.504 MB / 0.9388 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.9779, allocations: 76.41 kB / 0.9389 GB, free: 22.72 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.9781, allocations: 106.2 kB / 0.939 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.9802, allocations: 1.09 MB / 0.94 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.9802, allocations: 5.031 kB / 0.94 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.835e-05/0.9803, allocations: 41.16 kB / 0.9401 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.9804, allocations: 28.94 kB / 0.9401 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.9823, allocations: 0.8891 MB / 0.941 GB, free: 21.85 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005827/0.9881, allocations: 4.889 MB / 0.9458 GB, free: 18.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.9895, allocations: 0.6137 MB / 0.9464 GB, free: 18.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.9903, allocations: 350.8 kB / 0.9467 GB, free: 18.13 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/0.9907, allocations: 0.8267 MB / 0.9475 GB, free: 17.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9907, allocations: 39.66 kB / 0.9475 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.366e-06/0.9907, allocations: 0 / 0.9475 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007246/0.998, allocations: 1.699 MB / 0.9492 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.9981, allocations: 58.66 kB / 0.9493 GB, free: 16.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.9998, allocations: 1.226 MB / 0.9504 GB, free: 16.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/1, allocations: 40.36 kB / 0.9505 GB, free: 16.03 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/1, allocations: 0.6053 MB / 0.9511 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/1.001, allocations: 210.7 kB / 0.9513 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/1.001, allocations: 160.1 kB / 0.9514 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/1.001, allocations: 335.2 kB / 0.9518 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006677/1.002, allocations: 287.2 kB / 0.952 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/1.002, allocations: 0.4937 MB / 0.9525 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/1.004, allocations: 0.7128 MB / 0.9532 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.004, allocations: 1.219 kB / 0.9532 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004901/1.009, allocations: 1.279 MB / 0.9545 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.009, allocations: 10.69 kB / 0.9545 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.009, allocations: 4.25 kB / 0.9545 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/1.009, allocations: 130.2 kB / 0.9546 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006027/1.01, allocations: 159.8 kB / 0.9547 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007335/1.011, allocations: 0.7065 MB / 0.9554 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.012, allocations: 125.8 kB / 0.9556 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/1.012, allocations: 35.66 kB / 0.9556 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001105/1.013, allocations: 0.5491 MB / 0.9561 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007756/1.014, allocations: 0.4916 MB / 0.9566 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001354/1.015, allocations: 0.7067 MB / 0.9573 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.456e-06/1.015, allocations: 1.312 kB / 0.9573 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004815/1.02, allocations: 1.267 MB / 0.9585 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.02, allocations: 9 kB / 0.9585 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.02, allocations: 5.969 kB / 0.9585 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/1.021, allocations: 142.1 kB / 0.9587 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/1.021, allocations: 157.5 kB / 0.9588 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006816/1.022, allocations: 0.7047 MB / 0.9595 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.023, allocations: 106.4 kB / 0.9596 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/1.023, allocations: 40.39 kB / 0.9597 GB, free: 10.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.024, allocations: 218.3 kB / 0.9599 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/1.024, allocations: 137.3 kB / 0.96 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/1.028, allocations: 1.258 MB / 0.9612 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.028, allocations: 20.45 kB / 0.9612 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.028, allocations: 0 / 0.9612 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003902/1.032, allocations: 1.097 MB / 0.9623 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006438/1.039, allocations: 2.611 MB / 0.9649 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/1.039, allocations: 2.438 kB / 0.9649 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/1.039, allocations: 112.5 kB / 0.965 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/1.04, allocations: 129.8 kB / 0.9651 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/1.04, allocations: 20.2 kB / 0.9651 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/1.044, allocations: 2.634 MB / 0.9677 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.044, allocations: 2.906 kB / 0.9677 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/1.049, allocations: 1.708 MB / 0.9694 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/1.05, allocations: 300.8 kB / 0.9697 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.05, allocations: 17.78 kB / 0.9697 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/1.051, allocations: 52.61 kB / 0.9697 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/1.051, allocations: 66.17 kB / 0.9698 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/1.051, allocations: 27.33 kB / 0.9698 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001134/1.052, allocations: 0.8819 MB / 0.9707 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 0.9707 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002104/1.055, allocations: 0.7231 MB / 0.9714 GB, free: 2.996 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/1.056, allocations: 456.4 kB / 0.9718 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002541/1.058, allocations: 1.112 MB / 0.9729 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.058, allocations: 0 / 0.9729 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.059, allocations: 0.5616 MB / 0.9734 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003709/1.063, allocations: 0.8132 MB / 0.9742 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/1.067, allocations: 2.278 MB / 0.9765 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/1.068, allocations: 1.172 MB / 0.9776 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001214/1.069, allocations: 303 kB / 0.9779 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/1.069, allocations: 107.4 kB / 0.978 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of SimCode: time 1.062e-06/1.069, allocations: 4 kB / 0.978 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.05316/1.122, allocations: 32.55 MB / 1.01 GB, free: 14.04 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)