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.0009191/0.0009187, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001129/0.001129, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.517/1.517, allocations: 251.9 MB / 0.51 GB, free: 4.789 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.000534/0.000534, allocations: 20 kB / 0.6241 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5114, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05898/0.5704, allocations: 62.98 MB / 0.7895 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.5876, allocations: 12.86 MB / 0.802 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.59, allocations: 51.62 kB / 0.8021 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.5926, allocations: 0.7423 MB / 0.8028 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007335/0.5999, allocations: 2.36 MB / 0.8051 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.6042, allocations: 1.433 MB / 0.8065 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004848/0.6091, allocations: 2.494 MB / 0.8089 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.6112, allocations: 1.021 MB / 0.8099 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.6145, allocations: 1.164 MB / 0.8111 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.6165, allocations: 0.7856 MB / 0.8118 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004122/0.6169, allocations: 56 kB / 0.8119 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.6203, allocations: 0.8347 MB / 0.8127 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005695/0.6208, allocations: 262.9 kB / 0.813 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.6217, allocations: 352.9 kB / 0.8133 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.6249, allocations: 2.011 MB / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6249, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6249, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.351e-05/0.6249, allocations: 0 / 0.8153 GB, free: 1.801 MB / 0.6231 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.003699/0.6286, allocations: 1.787 MB / 0.817 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6287, allocations: 8.031 kB / 0.817 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008104/0.6295, allocations: 245.6 kB / 0.8172 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/0.632, allocations: 1.357 MB / 0.8186 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.632, allocations: 78 kB / 0.8186 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.6322, allocations: 112 kB / 0.8188 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.6341, allocations: 1.096 MB / 0.8198 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.6341, allocations: 4 kB / 0.8198 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.6342, allocations: 40 kB / 0.8199 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.6343, allocations: 35.89 kB / 0.8199 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.6362, allocations: 0.929 MB / 0.8208 GB, free: 11.96 MB / 0.6387 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.005858/0.642, allocations: 4.942 MB / 0.8256 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6435, allocations: 0.635 MB / 0.8263 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.6441, allocations: 0.8277 MB / 0.8271 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.6441, allocations: 39.12 kB / 0.8271 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 2.796e-06/0.6442, allocations: 0 / 0.8271 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.007339/0.6515, allocations: 1.897 MB / 0.829 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.6516, allocations: 59.97 kB / 0.829 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.6532, allocations: 1.253 MB / 0.8302 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.6533, allocations: 41.7 kB / 0.8303 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/0.6538, allocations: 0.5987 MB / 0.8309 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.654, allocations: 212.9 kB / 0.8311 GB, free: 0.9023 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.6541, allocations: 16 kB / 0.8311 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6542, allocations: 334 kB / 0.8314 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.6549, allocations: 293.8 kB / 0.8317 GB, free: 272 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.6557, allocations: 0.5124 MB / 0.8322 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.6564, allocations: 355 kB / 0.8325 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6564, allocations: 0 / 0.8325 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004597/0.661, allocations: 1.398 MB / 0.8339 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005295/0.6616, allocations: 1.427 MB / 0.8353 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6616, allocations: 4 kB / 0.8353 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6622, allocations: 144.7 kB / 0.8354 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.6628, allocations: 167.8 kB / 0.8356 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000827/0.6637, allocations: 0.7161 MB / 0.8363 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6649, allocations: 182.9 kB / 0.8364 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.665, allocations: 31.98 kB / 0.8365 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.665, allocations: 5.875 kB / 0.8365 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004394/0.6694, allocations: 1.249 MB / 0.8377 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.6695, allocations: 4 kB / 0.8377 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.67, allocations: 149 kB / 0.8378 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.6705, allocations: 163.8 kB / 0.838 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008145/0.6714, allocations: 0.7123 MB / 0.8387 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6727, allocations: 167.2 kB / 0.8389 GB, free: 8.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.274e-05/0.6727, allocations: 31.98 kB / 0.8389 GB, free: 8.625 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007104/0.6735, allocations: 416.9 kB / 0.8393 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.6737, allocations: 138.4 kB / 0.8394 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.6783, allocations: 1.4 MB / 0.8408 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.6783, allocations: 8 kB / 0.8408 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6783, allocations: 3.953 kB / 0.8408 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004184/0.6825, allocations: 1.236 MB / 0.842 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006673/0.6892, allocations: 2.75 MB / 0.8447 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6892, allocations: 4 kB / 0.8447 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.6897, allocations: 120.3 kB / 0.8448 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/0.6902, allocations: 140.9 kB / 0.8449 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.6903, allocations: 27.92 kB / 0.845 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004922/0.6952, allocations: 2.556 MB / 0.8475 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6952, allocations: 4 kB / 0.8475 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.7007, allocations: 2.054 MB / 0.8495 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.7017, allocations: 335.1 kB / 0.8498 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.7019, allocations: 23.98 kB / 0.8498 GB, free: 12.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/0.7028, allocations: 95.81 kB / 0.8499 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.703, allocations: 56.27 kB / 0.85 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.703, allocations: 27.98 kB / 0.85 GB, free: 12.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001488/0.7045, allocations: 0.905 MB / 0.8509 GB, free: 11.79 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7045, allocations: 0 / 0.8509 GB, free: 11.79 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002199/0.7067, allocations: 0.7174 MB / 0.8516 GB, free: 11.07 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008787/0.7076, allocations: 457.4 kB / 0.852 GB, free: 10.62 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.7102, allocations: 1.157 MB / 0.8531 GB, free: 9.473 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.7102, allocations: 4 kB / 0.8531 GB, free: 9.469 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.7118, allocations: 0.5995 MB / 0.8537 GB, free: 8.855 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/0.7153, allocations: 0.7566 MB / 0.8545 GB, free: 8.105 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.7193, allocations: 2.756 MB / 0.8572 GB, free: 5.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/0.72, allocations: 1.199 MB / 0.8583 GB, free: 4.051 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001214/0.7212, allocations: 306.9 kB / 0.8586 GB, free: 3.746 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.7215, allocations: 107.3 kB / 0.8587 GB, free: 3.641 MB / 0.67 GB Notification: Performance of SimCode: time 9.62e-07/0.7215, allocations: 0 / 0.8587 GB, free: 3.641 MB / 0.67 GB Notification: Performance of Templates: time 0.04771/0.7692, allocations: 30.18 MB / 0.8882 GB, free: 5.844 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: