Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.0107/0.0107, allocations: 172.2 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.72/1.72, allocations: 252 MB / 0.5105 GB, free: 4.688 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.0005453/0.0005454, allocations: 19.98 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5156, allocations: 106.3 MB / 0.7287 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06776/0.5834, allocations: 73.49 MB / 0.8005 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.6035, allocations: 14.89 MB / 0.815 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.6061, allocations: 55.62 kB / 0.8151 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.6083, allocations: 0.6721 MB / 0.8158 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006529/0.6148, allocations: 2.36 MB / 0.8181 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.6181, allocations: 1.244 MB / 0.8193 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006533/0.6247, allocations: 5.519 MB / 0.8247 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.6268, allocations: 1.135 MB / 0.8258 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.63, allocations: 1.33 MB / 0.8271 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/0.6318, allocations: 1.155 MB / 0.8282 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.632, allocations: 56 kB / 0.8282 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002827/0.6348, allocations: 1.251 MB / 0.8295 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.6351, allocations: 286.7 kB / 0.8297 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009174/0.636, allocations: 0.8061 MB / 0.8305 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.6396, allocations: 2.718 MB / 0.8332 GB, free: 80 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.6396, allocations: 0 / 0.8332 GB, free: 80 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6396, allocations: 0 / 0.8332 GB, free: 80 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.6397, allocations: 0 / 0.8332 GB, free: 80 kB / 0.6387 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.003267/0.643, allocations: 1.799 MB / 0.8349 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.643, allocations: 8.031 kB / 0.8349 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000768/0.6438, allocations: 242.8 kB / 0.8352 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.6461, allocations: 1.474 MB / 0.8366 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.6462, allocations: 78 kB / 0.8367 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.6463, allocations: 100 kB / 0.8368 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.6483, allocations: 1.116 MB / 0.8379 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.6484, allocations: 3.938 kB / 0.8379 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.6485, allocations: 47.98 kB / 0.8379 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.6485, allocations: 27.94 kB / 0.838 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.6505, allocations: 0.933 MB / 0.8389 GB, free: 10.1 MB / 0.6544 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.005648/0.6561, allocations: 4.919 MB / 0.8437 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6575, allocations: 0.6547 MB / 0.8443 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.6583, allocations: 371 kB / 0.8447 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/0.6589, allocations: 0.8277 MB / 0.8455 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.6589, allocations: 43.12 kB / 0.8455 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.114e-06/0.659, allocations: 0 / 0.8455 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.005058/0.664, allocations: 1.526 MB / 0.847 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6641, allocations: 63.91 kB / 0.8471 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.6656, allocations: 1.21 MB / 0.8482 GB, free: 15.95 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.861e-05/0.6657, allocations: 41.7 kB / 0.8483 GB, free: 15.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.6662, allocations: 0.5949 MB / 0.8489 GB, free: 15.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6664, allocations: 220.8 kB / 0.8491 GB, free: 15.08 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.6665, allocations: 65.69 kB / 0.8491 GB, free: 15.01 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6667, allocations: 334 kB / 0.8495 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.6674, allocations: 301.8 kB / 0.8497 GB, free: 14.39 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008246/0.6682, allocations: 0.5115 MB / 0.8502 GB, free: 13.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.6697, allocations: 0.7511 MB / 0.851 GB, free: 13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6697, allocations: 0 / 0.851 GB, free: 13 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004929/0.6746, allocations: 1.402 MB / 0.8523 GB, free: 11.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.6748, allocations: 181.2 kB / 0.8525 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6748, allocations: 4 kB / 0.8525 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/0.6755, allocations: 168.7 kB / 0.8527 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.6761, allocations: 175.7 kB / 0.8529 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/0.677, allocations: 0.7202 MB / 0.8536 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.6783, allocations: 171 kB / 0.8537 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/0.6784, allocations: 32 kB / 0.8537 GB, free: 10.07 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.6784, allocations: 4 kB / 0.8538 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004642/0.6831, allocations: 1.261 MB / 0.855 GB, free: 8.805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.6831, allocations: 4 kB / 0.855 GB, free: 8.801 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6837, allocations: 164.9 kB / 0.8551 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.6844, allocations: 159.8 kB / 0.8553 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008379/0.6852, allocations: 0.7318 MB / 0.856 GB, free: 7.723 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.6865, allocations: 163.2 kB / 0.8562 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.6866, allocations: 31.98 kB / 0.8562 GB, free: 7.531 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007197/0.6873, allocations: 416.8 kB / 0.8566 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.6876, allocations: 138.3 kB / 0.8567 GB, free: 6.977 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.6925, allocations: 1.4 MB / 0.8581 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.6926, allocations: 8 kB / 0.8581 GB, free: 5.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6926, allocations: 4 kB / 0.8581 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004247/0.6968, allocations: 1.221 MB / 0.8593 GB, free: 4.289 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.7012, allocations: 2.341 MB / 0.8616 GB, free: 1.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.7012, allocations: 4 kB / 0.8616 GB, free: 1.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.7017, allocations: 123.8 kB / 0.8617 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/0.7023, allocations: 153.1 kB / 0.8619 GB, free: 1.559 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/0.7024, allocations: 23.98 kB / 0.8619 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008632/0.7032, allocations: 0.7201 MB / 0.8626 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7032, allocations: 4 kB / 0.8626 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.706, allocations: 1.458 MB / 0.864 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.7067, allocations: 335.1 kB / 0.8643 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.7068, allocations: 19.98 kB / 0.8643 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.7077, allocations: 91.81 kB / 0.8644 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7078, allocations: 60.25 kB / 0.8645 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/0.7079, allocations: 35.92 kB / 0.8645 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001149/0.7091, allocations: 0.8699 MB / 0.8654 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7091, allocations: 0 / 0.8654 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001765/0.7108, allocations: 0.7018 MB / 0.8661 GB, free: 13.12 MB / 0.6856 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008661/0.7117, allocations: 453.5 kB / 0.8665 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.7143, allocations: 1.184 MB / 0.8676 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7143, allocations: 0 / 0.8676 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.7153, allocations: 411.3 kB / 0.868 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/0.7196, allocations: 0.8074 MB / 0.8688 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.7239, allocations: 2.826 MB / 0.8716 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.7247, allocations: 1.18 MB / 0.8727 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001273/0.7259, allocations: 299.2 kB / 0.873 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7262, allocations: 111.4 kB / 0.8731 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.7262, allocations: 0 / 0.8731 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of Templates: time 0.0552/0.7814, allocations: 31.93 MB / 0.9043 GB, free: 6.27 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: