Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 215 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") translateModel(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 66.55 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve): time 1.766/2.123, allocations: 0.6298 GB / 1.957 GB, free: 420 kB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.2105/2.334, allocations: 124.3 MB / 2.078 GB, free: 3.812 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03021/2.364, allocations: 0.837 MB / 2.079 GB, free: 2.969 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.0275/2.391, allocations: 8.772 MB / 2.088 GB, free: 10.15 MB / 1.592 GB Notification: Performance of NFTyping.typeBindings: time 0.06843/2.46, allocations: 21.55 MB / 2.109 GB, free: 4.535 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.04561/2.505, allocations: 15.44 MB / 2.124 GB, free: 5.195 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.09328/2.599, allocations: 55.84 MB / 2.178 GB, free: 13.23 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03385/2.633, allocations: 14.1 MB / 2.192 GB, free: 14.98 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05023/2.683, allocations: 19.45 MB / 2.211 GB, free: 11.52 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02624/2.709, allocations: 12.4 MB / 2.223 GB, free: 15.09 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.009846/2.719, allocations: 2.383 MB / 2.226 GB, free: 12.71 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03096/2.75, allocations: 10.71 MB / 2.236 GB, free: 1.98 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.01113/2.761, allocations: 5.806 MB / 2.242 GB, free: 12.16 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.02328/2.784, allocations: 8.277 MB / 2.25 GB, free: 3.844 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 2.381/5.166, allocations: 37.05 MB / 2.286 GB, free: 139 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/5.166, allocations: 0.5938 kB / 2.286 GB, free: 139 MB / 1.779 GB Notification: Performance of FrontEnd: time 1.854e-06/5.166, allocations: 0 / 2.286 GB, free: 139 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.001152/5.167, allocations: 0.5312 kB / 2.286 GB, free: 139 MB / 1.779 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.08719/5.254, allocations: 24.27 MB / 2.31 GB, free: 130.5 MB / 1.779 GB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/5.254, allocations: 8.406 kB / 2.31 GB, free: 130.5 MB / 1.779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05219/5.306, allocations: 7.651 MB / 2.317 GB, free: 129.5 MB / 1.779 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05988/5.366, allocations: 22.15 MB / 2.339 GB, free: 126.9 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001805/5.368, allocations: 0.9041 MB / 2.34 GB, free: 126.8 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006643/5.375, allocations: 1.091 MB / 2.341 GB, free: 126.8 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06004/5.435, allocations: 17.99 MB / 2.358 GB, free: 123.3 MB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007054/5.435, allocations: 26.3 kB / 2.358 GB, free: 123.3 MB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005105/5.441, allocations: 458.5 kB / 2.359 GB, free: 123.3 MB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005186/5.441, allocations: 394.8 kB / 2.359 GB, free: 123.3 MB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0564/5.498, allocations: 16.36 MB / 2.375 GB, free: 123 MB / 1.779 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.1441/5.642, allocations: 55.12 MB / 2.429 GB, free: 108.8 MB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02458/5.666, allocations: 9.372 MB / 2.438 GB, free: 108.5 MB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01535/5.682, allocations: 5.679 MB / 2.444 GB, free: 108.4 MB / 1.779 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.05149/5.733, allocations: 16.53 MB / 2.46 GB, free: 107.5 MB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01842/5.751, allocations: 7.797 MB / 2.467 GB, free: 105.8 MB / 1.779 GB Notification: Performance of pre-optimization done (n=638): time 1.724e-05/5.751, allocations: 1.094 kB / 2.467 GB, free: 105.8 MB / 1.779 GB Notification: Performance of matching and sorting (n=638): time 0.1084/5.86, allocations: 23.35 MB / 2.49 GB, free: 104.2 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/5.86, allocations: 402.5 kB / 2.491 GB, free: 103.8 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0339/5.894, allocations: 12.65 MB / 2.503 GB, free: 102.8 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003015/5.897, allocations: 177 kB / 2.503 GB, free: 102.8 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01056/5.907, allocations: 7.093 MB / 2.51 GB, free: 100.5 MB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.004601/5.912, allocations: 2.277 MB / 2.512 GB, free: 99.04 MB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01203/5.924, allocations: 2.146 MB / 2.514 GB, free: 98.89 MB / 1.779 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/5.924, allocations: 305 kB / 2.515 GB, free: 98.59 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01737/5.942, allocations: 6.699 MB / 2.521 GB, free: 98.46 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02052/5.962, allocations: 11.05 MB / 2.532 GB, free: 93.07 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03537/5.997, allocations: 15.01 MB / 2.547 GB, free: 84.09 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/5.998, allocations: 18.56 kB / 2.547 GB, free: 84.09 MB / 1.779 GB Notification: Performance of matching and sorting (n=1249) (initialization): time 0.05675/6.054, allocations: 18.38 MB / 2.565 GB, free: 67.77 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/6.054, allocations: 32 kB / 2.565 GB, free: 67.73 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/6.055, allocations: 56 kB / 2.565 GB, free: 67.68 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009496/6.064, allocations: 3.097 MB / 2.568 GB, free: 64.57 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01381/6.078, allocations: 2.382 MB / 2.57 GB, free: 62.3 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/6.099, allocations: 15.51 MB / 2.585 GB, free: 46.29 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/6.12, allocations: 1.522 MB / 2.587 GB, free: 44.77 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005025/6.125, allocations: 486.9 kB / 2.587 GB, free: 44.3 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03079/6.156, allocations: 10.12 MB / 2.597 GB, free: 34.18 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02051/6.177, allocations: 10.73 MB / 2.607 GB, free: 22.04 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03491/6.212, allocations: 14.4 MB / 2.621 GB, free: 7.051 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001128/6.212, allocations: 16 kB / 2.622 GB, free: 7.035 MB / 1.779 GB Notification: Performance of matching and sorting (n=1249) (initialization_lambda0): time 0.06164/6.273, allocations: 17.76 MB / 2.639 GB, free: 5.621 MB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/6.273, allocations: 29.09 kB / 2.639 GB, free: 5.594 MB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/6.274, allocations: 60 kB / 2.639 GB, free: 5.535 MB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/6.285, allocations: 3.094 MB / 2.642 GB, free: 2.43 MB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/6.299, allocations: 2.348 MB / 2.644 GB, free: 204 kB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/6.324, allocations: 14.07 MB / 2.658 GB, free: 1.668 MB / 1.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01925/6.344, allocations: 1.383 MB / 2.659 GB, free: 288 kB / 1.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003524/6.347, allocations: 464.7 kB / 2.66 GB, free: 15.83 MB / 1.826 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.bui.intGai.nextTimeEvent,$whenCondition10,bui.disFloCoo.conVal.fixMod.y,bui.disFloCoo.conVal.conTSup.con1.y,bui.disFloHea.conVal.fixMod.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.hexWetNtu.flowRegime_nominal,bui.terUni.hexWetNtu.UAFroRated.isFulWet,bui.terUni.hexWetNtu.UAFroRated.isFulDry,bui.terUni.hexHea.flowRegime_nominal,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 (1057): * Single equations (assignments): 1040 * 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.005698/6.353, allocations: 0.7377 MB / 2.661 GB, free: 15.2 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006749/6.36, allocations: 1.285 MB / 2.662 GB, free: 13.91 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05946/6.419, allocations: 14.43 MB / 2.676 GB, free: 15.48 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04961/6.469, allocations: 11.58 MB / 2.687 GB, free: 3.855 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.225e-05/6.469, allocations: 0 / 2.687 GB, free: 3.855 MB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01344/6.482, allocations: 2.914 MB / 2.69 GB, free: 0.9297 MB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00672/6.489, allocations: 151.8 kB / 2.69 GB, free: 0.7812 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/6.505, allocations: 0.8282 MB / 2.691 GB, free: 15.96 MB / 1.858 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002502/6.507, allocations: 468.4 kB / 2.691 GB, free: 15.5 MB / 1.858 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05511/6.562, allocations: 14.12 MB / 2.705 GB, free: 1.414 MB / 1.858 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06109/6.623, allocations: 19.7 MB / 2.724 GB, free: 13.62 MB / 1.889 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01588/6.639, allocations: 5.412 MB / 2.73 GB, free: 8.188 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02256/6.662, allocations: 8.529 MB / 2.738 GB, free: 15.71 MB / 1.904 GB Notification: Performance of Backend: time 8.82e-07/6.662, allocations: 0 / 2.738 GB, free: 15.71 MB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.08979/6.752, allocations: 22.58 MB / 2.76 GB, free: 10.36 MB / 1.92 GB Notification: Performance of SimCode: time 0.08255/6.834, allocations: 30.77 MB / 2.79 GB, free: 11.77 MB / 1.951 GB Notification: Performance of Templates: time 1.423/8.257, allocations: 375.1 MB / 3.156 GB, free: 1.088 GB / 2.217 GB " [Timeout remaining time 292] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Examples.CouplingRCZ1Valve.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 27.767362525999488] Failed to read output from testmodel.py, exit status != 0: 8.268439161998685 8.279913919 3.111243666 Calling exit ...