Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.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.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.thermalZoneOneElement.TAir|bui.terUni.QActHea_flow|bui.terUni.QActCoo_flow|supHeaWat.T_in|bui.disFloHea.senTSup.T|bui.terUni.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|supChiWat.T_in|bui.disFloCoo.senTSup.T|bui.terUni.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") translateModel(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.thermalZoneOneElement.TAir|bui.terUni.QActHea_flow|bui.terUni.QActCoo_flow|supHeaWat.T_in|bui.disFloHea.senTSup.T|bui.terUni.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|supChiWat.T_in|bui.disFloCoo.senTSup.T|bui.terUni.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 109.8 kB / 16.42 MB, free: 6.516 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.001447/0.001447, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 472.7 MB / 0.746 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8284/0.8297, allocations: 159.9 MB / 1.226 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve): time 1.567/2.396, allocations: 0.6953 GB / 1.922 GB, free: 6.074 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 0.192/2.588, allocations: 132.2 MB / 2.051 GB, free: 1.559 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03029/2.619, allocations: 0.6178 MB / 2.051 GB, free: 0.9375 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.02581/2.645, allocations: 8.951 MB / 2.06 GB, free: 7.941 MB / 1.545 GB Notification: Performance of NFTyping.typeBindings: time 0.06345/2.708, allocations: 21.23 MB / 2.081 GB, free: 2.641 MB / 1.561 GB Notification: Performance of NFTyping.typeClassSections: time 0.04015/2.748, allocations: 14.81 MB / 2.095 GB, free: 3.941 MB / 1.576 GB Notification: Performance of NFFlatten.flatten: time 0.08808/2.836, allocations: 54.85 MB / 2.149 GB, free: 12.96 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0436/2.88, allocations: 19.39 MB / 2.168 GB, free: 9.414 MB / 1.654 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04362/2.924, allocations: 17.84 MB / 2.185 GB, free: 7.555 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02486/2.949, allocations: 12.05 MB / 2.197 GB, free: 11.48 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.008642/2.957, allocations: 2.449 MB / 2.199 GB, free: 9.027 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148/5.105, allocations: 12.34 MB / 2.211 GB, free: 104.6 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01239/5.118, allocations: 5.75 MB / 2.217 GB, free: 104.6 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.03443/5.152, allocations: 10.84 MB / 2.228 GB, free: 104.6 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.07609/5.228, allocations: 37.34 MB / 2.264 GB, free: 101.1 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/5.228, allocations: 1.875 kB / 2.264 GB, free: 101.1 MB / 1.686 GB Notification: Performance of FrontEnd: time 2.364e-06/5.228, allocations: 1.906 kB / 2.264 GB, free: 101.1 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.001424/5.23, allocations: 3.75 kB / 2.264 GB, free: 101.1 MB / 1.686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2747 * Number of variables: 2747 Notification: Performance of Generate backend data structure: time 0.0871/5.317, allocations: 20.45 MB / 2.284 GB, free: 92.66 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/5.317, allocations: 8.312 kB / 2.284 GB, free: 92.66 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04677/5.364, allocations: 7.264 MB / 2.291 GB, free: 91.62 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0678/5.431, allocations: 22.51 MB / 2.313 GB, free: 88.98 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001841/5.433, allocations: 0.8755 MB / 2.314 GB, free: 88.92 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007806/5.441, allocations: 1.096 MB / 2.315 GB, free: 88.91 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0698/5.511, allocations: 16.3 MB / 2.331 GB, free: 87.44 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008815/5.512, allocations: 21.3 kB / 2.331 GB, free: 87.44 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007065/5.519, allocations: 459.7 kB / 2.331 GB, free: 87.44 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005923/5.52, allocations: 397.5 kB / 2.332 GB, free: 87.41 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05707/5.577, allocations: 16.42 MB / 2.348 GB, free: 87.2 MB / 1.686 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.1482/5.725, allocations: 72.77 MB / 2.419 GB, free: 54.88 MB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/5.752, allocations: 10.35 MB / 2.429 GB, free: 52.6 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01722/5.769, allocations: 6.012 MB / 2.435 GB, free: 51.6 MB / 1.686 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 evalFunc (simulation): time 0.06041/5.83, allocations: 23.01 MB / 2.457 GB, free: 41.75 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0206/5.85, allocations: 6.631 MB / 2.464 GB, free: 39.94 MB / 1.686 GB Notification: Performance of pre-optimization done (n=638): time 1.727e-05/5.851, allocations: 0 / 2.464 GB, free: 39.94 MB / 1.686 GB Notification: Performance of matching and sorting (n=638): time 0.1092/5.96, allocations: 23.97 MB / 2.487 GB, free: 27.99 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/5.96, allocations: 408.4 kB / 2.488 GB, free: 27.57 MB / 1.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0425/6.002, allocations: 13.49 MB / 2.501 GB, free: 17.83 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.003772/6.006, allocations: 183.7 kB / 2.501 GB, free: 17.64 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.01294/6.019, allocations: 7.098 MB / 2.508 GB, free: 10.55 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.00553/6.025, allocations: 2.282 MB / 2.51 GB, free: 8.305 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01607/6.041, allocations: 2.161 MB / 2.512 GB, free: 6.137 MB / 1.686 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/6.041, allocations: 301.1 kB / 2.513 GB, free: 5.84 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01836/6.059, allocations: 6.674 MB / 2.519 GB, free: 15.16 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02616/6.086, allocations: 9.198 MB / 2.528 GB, free: 5.004 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04072/6.126, allocations: 14.95 MB / 2.543 GB, free: 5.465 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/6.127, allocations: 24 kB / 2.543 GB, free: 5.441 MB / 1.717 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.06592/6.193, allocations: 18.51 MB / 2.561 GB, free: 3.238 MB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/6.193, allocations: 32.19 kB / 2.561 GB, free: 3.207 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/6.193, allocations: 60.05 kB / 2.561 GB, free: 3.148 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/6.203, allocations: 3.102 MB / 2.564 GB, free: 28 kB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/6.218, allocations: 2.384 MB / 2.566 GB, free: 13.77 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/6.244, allocations: 16.31 MB / 2.582 GB, free: 12.73 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02084/6.265, allocations: 1.618 MB / 2.584 GB, free: 11.11 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004286/6.269, allocations: 483.8 kB / 2.584 GB, free: 10.64 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03302/6.302, allocations: 10.1 MB / 2.594 GB, free: 0.5352 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02597/6.328, allocations: 8.884 MB / 2.603 GB, free: 6.691 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04111/6.37, allocations: 14.36 MB / 2.617 GB, free: 7.746 MB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001074/6.37, allocations: 16 kB / 2.617 GB, free: 7.73 MB / 1.795 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.06475/6.434, allocations: 17.91 MB / 2.634 GB, free: 6.133 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 9.631e-05/6.435, allocations: 32 kB / 2.634 GB, free: 6.102 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/6.435, allocations: 60 kB / 2.634 GB, free: 6.043 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/6.445, allocations: 3.09 MB / 2.637 GB, free: 2.941 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/6.459, allocations: 2.359 MB / 2.64 GB, free: 0.7031 MB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02332/6.483, allocations: 14.86 MB / 2.654 GB, free: 1.172 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02028/6.503, allocations: 1.403 MB / 2.655 GB, free: 15.77 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004037/6.507, allocations: 467.8 kB / 2.656 GB, free: 15.31 MB / 1.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.bui.intGai.nextTimeEvent,$whenCondition10,bui.disFloCoo.conVal.fixMod.y,bui.disFloHea.conVal.fixMod.y,bui.disFloCoo.conVal.conTSup.con1.y,bui.disFloHea.conVal.conTSup.con1.y,bui.terUni.conCoo.con1.y,bui.terUni.conHea.con1.y,bui.disFloCoo.conVal.conTSup.cheYMinMax.y,bui.disFloHea.conVal.conTSup.cheYMinMax.y,bui.terUni.hexHea.flowRegime_nominal,bui.terUni.hexHea.flowRegime,bui.terUni.hexWetNtu.flowRegime_nominal,bui.terUni.hexWetNtu.dryWetCalcs.fullyDry.cfg,bui.terUni.hexWetNtu.dryWetCalcs.fullyWet.cfg,bui.terUni.hexWetNtu.dryWetCalcs.cfg,bui.terUni.hexWetNtu.flowRegime,bui.terUni.hexWetNtu.UAFroRated.isFulWet,bui.terUni.hexWetNtu.UAFroRated.isFulDry,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,bui.intGai.nextTimeEventScaled,$PRE.bui.intGai.nextTimeEventScaled,bui.intGai.nextTimeEvent,bui.HDirTil[2].incAng.decAng.tNext,$PRE.bui.HDirTil[2].incAng.decAng.tNext,bui.HDirTil[1].incAng.decAng.tNext,$PRE.bui.HDirTil[1].incAng.decAng.tNext,bui.HDifTil[2].incAng.decAng.tNext,$PRE.bui.HDifTil[2].incAng.decAng.tNext,bui.HDifTil[1].incAng.decAng.tNext,$PRE.bui.HDifTil[1].incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 1045 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,4,100.0%), (1,4,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,45), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.007364/6.514, allocations: 0.7445 MB / 2.657 GB, free: 14.68 MB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008208/6.523, allocations: 1.362 MB / 2.658 GB, free: 13.31 MB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07013/6.593, allocations: 15.52 MB / 2.673 GB, free: 13.78 MB / 1.858 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05662/6.649, allocations: 12.65 MB / 2.685 GB, free: 1.066 MB / 1.858 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.002e-05/6.65, allocations: 4 kB / 2.686 GB, free: 1.062 MB / 1.858 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01265/6.662, allocations: 3.083 MB / 2.689 GB, free: 13.95 MB / 1.873 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007633/6.67, allocations: 135.9 kB / 2.689 GB, free: 13.81 MB / 1.873 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01597/6.686, allocations: 0.8373 MB / 2.689 GB, free: 12.98 MB / 1.873 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002759/6.689, allocations: 451 kB / 2.69 GB, free: 12.54 MB / 1.873 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05703/6.746, allocations: 14.12 MB / 2.704 GB, free: 14.46 MB / 1.889 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06185/6.808, allocations: 19.68 MB / 2.723 GB, free: 10.7 MB / 1.904 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01553/6.823, allocations: 5.67 MB / 2.728 GB, free: 5.004 MB / 1.904 GB Notification: Performance of sorting global known variables: time 0.02814/6.851, allocations: 9.193 MB / 2.737 GB, free: 11.88 MB / 1.92 GB Notification: Performance of Backend: time 1.703e-06/6.852, allocations: 0 / 2.737 GB, free: 11.88 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.09396/6.945, allocations: 23.63 MB / 2.76 GB, free: 5.395 MB / 1.936 GB Notification: Performance of SimCode: time 0.1093/7.055, allocations: 31.45 MB / 2.791 GB, free: 6.176 MB / 1.967 GB Notification: Performance of Templates: time 1.434/8.489, allocations: 356.6 MB / 3.139 GB, free: 0.9274 GB / 2.108 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe 2>&1)