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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001127/0.001127, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001139/0.001139, allocations: 190.7 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8335, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve): time 1.48/2.314, allocations: 0.6953 GB / 1.904 GB, free: 14.13 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.2021/2.516, allocations: 132.2 MB / 2.033 GB, free: 9.668 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0331/2.549, allocations: 0.6216 MB / 2.033 GB, free: 9.043 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.02549/2.574, allocations: 8.744 MB / 2.042 GB, free: 260 kB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.06528/2.64, allocations: 20.24 MB / 2.062 GB, free: 11.94 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.03737/2.677, allocations: 14.78 MB / 2.076 GB, free: 13.26 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.078/2.755, allocations: 54.81 MB / 2.13 GB, free: 6.332 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.043/2.798, allocations: 19.41 MB / 2.149 GB, free: 2.762 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04292/2.841, allocations: 17.73 MB / 2.166 GB, free: 1.02 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02318/2.864, allocations: 12.03 MB / 2.178 GB, free: 4.961 MB / 1.654 GB Notification: Performance of NFPackage.collectConstants: time 0.008784/2.873, allocations: 2.449 MB / 2.18 GB, free: 2.512 MB / 1.654 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0311/2.904, allocations: 12.33 MB / 2.192 GB, free: 6.16 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.009783/2.914, allocations: 5.75 MB / 2.198 GB, free: 404 kB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 2.196/5.11, allocations: 10.84 MB / 2.208 GB, free: 105.4 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 0.07799/5.188, allocations: 37.24 MB / 2.245 GB, free: 104 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/5.188, allocations: 0 / 2.245 GB, free: 104 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.635e-06/5.188, allocations: 3.125 kB / 2.245 GB, free: 104 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.001445/5.19, allocations: 0.5 kB / 2.245 GB, free: 104 MB / 1.67 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.09016/5.28, allocations: 19.88 MB / 2.264 GB, free: 96.2 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/5.28, allocations: 14.05 kB / 2.264 GB, free: 96.2 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.047/5.327, allocations: 7.165 MB / 2.271 GB, free: 95.25 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05582/5.383, allocations: 22.39 MB / 2.293 GB, free: 92.68 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001551/5.384, allocations: 0.8807 MB / 2.294 GB, free: 92.62 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007069/5.391, allocations: 1.098 MB / 2.295 GB, free: 92.62 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06158/5.453, allocations: 16.3 MB / 2.311 GB, free: 91.14 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005884/5.454, allocations: 24.05 kB / 2.311 GB, free: 91.13 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005993/5.46, allocations: 455.1 kB / 2.311 GB, free: 91.13 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004275/5.46, allocations: 397.4 kB / 2.312 GB, free: 91.11 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05371/5.514, allocations: 16.42 MB / 2.328 GB, free: 90.89 MB / 1.67 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.1612/5.675, allocations: 72.63 MB / 2.399 GB, free: 60.1 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02915/5.704, allocations: 10.35 MB / 2.409 GB, free: 57.81 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01841/5.723, allocations: 6.018 MB / 2.415 GB, free: 56.81 MB / 1.67 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.06836/5.791, allocations: 22.99 MB / 2.437 GB, free: 46.98 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02339/5.815, allocations: 6.627 MB / 2.443 GB, free: 45.17 MB / 1.67 GB Notification: Performance of pre-optimization done (n=638): time 2.596e-05/5.815, allocations: 0 / 2.443 GB, free: 45.17 MB / 1.67 GB Notification: Performance of matching and sorting (n=638): time 0.1204/5.935, allocations: 23.91 MB / 2.467 GB, free: 34.98 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/5.935, allocations: 408.4 kB / 2.467 GB, free: 34.56 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04467/5.98, allocations: 13.48 MB / 2.48 GB, free: 27.05 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.003481/5.984, allocations: 183.6 kB / 2.481 GB, free: 26.87 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.01108/5.995, allocations: 6.979 MB / 2.487 GB, free: 19.89 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004872/6, allocations: 2.172 MB / 2.489 GB, free: 17.74 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01067/6.01, allocations: 2.152 MB / 2.492 GB, free: 15.58 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/6.01, allocations: 301.1 kB / 2.492 GB, free: 15.28 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01679/6.027, allocations: 6.671 MB / 2.498 GB, free: 8.602 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0205/6.048, allocations: 9.202 MB / 2.507 GB, free: 14.45 MB / 1.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04046/6.088, allocations: 14.96 MB / 2.522 GB, free: 14.89 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.842e-05/6.088, allocations: 16 kB / 2.522 GB, free: 14.88 MB / 1.701 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.05762/6.146, allocations: 18.46 MB / 2.54 GB, free: 12.72 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/6.146, allocations: 33.08 kB / 2.54 GB, free: 12.69 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/6.146, allocations: 60 kB / 2.54 GB, free: 12.63 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/6.156, allocations: 3.098 MB / 2.543 GB, free: 9.52 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01473/6.171, allocations: 2.383 MB / 2.545 GB, free: 7.254 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02414/6.195, allocations: 16.28 MB / 2.561 GB, free: 6.262 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0205/6.216, allocations: 1.595 MB / 2.563 GB, free: 4.66 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003928/6.22, allocations: 491.9 kB / 2.563 GB, free: 4.18 MB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03181/6.252, allocations: 10.1 MB / 2.573 GB, free: 10.08 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02157/6.273, allocations: 8.886 MB / 2.582 GB, free: 244 kB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03922/6.313, allocations: 14.37 MB / 2.596 GB, free: 1.285 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.085e-05/6.313, allocations: 16 kB / 2.596 GB, free: 1.27 MB / 1.764 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.06318/6.376, allocations: 17.84 MB / 2.613 GB, free: 15.73 MB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/6.376, allocations: 33.88 kB / 2.613 GB, free: 15.7 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/6.376, allocations: 56.19 kB / 2.613 GB, free: 15.64 MB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/6.387, allocations: 3.088 MB / 2.617 GB, free: 12.54 MB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01436/6.401, allocations: 2.369 MB / 2.619 GB, free: 10.29 MB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/6.424, allocations: 14.85 MB / 2.633 GB, free: 10.77 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/6.444, allocations: 1.369 MB / 2.635 GB, free: 9.395 MB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003882/6.448, allocations: 467.8 kB / 2.635 GB, free: 8.938 MB / 1.811 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.006934/6.455, allocations: 0.7513 MB / 2.636 GB, free: 8.305 MB / 1.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007826/6.463, allocations: 1.296 MB / 2.637 GB, free: 6.992 MB / 1.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07321/6.536, allocations: 15.52 MB / 2.652 GB, free: 7.461 MB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05985/6.596, allocations: 12.65 MB / 2.665 GB, free: 10.75 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.289e-05/6.596, allocations: 3.984 kB / 2.665 GB, free: 10.74 MB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01328/6.61, allocations: 3.005 MB / 2.668 GB, free: 7.699 MB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008281/6.618, allocations: 147.8 kB / 2.668 GB, free: 7.555 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01707/6.635, allocations: 0.8277 MB / 2.669 GB, free: 6.73 MB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002935/6.638, allocations: 448.5 kB / 2.669 GB, free: 6.289 MB / 1.842 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05909/6.697, allocations: 14.11 MB / 2.683 GB, free: 8.227 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06549/6.763, allocations: 19.6 MB / 2.702 GB, free: 4.516 MB / 1.873 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01654/6.779, allocations: 5.674 MB / 2.707 GB, free: 14.82 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02885/6.808, allocations: 9.189 MB / 2.716 GB, free: 5.699 MB / 1.889 GB Notification: Performance of Backend: time 1.032e-06/6.808, allocations: 0 / 2.716 GB, free: 5.699 MB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.09703/6.905, allocations: 23.61 MB / 2.739 GB, free: 15.25 MB / 1.92 GB Notification: Performance of SimCode: time 0.1014/7.007, allocations: 30.93 MB / 2.77 GB, free: 0.5859 MB / 1.936 GB Notification: Performance of Templates: time 1.512/8.519, allocations: 356.6 MB / 3.118 GB, free: 0.9364 GB / 2.092 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)