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.0009813/0.0009814, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001091/0.001091, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.457/1.457, allocations: 205.1 MB / 222 MB, free: 4.996 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.583/1.583, allocations: 251.6 MB / 0.5088 GB, free: 3.359 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.002168/0.002168, allocations: 63.92 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4604, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06884/0.5293, allocations: 74.77 MB / 0.7968 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.5501, allocations: 15.07 MB / 0.8115 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003928/0.5541, allocations: 59.62 kB / 0.8116 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.5572, allocations: 0.6721 MB / 0.8122 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008246/0.5655, allocations: 2.363 MB / 0.8146 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.5693, allocations: 1.233 MB / 0.8158 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006838/0.5761, allocations: 5.519 MB / 0.8211 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.5781, allocations: 1.179 MB / 0.8223 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.5811, allocations: 1.361 MB / 0.8236 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.5828, allocations: 1.202 MB / 0.8248 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.583, allocations: 72 kB / 0.8249 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.5859, allocations: 1.255 MB / 0.8261 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003574/0.5863, allocations: 306.6 kB / 0.8264 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.5874, allocations: 0.8122 MB / 0.8272 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.591, allocations: 2.765 MB / 0.8299 GB, free: 140 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.591, allocations: 0 / 0.8299 GB, free: 140 kB / 0.6387 GB Notification: Performance of FrontEnd: time 9.81e-07/0.5911, allocations: 4 kB / 0.8299 GB, free: 136 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.588e-05/0.5911, allocations: 0 / 0.8299 GB, free: 136 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.003722/0.5948, allocations: 2.083 MB / 0.8319 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.5949, allocations: 11.97 kB / 0.8319 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008032/0.5957, allocations: 226.8 kB / 0.8321 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/0.598, allocations: 1.468 MB / 0.8336 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.5981, allocations: 85.97 kB / 0.8337 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.5983, allocations: 100 kB / 0.8338 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6003, allocations: 1.092 MB / 0.8348 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.6003, allocations: 4 kB / 0.8348 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.6004, allocations: 40 kB / 0.8349 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.6004, allocations: 28 kB / 0.8349 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.6023, allocations: 0.8939 MB / 0.8358 GB, free: 9.949 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.005898/0.6082, allocations: 4.899 MB / 0.8405 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6097, allocations: 0.6194 MB / 0.8412 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.6104, allocations: 355 kB / 0.8415 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006427/0.6111, allocations: 0.8277 MB / 0.8423 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.6111, allocations: 39.12 kB / 0.8423 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.6111, allocations: 0 / 0.8423 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007034/0.6182, allocations: 1.689 MB / 0.844 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6182, allocations: 55.97 kB / 0.844 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.62, allocations: 1.21 MB / 0.8452 GB, free: 15.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.6201, allocations: 41.64 kB / 0.8453 GB, free: 15.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/0.6207, allocations: 0.6065 MB / 0.8459 GB, free: 15.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.621, allocations: 212.9 kB / 0.8461 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.6212, allocations: 158.5 kB / 0.8462 GB, free: 14.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6214, allocations: 330 kB / 0.8465 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007065/0.6221, allocations: 292.7 kB / 0.8468 GB, free: 14.07 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008846/0.623, allocations: 0.492 MB / 0.8473 GB, free: 13.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.6244, allocations: 0.7206 MB / 0.848 GB, free: 12.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6244, allocations: 4 kB / 0.848 GB, free: 12.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004586/0.629, allocations: 1.273 MB / 0.8492 GB, free: 11.44 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.6291, allocations: 4 kB / 0.8492 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6291, allocations: 4 kB / 0.8492 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.6297, allocations: 145 kB / 0.8494 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.6304, allocations: 159.8 kB / 0.8495 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008913/0.6314, allocations: 0.7045 MB / 0.8502 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.6328, allocations: 159 kB / 0.8504 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.6329, allocations: 35.98 kB / 0.8504 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001111/0.634, allocations: 0.5565 MB / 0.8509 GB, free: 9.652 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008352/0.6349, allocations: 492.7 kB / 0.8514 GB, free: 9.094 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001364/0.6363, allocations: 0.7089 MB / 0.8521 GB, free: 8.332 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.6363, allocations: 0 / 0.8521 GB, free: 8.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004631/0.6409, allocations: 1.269 MB / 0.8534 GB, free: 7.051 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.641, allocations: 8 kB / 0.8534 GB, free: 7.043 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.641, allocations: 4 kB / 0.8534 GB, free: 7.039 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.6415, allocations: 137.1 kB / 0.8535 GB, free: 6.902 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.6422, allocations: 155.7 kB / 0.8536 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008463/0.6431, allocations: 0.7045 MB / 0.8543 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.6444, allocations: 155.3 kB / 0.8545 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.6444, allocations: 28 kB / 0.8545 GB, free: 5.84 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.000248/0.6447, allocations: 224.1 kB / 0.8547 GB, free: 5.613 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.645, allocations: 134.4 kB / 0.8548 GB, free: 5.48 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.6496, allocations: 1.271 MB / 0.8561 GB, free: 4.195 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.6497, allocations: 8 kB / 0.8561 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6497, allocations: 0 / 0.8561 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003997/0.6537, allocations: 1.103 MB / 0.8572 GB, free: 3.047 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.6603, allocations: 2.598 MB / 0.8597 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.6603, allocations: 0 / 0.8597 GB, free: 344 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.6608, allocations: 115.8 kB / 0.8598 GB, free: 228 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/0.6613, allocations: 129.1 kB / 0.8599 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.516e-05/0.6614, allocations: 19.98 kB / 0.86 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004636/0.666, allocations: 2.38 MB / 0.8623 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.666, allocations: 11.94 kB / 0.8623 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00531/0.6713, allocations: 1.695 MB / 0.864 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/0.672, allocations: 303.2 kB / 0.8642 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.6722, allocations: 16 kB / 0.8643 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/0.6731, allocations: 83.81 kB / 0.8643 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.6732, allocations: 64.23 kB / 0.8644 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.6733, allocations: 27.98 kB / 0.8644 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001225/0.6745, allocations: 0.8699 MB / 0.8653 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6745, allocations: 0 / 0.8653 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001814/0.6764, allocations: 0.7058 MB / 0.866 GB, free: 9.688 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.0008661/0.6772, allocations: 459.1 kB / 0.8664 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.6798, allocations: 1.106 MB / 0.8675 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.6798, allocations: 0 / 0.8675 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.6813, allocations: 0.572 MB / 0.868 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.6848, allocations: 0.7501 MB / 0.8688 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.6887, allocations: 2.76 MB / 0.8715 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.6895, allocations: 1.168 MB / 0.8726 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001248/0.6907, allocations: 314.9 kB / 0.8729 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.691, allocations: 107.3 kB / 0.873 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of SimCode: time 7.21e-07/0.691, allocations: 0 / 0.873 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of Templates: time 0.04844/0.7395, allocations: 30.62 MB / 0.9029 GB, free: 4.125 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (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)