Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup") translateModel(Buildings.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_latest_Buildings.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.001427/0.001427, allocations: 115.1 kB / 16.42 MB, free: 6.504 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.001349/0.001349, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 63.91 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.164/1.166, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup): time 0.2901/1.456, allocations: 268.3 MB / 1.488 GB, free: 204 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.04801/1.504, allocations: 32.8 MB / 1.52 GB, free: 15.31 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005881/1.51, allocations: 135.3 kB / 1.521 GB, free: 15.18 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.008393/1.518, allocations: 2.962 MB / 1.523 GB, free: 12.2 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/1.534, allocations: 5.497 MB / 1.529 GB, free: 6.684 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.01141/1.545, allocations: 4.117 MB / 1.533 GB, free: 2.59 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.02384/1.569, allocations: 16.5 MB / 1.549 GB, free: 2.051 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008737/1.578, allocations: 4.482 MB / 1.553 GB, free: 13.48 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0115/1.589, allocations: 4.245 MB / 1.557 GB, free: 9.242 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/1.596, allocations: 3.261 MB / 1.561 GB, free: 5.973 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.00221/1.598, allocations: 0.5859 MB / 1.561 GB, free: 5.387 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01106/1.609, allocations: 4.301 MB / 1.565 GB, free: 1.078 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.9207/2.53, allocations: 1.911 MB / 1.567 GB, free: 35.91 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/2.541, allocations: 3.044 MB / 1.57 GB, free: 35.91 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02518/2.566, allocations: 10.54 MB / 1.581 GB, free: 35.38 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/2.566, allocations: 0 / 1.581 GB, free: 35.38 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.164e-06/2.566, allocations: 0 / 1.581 GB, free: 35.38 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003427/2.567, allocations: 0 / 1.581 GB, free: 35.38 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 759 * Number of variables: 759 Notification: Performance of Generate backend data structure: time 0.02159/2.588, allocations: 6.371 MB / 1.587 GB, free: 32.6 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/2.588, allocations: 8.25 kB / 1.587 GB, free: 32.6 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007412/2.596, allocations: 1.108 MB / 1.588 GB, free: 32.29 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/2.608, allocations: 5.21 MB / 1.593 GB, free: 31.36 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/2.609, allocations: 322.3 kB / 1.593 GB, free: 31.29 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/2.61, allocations: 327.3 kB / 1.594 GB, free: 31.28 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/2.618, allocations: 3.872 MB / 1.597 GB, free: 30.92 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-05/2.618, allocations: 3.281 kB / 1.597 GB, free: 30.92 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004409/2.619, allocations: 129.2 kB / 1.598 GB, free: 30.92 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/2.619, allocations: 119.9 kB / 1.598 GB, free: 30.91 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008267/2.627, allocations: 3.762 MB / 1.601 GB, free: 30.88 MB / 1.279 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.02778/2.655, allocations: 15.51 MB / 1.616 GB, free: 26.12 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/2.66, allocations: 2.831 MB / 1.619 GB, free: 25.98 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/2.663, allocations: 1.397 MB / 1.621 GB, free: 25.97 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/2.675, allocations: 6.482 MB / 1.627 GB, free: 24.06 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003217/2.678, allocations: 1.888 MB / 1.629 GB, free: 23.95 MB / 1.279 GB Notification: Performance of pre-optimization done (n=231): time 4.168e-06/2.678, allocations: 0 / 1.629 GB, free: 23.95 MB / 1.279 GB Notification: Performance of matching and sorting (n=233): time 0.02229/2.7, allocations: 8.932 MB / 1.637 GB, free: 21.88 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/2.7, allocations: 243 kB / 1.638 GB, free: 21.62 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008501/2.709, allocations: 4.263 MB / 1.642 GB, free: 21.27 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009909/2.71, allocations: 87.7 kB / 1.642 GB, free: 21.23 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002272/2.712, allocations: 1.983 MB / 1.644 GB, free: 20.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001307/2.714, allocations: 0.808 MB / 1.645 GB, free: 20.17 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/2.716, allocations: 0.6974 MB / 1.645 GB, free: 20.12 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.085e-05/2.716, allocations: 305.6 kB / 1.646 GB, free: 19.83 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003492/2.72, allocations: 1.685 MB / 1.647 GB, free: 19.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004142/2.724, allocations: 2.616 MB / 1.65 GB, free: 19 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.02901/2.753, allocations: 10.39 MB / 1.66 GB, free: 18.18 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/2.753, allocations: 4.969 kB / 1.66 GB, free: 18.18 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.01041/2.763, allocations: 4.745 MB / 1.665 GB, free: 17.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/2.763, allocations: 7.781 kB / 1.665 GB, free: 17.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/2.764, allocations: 15.94 kB / 1.665 GB, free: 17.79 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/2.765, allocations: 296.2 kB / 1.665 GB, free: 17.78 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/2.767, allocations: 0.6311 MB / 1.666 GB, free: 17.77 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/2.77, allocations: 2.361 MB / 1.668 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/2.775, allocations: 252 kB / 1.668 GB, free: 15.86 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/2.775, allocations: 143.2 kB / 1.668 GB, free: 15.86 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.00575/2.781, allocations: 2.58 MB / 1.671 GB, free: 15.77 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003973/2.785, allocations: 2.503 MB / 1.673 GB, free: 14.96 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.02738/2.813, allocations: 9.985 MB / 1.683 GB, free: 12.36 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.961e-05/2.813, allocations: 2.656 kB / 1.683 GB, free: 12.36 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization_lambda0): time 0.01083/2.823, allocations: 4.54 MB / 1.687 GB, free: 10.52 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/2.823, allocations: 11.59 kB / 1.687 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/2.824, allocations: 14.44 kB / 1.687 GB, free: 10.52 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/2.825, allocations: 313.2 kB / 1.688 GB, free: 10.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/2.828, allocations: 0.6264 MB / 1.688 GB, free: 10.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/2.834, allocations: 5.639 MB / 1.694 GB, free: 6.133 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005938/2.84, allocations: 300.5 kB / 1.694 GB, free: 6.059 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/2.841, allocations: 136.5 kB / 1.694 GB, free: 6.035 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.heaPum.aleMes.u,heaPum.com.y1One,heaPum.com.y1[1],$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.001412/2.842, allocations: 379.7 kB / 1.695 GB, free: 5.758 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/2.844, allocations: 448 kB / 1.695 GB, free: 5.516 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009092/2.853, allocations: 3.85 MB / 1.699 GB, free: 3.988 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005879/2.859, allocations: 3.1 MB / 1.702 GB, free: 2.621 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/2.859, allocations: 7.188 kB / 1.702 GB, free: 2.617 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/2.862, allocations: 0.9184 MB / 1.703 GB, free: 2.008 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/2.863, allocations: 57.91 kB / 1.703 GB, free: 1.969 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/2.867, allocations: 169.8 kB / 1.703 GB, free: 1.93 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/2.867, allocations: 189.7 kB / 1.703 GB, free: 1.902 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007964/2.875, allocations: 3.55 MB / 1.707 GB, free: 32 kB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01064/2.886, allocations: 5.446 MB / 1.712 GB, free: 10.66 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002683/2.889, allocations: 1.495 MB / 1.713 GB, free: 9.16 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006911/2.896, allocations: 2.901 MB / 1.716 GB, free: 6.262 MB / 1.295 GB Notification: Performance of Backend: time 2.144e-06/2.896, allocations: 3.562 kB / 1.716 GB, free: 6.262 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02334/2.919, allocations: 6.701 MB / 1.723 GB, free: 16 kB / 1.295 GB Notification: Performance of SimCode: time 0.02475/2.944, allocations: 9.718 MB / 1.732 GB, free: 6.328 MB / 1.311 GB Notification: Performance of Templates: time 0.1878/3.132, allocations: 113.8 MB / 1.843 GB, free: 6.047 MB / 1.42 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup.pipe 2>&1)