Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.2 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 107.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 49.41 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2475, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.05084/0.2984, allocations: 74.78 MB / 1.291 GB, free: 42.25 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3137, allocations: 15.21 MB / 1.306 GB, free: 27 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/0.3162, allocations: 59.62 kB / 1.306 GB, free: 26.94 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.3182, allocations: 0.676 MB / 1.307 GB, free: 26.26 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.3248, allocations: 2.392 MB / 1.309 GB, free: 23.86 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.3278, allocations: 1.267 MB / 1.31 GB, free: 22.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004906/0.3327, allocations: 5.57 MB / 1.316 GB, free: 17.01 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3341, allocations: 1.206 MB / 1.317 GB, free: 15.78 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.3364, allocations: 1.384 MB / 1.318 GB, free: 14.39 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.3379, allocations: 1.213 MB / 1.319 GB, free: 13.17 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3381, allocations: 72 kB / 1.319 GB, free: 13.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.3405, allocations: 1.278 MB / 1.321 GB, free: 11.82 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3407, allocations: 310.6 kB / 1.321 GB, free: 11.51 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007399/0.3415, allocations: 0.8084 MB / 1.322 GB, free: 10.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.3443, allocations: 2.797 MB / 1.325 GB, free: 7.895 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3443, allocations: 4 kB / 1.325 GB, free: 7.891 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3444, allocations: 3.938 kB / 1.325 GB, free: 7.887 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.3444, allocations: 0 / 1.325 GB, free: 7.887 MB / 0.823 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.003024/0.3474, allocations: 2.095 MB / 1.327 GB, free: 5.723 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3474, allocations: 11.98 kB / 1.327 GB, free: 5.711 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00068/0.3481, allocations: 234.8 kB / 1.327 GB, free: 5.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.3501, allocations: 1.493 MB / 1.328 GB, free: 3.934 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.3501, allocations: 78 kB / 1.328 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3503, allocations: 103.9 kB / 1.328 GB, free: 3.754 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3518, allocations: 1.104 MB / 1.33 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.3519, allocations: 4 kB / 1.33 GB, free: 2.613 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.3519, allocations: 40 kB / 1.33 GB, free: 2.574 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.352, allocations: 27.94 kB / 1.33 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.3535, allocations: 0.8939 MB / 1.33 GB, free: 1.648 MB / 0.823 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.005369/0.3589, allocations: 4.911 MB / 1.335 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3603, allocations: 0.6301 MB / 1.336 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/0.361, allocations: 348.7 kB / 1.336 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006618/0.3617, allocations: 0.8316 MB / 1.337 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3617, allocations: 39.12 kB / 1.337 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=62): time 3.056e-06/0.3617, allocations: 0 / 1.337 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=62): time 0.004659/0.3664, allocations: 1.409 MB / 1.338 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3665, allocations: 55.97 kB / 1.339 GB, free: 8.906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.368, allocations: 1.218 MB / 1.34 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.3681, allocations: 41.7 kB / 1.34 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004878/0.3686, allocations: 0.6027 MB / 1.34 GB, free: 7.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.3688, allocations: 212.9 kB / 1.341 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.3691, allocations: 158.5 kB / 1.341 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3692, allocations: 333.9 kB / 1.341 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006461/0.3698, allocations: 296.6 kB / 1.341 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.3707, allocations: 499.8 kB / 1.342 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3721, allocations: 0.7043 MB / 1.342 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.3721, allocations: 12 kB / 1.342 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004563/0.3767, allocations: 1.265 MB / 1.344 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.3767, allocations: 4 kB / 1.344 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3767, allocations: 4 kB / 1.344 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006862/0.3774, allocations: 165 kB / 1.344 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/0.378, allocations: 155.8 kB / 1.344 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008726/0.3789, allocations: 0.7123 MB / 1.345 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.3805, allocations: 155.1 kB / 1.345 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.3806, allocations: 31.98 kB / 1.345 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/0.3818, allocations: 0.5527 MB / 1.345 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008073/0.3827, allocations: 497.6 kB / 1.346 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.3841, allocations: 0.7003 MB / 1.347 GB, free: 304 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/0.3841, allocations: 0 / 1.347 GB, free: 304 kB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004992/0.3891, allocations: 1.269 MB / 1.348 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3892, allocations: 4 kB / 1.348 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3892, allocations: 4 kB / 1.348 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.3898, allocations: 149.1 kB / 1.348 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005829/0.3904, allocations: 163.7 kB / 1.348 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000812/0.3912, allocations: 0.7232 MB / 1.349 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3925, allocations: 139.5 kB / 1.349 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.3926, allocations: 31.98 kB / 1.349 GB, free: 13.79 MB / 0.8542 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.0002776/0.3929, allocations: 228.7 kB / 1.349 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.3933, allocations: 138.2 kB / 1.349 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/0.3979, allocations: 1.248 MB / 1.351 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.3979, allocations: 11.92 kB / 1.351 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.398, allocations: 4 kB / 1.351 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005014/0.403, allocations: 1.084 MB / 1.352 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/0.4091, allocations: 2.31 MB / 1.354 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.4091, allocations: 4 kB / 1.354 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.4099, allocations: 111.9 kB / 1.354 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008575/0.4107, allocations: 148.9 kB / 1.354 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.906e-05/0.4108, allocations: 23.92 kB / 1.354 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009029/0.4117, allocations: 0.7006 MB / 1.355 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.4117, allocations: 7.938 kB / 1.355 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03732/0.4491, allocations: 11.68 MB / 1.366 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000912/0.45, allocations: 311.3 kB / 1.367 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.4503, allocations: 16 kB / 1.367 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.4512, allocations: 87.84 kB / 1.367 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4513, allocations: 56.25 kB / 1.367 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.4514, allocations: 27.98 kB / 1.367 GB, free: 11 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00115/0.4525, allocations: 0.8817 MB / 1.368 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4525, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003069/0.4556, allocations: 1.104 MB / 1.369 GB, free: 9.008 MB / 0.8698 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.001058/0.4567, allocations: 468.1 kB / 1.369 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002715/0.4594, allocations: 1.117 MB / 1.37 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.4594, allocations: 4 kB / 1.37 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.4604, allocations: 387.3 kB / 1.371 GB, free: 7.047 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/0.464, allocations: 0.7579 MB / 1.371 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.4688, allocations: 3.376 MB / 1.375 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.4696, allocations: 1.198 MB / 1.376 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001359/0.471, allocations: 311.1 kB / 1.376 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.4712, allocations: 111.4 kB / 1.376 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/0.4712, allocations: 0 / 1.376 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.06233/0.5336, allocations: 33.84 MB / 1.409 GB, free: 15.63 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)