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.00101/0.00101, allocations: 89.97 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.008236/0.008236, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.564/1.564, allocations: 205.4 MB / 222.5 MB, free: 5.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: 252 MB / 0.5105 GB, free: 4.68 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.0005542/0.0005542, allocations: 20 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.529, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06945/0.5985, allocations: 73.47 MB / 0.8005 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02106/0.6196, allocations: 14.89 MB / 0.815 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.6224, allocations: 55.62 kB / 0.8151 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.6246, allocations: 0.676 MB / 0.8157 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.6317, allocations: 2.355 MB / 0.818 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.6352, allocations: 1.249 MB / 0.8192 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007441/0.6427, allocations: 5.529 MB / 0.8246 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.6449, allocations: 1.135 MB / 0.8257 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.6481, allocations: 1.33 MB / 0.827 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.6505, allocations: 1.151 MB / 0.8282 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/0.6508, allocations: 56 kB / 0.8282 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.6538, allocations: 1.236 MB / 0.8294 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.6542, allocations: 290.6 kB / 0.8297 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.6554, allocations: 0.7944 MB / 0.8305 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.6605, allocations: 2.702 MB / 0.8331 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6606, allocations: 4 kB / 0.8331 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6606, allocations: 0 / 0.8331 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.97e-05/0.6606, allocations: 0 / 0.8331 GB, free: 15.97 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004141/0.6648, allocations: 1.787 MB / 0.8349 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6648, allocations: 8.031 kB / 0.8349 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.6657, allocations: 242.8 kB / 0.8351 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.6686, allocations: 1.481 MB / 0.8366 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.6687, allocations: 74 kB / 0.8366 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.6689, allocations: 108 kB / 0.8367 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/0.6711, allocations: 1.116 MB / 0.8378 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6711, allocations: 4 kB / 0.8378 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.253e-05/0.6712, allocations: 40 kB / 0.8379 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.6712, allocations: 28 kB / 0.8379 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.6732, allocations: 0.929 MB / 0.8388 GB, free: 10 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.00654/0.6798, allocations: 4.919 MB / 0.8436 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.6813, allocations: 0.6396 MB / 0.8442 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/0.682, allocations: 371.1 kB / 0.8446 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.6827, allocations: 0.8277 MB / 0.8454 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.6828, allocations: 39.06 kB / 0.8454 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.875e-06/0.6828, allocations: 4 kB / 0.8454 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007532/0.6903, allocations: 1.892 MB / 0.8473 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.6904, allocations: 59.97 kB / 0.8473 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.6922, allocations: 1.21 MB / 0.8485 GB, free: 15.51 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.6924, allocations: 41.7 kB / 0.8485 GB, free: 15.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.6929, allocations: 0.6065 MB / 0.8491 GB, free: 14.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.6932, allocations: 216.9 kB / 0.8493 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/0.6933, allocations: 61.69 kB / 0.8494 GB, free: 14.57 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6934, allocations: 337.9 kB / 0.8497 GB, free: 14.23 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.6941, allocations: 297.8 kB / 0.85 GB, free: 13.94 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.695, allocations: 0.5163 MB / 0.8505 GB, free: 13.34 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.6964, allocations: 0.7519 MB / 0.8513 GB, free: 12.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.6965, allocations: 4 kB / 0.8513 GB, free: 12.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005005/0.7015, allocations: 1.406 MB / 0.8526 GB, free: 11.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.7016, allocations: 198.2 kB / 0.8528 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7017, allocations: 4 kB / 0.8528 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.7023, allocations: 148.7 kB / 0.853 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.7029, allocations: 167.8 kB / 0.8531 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/0.7038, allocations: 0.7123 MB / 0.8538 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7051, allocations: 175 kB / 0.854 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.7052, allocations: 39.92 kB / 0.854 GB, free: 9.609 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.7052, allocations: 6.188 kB / 0.854 GB, free: 9.605 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004604/0.7098, allocations: 1.253 MB / 0.8553 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7099, allocations: 4 kB / 0.8553 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.7104, allocations: 153 kB / 0.8554 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.711, allocations: 159.8 kB / 0.8556 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008543/0.7119, allocations: 0.7239 MB / 0.8563 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.7133, allocations: 163.2 kB / 0.8564 GB, free: 7.125 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.7133, allocations: 31.98 kB / 0.8564 GB, free: 7.094 MB / 0.67 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.000708/0.714, allocations: 424.8 kB / 0.8569 GB, free: 6.668 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.7142, allocations: 134.3 kB / 0.857 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/0.7192, allocations: 1.396 MB / 0.8583 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.7192, allocations: 12 kB / 0.8584 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.7192, allocations: 0 / 0.8584 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004371/0.7236, allocations: 1.236 MB / 0.8596 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007069/0.7307, allocations: 2.742 MB / 0.8622 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7307, allocations: 4 kB / 0.8622 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.7312, allocations: 120.3 kB / 0.8624 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004931/0.7317, allocations: 144.6 kB / 0.8625 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.7318, allocations: 19.98 kB / 0.8625 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004848/0.7366, allocations: 2.474 MB / 0.8649 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.7367, allocations: 4 kB / 0.8649 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/0.7427, allocations: 1.852 MB / 0.8667 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008553/0.7436, allocations: 335.1 kB / 0.8671 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7438, allocations: 19.94 kB / 0.8671 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008844/0.7447, allocations: 87.97 kB / 0.8672 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7448, allocations: 60.25 kB / 0.8672 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/0.7449, allocations: 36.08 kB / 0.8673 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001338/0.7463, allocations: 0.8699 MB / 0.8681 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7463, allocations: 0 / 0.8681 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001949/0.7482, allocations: 0.7096 MB / 0.8688 GB, free: 10.02 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009778/0.7492, allocations: 445.1 kB / 0.8692 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.7519, allocations: 1.176 MB / 0.8704 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7519, allocations: 0 / 0.8704 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.7535, allocations: 0.5957 MB / 0.871 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/0.758, allocations: 0.7973 MB / 0.8717 GB, free: 7.02 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.7623, allocations: 2.828 MB / 0.8745 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.7631, allocations: 1.169 MB / 0.8756 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7643, allocations: 306.9 kB / 0.8759 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.7646, allocations: 111.4 kB / 0.876 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.7646, allocations: 0 / 0.876 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of Templates: time 0.0535/0.8181, allocations: 32.06 MB / 0.9073 GB, free: 2.848 MB / 0.7169 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: