Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.002184/0.002184, allocations: 115.4 kB / 16.42 MB, free: 6.492 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.002221/0.002221, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.492/2.492, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.83 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8497/0.8513, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve): time 1.486/2.338, allocations: 0.6954 GB / 1.863 GB, free: 11.72 MB / 1.326 GB Notification: Performance of NFInst.instExpressions: time 0.2387/2.576, allocations: 132.3 MB / 1.992 GB, free: 8.723 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0275/2.604, allocations: 0.6178 MB / 1.992 GB, free: 8.102 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.0271/2.631, allocations: 8.939 MB / 2.001 GB, free: 15.12 MB / 1.467 GB Notification: Performance of NFTyping.typeBindings: time 0.05688/2.688, allocations: 21.23 MB / 2.022 GB, free: 9.809 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.03742/2.725, allocations: 14.79 MB / 2.036 GB, free: 11.04 MB / 1.498 GB Notification: Performance of NFFlatten.flatten: time 0.08093/2.806, allocations: 54.85 MB / 2.09 GB, free: 4.07 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03984/2.846, allocations: 19.42 MB / 2.109 GB, free: 0.4922 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04659/2.893, allocations: 17.84 MB / 2.126 GB, free: 14.63 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02419/2.917, allocations: 12.04 MB / 2.138 GB, free: 2.559 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.00944/2.927, allocations: 2.449 MB / 2.141 GB, free: 112 kB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0348/2.961, allocations: 12.35 MB / 2.153 GB, free: 3.738 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.01143/2.973, allocations: 5.75 MB / 2.158 GB, free: 13.97 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02307/2.996, allocations: 10.83 MB / 2.169 GB, free: 3.098 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 1.761/4.757, allocations: 40.01 MB / 2.208 GB, free: 125.5 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/4.757, allocations: 2.438 kB / 2.208 GB, free: 125.5 MB / 1.639 GB Notification: Performance of FrontEnd: time 2.424e-06/4.757, allocations: 0 / 2.208 GB, free: 125.5 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.001202/4.758, allocations: 0 / 2.208 GB, free: 125.5 MB / 1.639 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2746 * Number of variables: 2746 Notification: Performance of Generate backend data structure: time 0.06277/4.821, allocations: 19.88 MB / 2.227 GB, free: 118.2 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/4.821, allocations: 8.953 kB / 2.227 GB, free: 118.2 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04547/4.866, allocations: 7.169 MB / 2.234 GB, free: 117.2 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05147/4.918, allocations: 22.4 MB / 2.256 GB, free: 114.7 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001692/4.92, allocations: 0.874 MB / 2.257 GB, free: 114.6 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007279/4.927, allocations: 1.095 MB / 2.258 GB, free: 114.6 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06309/4.99, allocations: 16.29 MB / 2.274 GB, free: 113.1 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007135/4.991, allocations: 28.42 kB / 2.274 GB, free: 113.1 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005456/4.996, allocations: 451.8 kB / 2.274 GB, free: 113.1 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004343/4.997, allocations: 403.5 kB / 2.275 GB, free: 113.1 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0506/5.047, allocations: 16.41 MB / 2.291 GB, free: 112.9 MB / 1.639 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.1333/5.181, allocations: 72.64 MB / 2.362 GB, free: 84.21 MB / 1.639 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/5.205, allocations: 10.35 MB / 2.372 GB, free: 81.93 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01529/5.221, allocations: 6.02 MB / 2.378 GB, free: 80.93 MB / 1.639 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.0495/5.27, allocations: 23.01 MB / 2.4 GB, free: 71.13 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01836/5.289, allocations: 6.628 MB / 2.407 GB, free: 69.32 MB / 1.639 GB Notification: Performance of pre-optimization done (n=638): time 1.478e-05/5.289, allocations: 0 / 2.407 GB, free: 69.32 MB / 1.639 GB Notification: Performance of matching and sorting (n=638): time 0.105/5.394, allocations: 23.9 MB / 2.43 GB, free: 62.58 MB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/5.394, allocations: 411.2 kB / 2.43 GB, free: 62.16 MB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0275/5.421, allocations: 13.47 MB / 2.444 GB, free: 54.99 MB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.002826/5.424, allocations: 177.7 kB / 2.444 GB, free: 54.81 MB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.009188/5.434, allocations: 6.929 MB / 2.451 GB, free: 47.88 MB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.004285/5.438, allocations: 2.171 MB / 2.453 GB, free: 45.73 MB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01142/5.449, allocations: 2.16 MB / 2.455 GB, free: 43.56 MB / 1.639 GB Notification: Performance of setup shared object (initialization): time 5.211e-05/5.449, allocations: 304.9 kB / 2.455 GB, free: 43.26 MB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01622/5.466, allocations: 6.673 MB / 2.462 GB, free: 36.58 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01813/5.484, allocations: 9.196 MB / 2.471 GB, free: 26.43 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03176/5.516, allocations: 14.96 MB / 2.485 GB, free: 10.89 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.631e-05/5.516, allocations: 17.42 kB / 2.485 GB, free: 10.87 MB / 1.639 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.05415/5.57, allocations: 18.45 MB / 2.503 GB, free: 8.723 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/5.57, allocations: 32 kB / 2.503 GB, free: 8.691 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/5.57, allocations: 56 kB / 2.503 GB, free: 8.637 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/5.58, allocations: 3.102 MB / 2.506 GB, free: 5.516 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01415/5.595, allocations: 2.393 MB / 2.509 GB, free: 3.246 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02418/5.619, allocations: 16.3 MB / 2.525 GB, free: 2.23 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02027/5.639, allocations: 1.586 MB / 2.526 GB, free: 0.6367 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00343/5.643, allocations: 483.8 kB / 2.527 GB, free: 168 kB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0278/5.67, allocations: 10.1 MB / 2.536 GB, free: 6.062 MB / 1.686 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02128/5.692, allocations: 8.884 MB / 2.545 GB, free: 12.22 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03647/5.728, allocations: 14.36 MB / 2.559 GB, free: 13.27 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.469e-05/5.728, allocations: 16 kB / 2.559 GB, free: 13.26 MB / 1.717 GB Notification: Performance of matching and sorting (n=1254) (initialization_lambda0): time 0.05663/5.785, allocations: 17.83 MB / 2.577 GB, free: 11.73 MB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-05/5.785, allocations: 32 kB / 2.577 GB, free: 11.7 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/5.785, allocations: 56 kB / 2.577 GB, free: 11.64 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/5.796, allocations: 3.105 MB / 2.58 GB, free: 8.523 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01374/5.809, allocations: 2.361 MB / 2.582 GB, free: 6.285 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/5.833, allocations: 14.85 MB / 2.596 GB, free: 6.762 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/5.851, allocations: 1.384 MB / 2.598 GB, free: 5.375 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003037/5.854, allocations: 463.8 kB / 2.598 GB, free: 4.922 MB / 1.748 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.005347/5.859, allocations: 0.7444 MB / 2.599 GB, free: 4.293 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006648/5.866, allocations: 1.304 MB / 2.6 GB, free: 2.973 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06795/5.934, allocations: 15.53 MB / 2.615 GB, free: 3.445 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05486/5.989, allocations: 12.65 MB / 2.628 GB, free: 6.738 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/5.989, allocations: 0 / 2.628 GB, free: 6.738 MB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01142/6, allocations: 3.012 MB / 2.631 GB, free: 3.691 MB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006114/6.007, allocations: 143.8 kB / 2.631 GB, free: 3.551 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01458/6.021, allocations: 0.8381 MB / 2.632 GB, free: 2.715 MB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002272/6.024, allocations: 448.5 kB / 2.632 GB, free: 2.273 MB / 1.779 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05367/6.077, allocations: 14.1 MB / 2.646 GB, free: 4.215 MB / 1.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05819/6.135, allocations: 19.61 MB / 2.665 GB, free: 0.4961 MB / 1.811 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0151/6.151, allocations: 5.667 MB / 2.671 GB, free: 10.81 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02379/6.174, allocations: 9.181 MB / 2.68 GB, free: 1.695 MB / 1.826 GB Notification: Performance of Backend: time 1.443e-06/6.174, allocations: 0 / 2.68 GB, free: 1.695 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.08473/6.259, allocations: 23.68 MB / 2.703 GB, free: 11.11 MB / 1.858 GB Notification: Performance of SimCode: time 0.08537/6.345, allocations: 30.94 MB / 2.733 GB, free: 12.36 MB / 1.889 GB Notification: Performance of Templates: time 1.253/7.598, allocations: 358.5 MB / 3.083 GB, free: 0.9316 GB / 2.045 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe 2>&1)