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_etaCar.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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008999/0.0008997, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001071/0.001071, allocations: 172.7 kB / 15.95 MB, free: 208 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.503/1.503, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.887 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.0005465/0.0005467, allocations: 12 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5234, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07074/0.5942, allocations: 69.47 MB / 0.796 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.6138, allocations: 14.03 MB / 0.8097 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002374/0.6163, allocations: 51.62 kB / 0.8097 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.6186, allocations: 0.5627 MB / 0.8103 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007447/0.6261, allocations: 1.976 MB / 0.8122 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003483/0.6296, allocations: 0.9402 MB / 0.8131 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007342/0.637, allocations: 4.762 MB / 0.8178 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.6395, allocations: 1.017 MB / 0.8188 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003626/0.6432, allocations: 1.268 MB / 0.82 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.6459, allocations: 1.081 MB / 0.821 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.6464, allocations: 56 kB / 0.8211 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.6494, allocations: 0.9198 MB / 0.822 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004651/0.6499, allocations: 274.7 kB / 0.8223 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008253/0.6508, allocations: 356.9 kB / 0.8226 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.6541, allocations: 2.069 MB / 0.8246 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6541, allocations: 0 / 0.8246 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6541, allocations: 0 / 0.8246 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.19e-05/0.6542, allocations: 0 / 0.8246 GB, free: 8.348 MB / 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.003507/0.6577, allocations: 1.787 MB / 0.8264 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6577, allocations: 12.03 kB / 0.8264 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.6586, allocations: 241.8 kB / 0.8266 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002621/0.6612, allocations: 1.434 MB / 0.828 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.6613, allocations: 82 kB / 0.8281 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6614, allocations: 100 kB / 0.8282 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.6635, allocations: 1.104 MB / 0.8293 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.6635, allocations: 4 kB / 0.8293 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/0.6636, allocations: 40 kB / 0.8293 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.6637, allocations: 31.94 kB / 0.8293 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6655, allocations: 0.929 MB / 0.8302 GB, free: 2.438 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.006545/0.6721, allocations: 4.899 MB / 0.835 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.6736, allocations: 0.6396 MB / 0.8357 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.6743, allocations: 363.1 kB / 0.836 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.6751, allocations: 0.8238 MB / 0.8368 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.6752, allocations: 47.12 kB / 0.8368 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.6752, allocations: 0 / 0.8368 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.006715/0.6819, allocations: 1.888 MB / 0.8387 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.682, allocations: 63.97 kB / 0.8388 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6837, allocations: 1.19 MB / 0.8399 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.6838, allocations: 45.7 kB / 0.84 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.6844, allocations: 0.6026 MB / 0.8405 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.6846, allocations: 212.9 kB / 0.8408 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.6846, allocations: 12 kB / 0.8408 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6848, allocations: 334 kB / 0.8411 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.6854, allocations: 297.8 kB / 0.8414 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.6862, allocations: 0.5123 MB / 0.8419 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007274/0.687, allocations: 363 kB / 0.8422 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.687, allocations: 4 kB / 0.8422 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004373/0.6914, allocations: 1.394 MB / 0.8436 GB, free: 4.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.6915, allocations: 202.2 kB / 0.8438 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.6915, allocations: 0 / 0.8438 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.6921, allocations: 148.8 kB / 0.8439 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.6928, allocations: 171.7 kB / 0.8441 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007981/0.6936, allocations: 0.7161 MB / 0.8448 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.6948, allocations: 171 kB / 0.8449 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.6949, allocations: 35.98 kB / 0.845 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.6949, allocations: 4 kB / 0.845 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004029/0.6989, allocations: 1.245 MB / 0.8462 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.699, allocations: 7.953 kB / 0.8462 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.6995, allocations: 153 kB / 0.8463 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/0.7001, allocations: 163.8 kB / 0.8465 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007789/0.7009, allocations: 0.7162 MB / 0.8472 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.7021, allocations: 159.2 kB / 0.8474 GB, free: 140 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.7022, allocations: 31.98 kB / 0.8474 GB, free: 108 kB / 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.0006674/0.7029, allocations: 424.9 kB / 0.8478 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.7031, allocations: 142.3 kB / 0.8479 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004131/0.7073, allocations: 1.389 MB / 0.8493 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.7073, allocations: 7.938 kB / 0.8493 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7073, allocations: 4 kB / 0.8493 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/0.7111, allocations: 1.232 MB / 0.8505 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/0.7173, allocations: 2.727 MB / 0.8532 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7173, allocations: 0 / 0.8532 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.7178, allocations: 132.2 kB / 0.8533 GB, free: 9.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.7183, allocations: 136.7 kB / 0.8534 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.7184, allocations: 19.98 kB / 0.8534 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.7228, allocations: 2.47 MB / 0.8558 GB, free: 7.109 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.7229, allocations: 15.86 kB / 0.8559 GB, free: 7.094 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.7279, allocations: 1.848 MB / 0.8577 GB, free: 5.184 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000726/0.7287, allocations: 331.1 kB / 0.858 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.7288, allocations: 15.98 kB / 0.858 GB, free: 4.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/0.7297, allocations: 99.81 kB / 0.8581 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7298, allocations: 56.27 kB / 0.8581 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.937e-05/0.7299, allocations: 31.98 kB / 0.8582 GB, free: 4.641 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001232/0.7311, allocations: 0.8582 MB / 0.859 GB, free: 3.781 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7311, allocations: 0 / 0.859 GB, free: 3.781 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001842/0.733, allocations: 0.7096 MB / 0.8597 GB, free: 3.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.0007583/0.7337, allocations: 415.3 kB / 0.8601 GB, free: 2.664 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.7362, allocations: 1.16 MB / 0.8612 GB, free: 1.504 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.7363, allocations: 4 kB / 0.8612 GB, free: 1.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.7377, allocations: 0.6033 MB / 0.8618 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.7412, allocations: 0.7621 MB / 0.8626 GB, free: 136 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.7456, allocations: 2.762 MB / 0.8653 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.7465, allocations: 1.172 MB / 0.8664 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001448/0.748, allocations: 307 kB / 0.8667 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.7482, allocations: 103.4 kB / 0.8668 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/0.7482, allocations: 0 / 0.8668 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of Templates: time 0.04753/0.7958, allocations: 29.54 MB / 0.8957 GB, free: 14.53 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: