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.001186/0.001187, allocations: 111.7 kB / 16.42 MB, free: 6.48 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.001221/0.001221, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.387/1.387, allocations: 222.9 MB / 241.1 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.574/2.574, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8992, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.HeatPumpGroup): time 0.2827/1.182, allocations: 268.4 MB / 1.429 GB, free: 6.418 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04813/1.23, allocations: 32.83 MB / 1.462 GB, free: 5.488 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005451/1.236, allocations: 131.3 kB / 1.462 GB, free: 5.359 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.008195/1.244, allocations: 2.975 MB / 1.465 GB, free: 2.371 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01478/1.259, allocations: 5.502 MB / 1.47 GB, free: 12.85 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/1.269, allocations: 4.11 MB / 1.474 GB, free: 8.762 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02336/1.293, allocations: 16.51 MB / 1.49 GB, free: 8.219 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008059/1.301, allocations: 4.494 MB / 1.494 GB, free: 3.641 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009838/1.311, allocations: 4.234 MB / 1.499 GB, free: 15.41 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006748/1.317, allocations: 3.267 MB / 1.502 GB, free: 12.13 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.002241/1.32, allocations: 0.5859 MB / 1.502 GB, free: 11.55 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.331, allocations: 4.289 MB / 1.507 GB, free: 7.25 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.003445/1.334, allocations: 1.913 MB / 1.508 GB, free: 5.332 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.007103/1.341, allocations: 3.053 MB / 1.511 GB, free: 2.266 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.02001/1.361, allocations: 10.72 MB / 1.522 GB, free: 7.508 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.361, allocations: 3.938 kB / 1.522 GB, free: 7.504 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.525e-06/1.361, allocations: 0 / 1.522 GB, free: 7.504 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003275/1.362, allocations: 0 / 1.522 GB, free: 7.504 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.01876/1.38, allocations: 6.381 MB / 1.528 GB, free: 1.02 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/1.38, allocations: 8.922 kB / 1.528 GB, free: 1.012 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006954/1.387, allocations: 1.117 MB / 1.529 GB, free: 15.89 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.4, allocations: 5.216 MB / 1.534 GB, free: 10.59 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004882/1.401, allocations: 329.9 kB / 1.535 GB, free: 10.26 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/1.402, allocations: 320 kB / 1.535 GB, free: 9.945 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/1.413, allocations: 3.866 MB / 1.539 GB, free: 5.957 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/1.413, allocations: 7.891 kB / 1.539 GB, free: 5.949 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008575/1.414, allocations: 124 kB / 1.539 GB, free: 5.828 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/1.414, allocations: 121.7 kB / 1.539 GB, free: 5.707 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008906/1.423, allocations: 3.75 MB / 1.543 GB, free: 1.945 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.02791/1.451, allocations: 15.53 MB / 1.558 GB, free: 1.828 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7076/2.159, allocations: 2.813 MB / 1.561 GB, free: 378.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/2.162, allocations: 1.401 MB / 1.562 GB, free: 378 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/2.174, allocations: 6.507 MB / 1.568 GB, free: 374.1 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002995/2.177, allocations: 1.878 MB / 1.57 GB, free: 373.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=231): time 4.899e-06/2.177, allocations: 0 / 1.57 GB, free: 373.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=233): time 0.0177/2.195, allocations: 8.933 MB / 1.579 GB, free: 369.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/2.195, allocations: 238.4 kB / 1.579 GB, free: 369.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005598/2.201, allocations: 4.276 MB / 1.583 GB, free: 367.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004999/2.201, allocations: 84.52 kB / 1.583 GB, free: 367.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/2.203, allocations: 1.976 MB / 1.585 GB, free: 366.2 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006807/2.204, allocations: 0.8065 MB / 1.586 GB, free: 365.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009777/2.204, allocations: 0.6969 MB / 1.587 GB, free: 365.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/2.205, allocations: 309 kB / 1.587 GB, free: 365 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/2.207, allocations: 1.677 MB / 1.589 GB, free: 364.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003449/2.21, allocations: 2.618 MB / 1.591 GB, free: 361.9 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.02487/2.235, allocations: 10.39 MB / 1.601 GB, free: 351.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/2.235, allocations: 4 kB / 1.601 GB, free: 351.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization): time 0.007815/2.243, allocations: 4.738 MB / 1.606 GB, free: 346.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/2.243, allocations: 15.98 kB / 1.606 GB, free: 346.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/2.243, allocations: 15.39 kB / 1.606 GB, free: 346.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/2.244, allocations: 297.4 kB / 1.606 GB, free: 346.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/2.247, allocations: 0.6318 MB / 1.607 GB, free: 345.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/2.249, allocations: 2.361 MB / 1.609 GB, free: 343.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/2.253, allocations: 257.9 kB / 1.609 GB, free: 343.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/2.254, allocations: 143.9 kB / 1.61 GB, free: 342.9 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.003985/2.258, allocations: 2.583 MB / 1.612 GB, free: 340.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002882/2.261, allocations: 2.497 MB / 1.615 GB, free: 337.6 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.02524/2.286, allocations: 9.978 MB / 1.624 GB, free: 327.5 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.767e-05/2.286, allocations: 4 kB / 1.624 GB, free: 327.5 MB / 1.279 GB Notification: Performance of matching and sorting (n=387) (initialization_lambda0): time 0.007984/2.294, allocations: 4.531 MB / 1.629 GB, free: 322.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/2.294, allocations: 12 kB / 1.629 GB, free: 322.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/2.294, allocations: 12 kB / 1.629 GB, free: 322.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/2.295, allocations: 325.4 kB / 1.629 GB, free: 322.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/2.298, allocations: 0.6124 MB / 1.63 GB, free: 321.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/2.304, allocations: 5.64 MB / 1.635 GB, free: 315.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/2.309, allocations: 305.2 kB / 1.635 GB, free: 315.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004055/2.309, allocations: 135.9 kB / 1.636 GB, free: 315.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_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.0007257/2.31, allocations: 385 kB / 1.636 GB, free: 315.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008681/2.311, allocations: 449.1 kB / 1.636 GB, free: 314.7 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006976/2.318, allocations: 3.847 MB / 1.64 GB, free: 310.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005023/2.323, allocations: 3.1 MB / 1.643 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/2.323, allocations: 0 / 1.643 GB, free: 307.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/2.325, allocations: 0.9236 MB / 1.644 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006909/2.325, allocations: 54.09 kB / 1.644 GB, free: 306.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/2.328, allocations: 182.3 kB / 1.644 GB, free: 306.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/2.328, allocations: 189.7 kB / 1.644 GB, free: 306.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006755/2.335, allocations: 3.553 MB / 1.648 GB, free: 302.7 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007854/2.343, allocations: 5.455 MB / 1.653 GB, free: 297.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002108/2.345, allocations: 1.484 MB / 1.655 GB, free: 295.7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003633/2.349, allocations: 2.909 MB / 1.658 GB, free: 292.8 MB / 1.279 GB Notification: Performance of Backend: time 4.81e-07/2.349, allocations: 0 / 1.658 GB, free: 292.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01279/2.361, allocations: 6.734 MB / 1.664 GB, free: 286.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.01449/2.376, allocations: 9.713 MB / 1.674 GB, free: 276.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1444/2.52, allocations: 114.5 MB / 1.785 GB, free: 163.3 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)