Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 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.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y.1.|y1.y.2.|heaPum.heaPum.uMod|heaPum.m_flow|heaPum.heaPum.m1_flow|heaPum.mHeaWatUni_flow_nominal|heaPum.weaBus.TDryBul|THeaWatSupSet.y|THeaWatRet.T|THeaWatSup.T|heaPum.heaPum.PLR|heaPum.heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1.y.1.|y1.y.2.|heaPum.heaPum.uMod|heaPum.m_flow|heaPum.heaPum.m1_flow|heaPum.mHeaWatUni_flow_nominal|heaPum.weaBus.TDryBul|THeaWatSupSet.y|THeaWatRet.T|THeaWatSup.T|heaPum.heaPum.PLR|heaPum.heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001948/0.001949, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 59.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8427/0.8442, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup): time 0.2766/1.121, allocations: 268.4 MB / 1.429 GB, free: 6.496 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0446/1.166, allocations: 32.84 MB / 1.462 GB, free: 5.562 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005495/1.171, allocations: 131.3 kB / 1.462 GB, free: 5.434 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.008382/1.179, allocations: 2.973 MB / 1.465 GB, free: 2.445 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01485/1.194, allocations: 5.498 MB / 1.47 GB, free: 12.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01066/1.205, allocations: 4.114 MB / 1.474 GB, free: 8.832 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02266/1.228, allocations: 16.51 MB / 1.49 GB, free: 8.293 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007431/1.235, allocations: 4.486 MB / 1.494 GB, free: 3.723 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009619/1.245, allocations: 4.249 MB / 1.499 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005867/1.251, allocations: 3.269 MB / 1.502 GB, free: 12.2 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001942/1.253, allocations: 0.582 MB / 1.502 GB, free: 11.62 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009514/1.262, allocations: 4.301 MB / 1.507 GB, free: 7.309 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002687/1.265, allocations: 1.913 MB / 1.508 GB, free: 5.391 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005087/1.27, allocations: 3.049 MB / 1.511 GB, free: 2.328 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01615/1.286, allocations: 10.68 MB / 1.522 GB, free: 7.621 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.286, allocations: 0 / 1.522 GB, free: 7.621 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.452e-06/1.286, allocations: 0 / 1.522 GB, free: 7.621 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002665/1.287, allocations: 0 / 1.522 GB, free: 7.621 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 758 * Number of variables: 758 Notification: Performance of Generate backend data structure: time 0.0202/1.307, allocations: 6.201 MB / 1.528 GB, free: 1.324 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.307, allocations: 8.922 kB / 1.528 GB, free: 1.316 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006789/1.314, allocations: 1.086 MB / 1.529 GB, free: 228 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.326, allocations: 5.186 MB / 1.534 GB, free: 10.95 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003701/1.326, allocations: 325.9 kB / 1.534 GB, free: 10.62 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007926/1.327, allocations: 320 kB / 1.535 GB, free: 10.3 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007425/1.334, allocations: 3.87 MB / 1.538 GB, free: 6.312 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/1.334, allocations: 3.938 kB / 1.538 GB, free: 6.309 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/1.335, allocations: 132 kB / 1.539 GB, free: 6.18 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/1.335, allocations: 117.7 kB / 1.539 GB, free: 6.062 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007403/1.342, allocations: 3.754 MB / 1.542 GB, free: 2.297 MB / 1.264 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.02576/1.368, allocations: 15.49 MB / 1.557 GB, free: 2.215 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6563/2.024, allocations: 2.816 MB / 1.56 GB, free: 378.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/2.028, allocations: 1.405 MB / 1.562 GB, free: 378.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/2.04, allocations: 6.489 MB / 1.568 GB, free: 374.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003022/2.043, allocations: 1.875 MB / 1.57 GB, free: 373.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=231): time 4.609e-06/2.043, allocations: 0 / 1.57 GB, free: 373.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=233): time 0.0187/2.061, allocations: 8.817 MB / 1.578 GB, free: 370 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/2.061, allocations: 233.5 kB / 1.579 GB, free: 369.7 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005449/2.067, allocations: 4.268 MB / 1.583 GB, free: 368.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/2.068, allocations: 89.23 kB / 1.583 GB, free: 368 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/2.069, allocations: 1.964 MB / 1.585 GB, free: 366.5 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008034/2.07, allocations: 0.7663 MB / 1.585 GB, free: 365.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/2.071, allocations: 0.6916 MB / 1.586 GB, free: 365.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.749e-05/2.071, allocations: 305.8 kB / 1.586 GB, free: 365.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/2.074, allocations: 1.679 MB / 1.588 GB, free: 364.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003331/2.077, allocations: 2.616 MB / 1.591 GB, free: 362.5 MB / 1.279 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: heaPum.heaPum.vol2.dynBal.medium.p = heaPum.heaPum.vol2.dynBal.p_start (heaPum.airSin.p = heaPum.heaPum.vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0265/2.103, allocations: 10.39 MB / 1.601 GB, free: 352.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/2.103, allocations: 4 kB / 1.601 GB, free: 352.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.008449/2.112, allocations: 4.713 MB / 1.605 GB, free: 347.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/2.112, allocations: 15.81 kB / 1.605 GB, free: 347.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/2.112, allocations: 12 kB / 1.605 GB, free: 347.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/2.113, allocations: 296.1 kB / 1.606 GB, free: 347 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/2.116, allocations: 0.6279 MB / 1.606 GB, free: 346.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/2.118, allocations: 2.367 MB / 1.609 GB, free: 343.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/2.122, allocations: 256.4 kB / 1.609 GB, free: 343.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000437/2.123, allocations: 139.9 kB / 1.609 GB, free: 343.5 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: heaPum.heaPum.vol2.dynBal.medium.p = heaPum.heaPum.vol2.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004383/2.127, allocations: 2.581 MB / 1.612 GB, free: 340.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00319/2.131, allocations: 2.498 MB / 1.614 GB, free: 338.1 MB / 1.279 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: heaPum.heaPum.vol2.dynBal.medium.p = heaPum.heaPum.vol2.dynBal.p_start (heaPum.airSin.p = heaPum.heaPum.vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02627/2.157, allocations: 9.982 MB / 1.624 GB, free: 328 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.156e-05/2.157, allocations: 4 kB / 1.624 GB, free: 328 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization_lambda0): time 0.009081/2.166, allocations: 4.512 MB / 1.628 GB, free: 323.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/2.166, allocations: 8.781 kB / 1.628 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/2.166, allocations: 16.03 kB / 1.628 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/2.167, allocations: 321.4 kB / 1.628 GB, free: 323.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/2.17, allocations: 0.6241 MB / 1.629 GB, free: 322.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/2.176, allocations: 5.634 MB / 1.635 GB, free: 316.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005729/2.182, allocations: 299.2 kB / 1.635 GB, free: 316.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006436/2.183, allocations: 139.9 kB / 1.635 GB, free: 316.1 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: heaPum.heaPum.vol2.dynBal.medium.p = heaPum.heaPum.vol2.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 38 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],heaPum.preY1[2].u,heaPum.preY1[1].u,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.heaPum.preY1[2].u,$PRE.heaPum.preY1[1].u,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,heaPum.reaToInt.y,heaPum.preY1[2].y,heaPum.preY1[1].y,heaPum.heaPum.aleMes.u,heaPum.com.y1One,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 340 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009286/2.184, allocations: 379.8 kB / 1.635 GB, free: 315.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.185, allocations: 426.7 kB / 1.636 GB, free: 315.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007533/2.192, allocations: 3.85 MB / 1.64 GB, free: 311.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005256/2.198, allocations: 3.096 MB / 1.643 GB, free: 308.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/2.198, allocations: 96 / 1.643 GB, free: 308.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/2.2, allocations: 0.9014 MB / 1.643 GB, free: 307.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/2.201, allocations: 52 kB / 1.643 GB, free: 307.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/2.204, allocations: 182.3 kB / 1.644 GB, free: 307 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/2.204, allocations: 197.2 kB / 1.644 GB, free: 306.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007298/2.212, allocations: 3.552 MB / 1.647 GB, free: 303.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008447/2.22, allocations: 5.419 MB / 1.653 GB, free: 297.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002199/2.222, allocations: 1.491 MB / 1.654 GB, free: 296.3 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004042/2.227, allocations: 2.901 MB / 1.657 GB, free: 293.4 MB / 1.279 GB Notification: Performance of Backend: time 8.82e-07/2.227, allocations: 0 / 1.657 GB, free: 293.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01449/2.241, allocations: 6.715 MB / 1.663 GB, free: 287.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.01595/2.257, allocations: 9.586 MB / 1.673 GB, free: 277.5 MB / 1.279 GB Notification: Performance of Templates: time 0.1463/2.403, allocations: 114.5 MB / 1.785 GB, free: 164 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe 2>&1)