Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.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.CouplingTimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.terUniCoo.TLoaODE.TAir|bui.terUniHea.TLoaODE.TAir|bui.terUniHea.QReqHea_flow|bui.terUniHea.QActHea_flow|bui.terUniCoo.QReqCoo_flow|bui.terUniCoo.QActCoo_flow|supHeaWat.T_in|bui.terUniHea.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|bui.loa.y.2.|bui.QHea_flow_nominal|supChiWat.T_in|bui.terUniCoo.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal|bui.loa.y.1.|bui.QCoo_flow_nominal|EHeaReq.y|EHeaAct.y|ECooReq.y|ECooAct.y|QAveHeaReq_flow.y|QAveHeaAct_flow.y|QAveCooReq_flow.y|QAveCooAct_flow.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries") translateModel(Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bui.maxTSet.y|bui.minTSet.y|bui.terUniCoo.TLoaODE.TAir|bui.terUniHea.TLoaODE.TAir|bui.terUniHea.QReqHea_flow|bui.terUniHea.QActHea_flow|bui.terUniCoo.QReqCoo_flow|bui.terUniCoo.QActCoo_flow|supHeaWat.T_in|bui.terUniHea.T_aHeaWat_nominal|bui.disFloHea.mReq_flow.1.|bui.disFloHea.mAct_flow.1..y|bui.disFloHea.m_flow_nominal|bui.loa.y.2.|bui.QHea_flow_nominal|supChiWat.T_in|bui.terUniCoo.T_aChiWat_nominal|bui.disFloCoo.mReq_flow.1.|bui.disFloCoo.mAct_flow.1..y|bui.disFloCoo.m_flow_nominal|bui.loa.y.1.|bui.QCoo_flow_nominal|EHeaReq.y|EHeaAct.y|ECooReq.y|ECooAct.y|QAveHeaReq_flow.y|QAveHeaAct_flow.y|QAveCooReq_flow.y|QAveCooAct_flow.y",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001091/0.001091, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.12 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.977/0.9786, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries): time 1.618/2.596, allocations: 0.7463 GB / 1.955 GB, free: 13.07 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 0.2235/2.82, allocations: 147.5 MB / 2.099 GB, free: 9.18 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03676/2.857, allocations: 0.645 MB / 2.099 GB, free: 8.531 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.02207/2.879, allocations: 6.973 MB / 2.106 GB, free: 1.52 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.05522/2.934, allocations: 17.11 MB / 2.123 GB, free: 356 kB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.03396/2.968, allocations: 11.42 MB / 2.134 GB, free: 4.996 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.1212/3.089, allocations: 54.04 MB / 2.187 GB, free: 0.9883 MB / 1.654 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03446/3.124, allocations: 11.97 MB / 2.199 GB, free: 4.887 MB / 1.67 GB Notification: Performance of NFEvalConstants.evaluate: time 1.267/4.391, allocations: 17.09 MB / 2.215 GB, free: 84.13 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04331/4.434, allocations: 11.59 MB / 2.227 GB, free: 83.69 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008523/4.443, allocations: 1.567 MB / 2.228 GB, free: 83.69 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03226/4.475, allocations: 11.28 MB / 2.239 GB, free: 83.69 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.009329/4.484, allocations: 4.134 MB / 2.243 GB, free: 83.21 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02145/4.506, allocations: 7.538 MB / 2.251 GB, free: 81.33 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05539/4.561, allocations: 27.31 MB / 2.277 GB, free: 79.29 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/4.561, allocations: 0 / 2.277 GB, free: 79.29 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.184e-06/4.561, allocations: 1.844 kB / 2.277 GB, free: 79.29 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0009879/4.562, allocations: 0.5312 kB / 2.277 GB, free: 79.29 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: 1633 * Number of variables: 1633 Notification: Performance of Generate backend data structure: time 0.05743/4.62, allocations: 14.05 MB / 2.291 GB, free: 73.36 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/4.62, allocations: 10.03 kB / 2.291 GB, free: 73.36 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03297/4.653, allocations: 4.421 MB / 2.295 GB, free: 72.68 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05514/4.708, allocations: 22.32 MB / 2.317 GB, free: 70.52 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/4.709, allocations: 0.6617 MB / 2.318 GB, free: 70.35 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004376/4.714, allocations: 0.68 MB / 2.318 GB, free: 70.35 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/4.748, allocations: 9.425 MB / 2.328 GB, free: 69.05 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002557/4.748, allocations: 25.88 kB / 2.328 GB, free: 69.05 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/4.751, allocations: 274.6 kB / 2.328 GB, free: 69.05 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002353/4.751, allocations: 250.1 kB / 2.328 GB, free: 69.03 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/4.779, allocations: 8.273 MB / 2.336 GB, free: 68.9 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.08112/4.86, allocations: 46.69 MB / 2.382 GB, free: 49.67 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01674/4.876, allocations: 5.995 MB / 2.388 GB, free: 49.29 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009205/4.886, allocations: 2.951 MB / 2.39 GB, free: 48.95 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03453/4.92, allocations: 14.59 MB / 2.405 GB, free: 41.68 MB / 1.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009233/4.93, allocations: 3.585 MB / 2.408 GB, free: 40.7 MB / 1.67 GB Notification: Performance of pre-optimization done (n=326): time 7.654e-06/4.93, allocations: 0 / 2.408 GB, free: 40.7 MB / 1.67 GB Notification: Performance of matching and sorting (n=326): time 0.08969/5.019, allocations: 18.4 MB / 2.426 GB, free: 34.47 MB / 1.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/5.02, allocations: 434.6 kB / 2.427 GB, free: 34 MB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0255/5.045, allocations: 10.97 MB / 2.437 GB, free: 31.55 MB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001894/5.047, allocations: 121 kB / 2.437 GB, free: 31.52 MB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0103/5.057, allocations: 5.057 MB / 2.442 GB, free: 29.73 MB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003221/5.061, allocations: 1.144 MB / 2.443 GB, free: 28.92 MB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005221/5.066, allocations: 1.717 MB / 2.445 GB, free: 28.58 MB / 1.67 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/5.066, allocations: 301.1 kB / 2.445 GB, free: 28.28 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/5.076, allocations: 4.517 MB / 2.45 GB, free: 27.64 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01352/5.09, allocations: 6.794 MB / 2.456 GB, free: 24.38 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02203/5.112, allocations: 10.36 MB / 2.467 GB, free: 16.89 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001432/5.112, allocations: 16 kB / 2.467 GB, free: 16.88 MB / 1.67 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.0445/5.157, allocations: 14.07 MB / 2.48 GB, free: 3.086 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/5.157, allocations: 32 kB / 2.48 GB, free: 3.055 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.602e-05/5.157, allocations: 56 kB / 2.48 GB, free: 3 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02785/5.185, allocations: 4.345 MB / 2.485 GB, free: 14.65 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00846/5.193, allocations: 1.486 MB / 2.486 GB, free: 13.25 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/5.213, allocations: 11.14 MB / 2.497 GB, free: 1.746 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/5.227, allocations: 1.13 MB / 2.498 GB, free: 0.6055 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/5.23, allocations: 371.9 kB / 2.498 GB, free: 248 kB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02391/5.254, allocations: 6.899 MB / 2.505 GB, free: 9.348 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01461/5.268, allocations: 6.487 MB / 2.512 GB, free: 1.961 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02276/5.291, allocations: 9.787 MB / 2.521 GB, free: 7.57 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.102e-05/5.291, allocations: 16 kB / 2.521 GB, free: 7.555 MB / 1.717 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.04666/5.338, allocations: 13.12 MB / 2.534 GB, free: 10.7 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.934e-05/5.338, allocations: 28 kB / 2.534 GB, free: 10.67 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/5.338, allocations: 60.22 kB / 2.534 GB, free: 10.61 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02772/5.366, allocations: 4.074 MB / 2.538 GB, free: 6.523 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007959/5.374, allocations: 1.493 MB / 2.539 GB, free: 5.117 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/5.391, allocations: 9.355 MB / 2.549 GB, free: 11.44 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/5.405, allocations: 0.905 MB / 2.549 GB, free: 10.53 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002216/5.407, allocations: 355.9 kB / 2.55 GB, free: 10.18 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 255 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.bui.loa.nextTimeEvent,$whenCondition1,QAveHeaReq_flow.mode,$PRE.QAveHeaReq_flow.mode,$whenCondition2,QAveHeaAct_flow.mode,$PRE.QAveHeaAct_flow.mode,$whenCondition3,QAveCooReq_flow.mode,$PRE.QAveCooReq_flow.mode,$whenCondition4,QAveCooAct_flow.mode,$PRE.QAveCooAct_flow.mode,$whenCondition5,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset,bui.terUniHea.hex.flowRegime_nominal,bui.terUniHea.hex.flowRegime,bui.terUniCoo.hexWetNtu.flowRegime_nominal,bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyDry.cfg,bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyWet.cfg,bui.terUniCoo.hexWetNtu.dryWetCalcs.cfg,bui.terUniCoo.hexWetNtu.flowRegime,bui.terUniCoo.hexWetNtu.UAFroRated.isFulWet,bui.terUniCoo.hexWetNtu.UAFroRated.isFulDry,bui.terUniCoo.greThr.greHys.y,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniHea.greThr.greHys.y,$PRE.bui.terUniHea.greThr.greHys.y,bui.loa.nextTimeEventScaled,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEvent,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (713): * Single equations (assignments): 695 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,35), (1,4), (1,2), (1,60), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0034/5.411, allocations: 0.5966 MB / 2.55 GB, free: 9.672 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004004/5.415, allocations: 0.9989 MB / 2.551 GB, free: 8.66 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03369/5.449, allocations: 8.38 MB / 2.56 GB, free: 292 kB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03151/5.48, allocations: 6.699 MB / 2.566 GB, free: 9.539 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-05/5.48, allocations: 0 / 2.566 GB, free: 9.539 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009534/5.49, allocations: 2.045 MB / 2.568 GB, free: 7.461 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005454/5.495, allocations: 67.94 kB / 2.568 GB, free: 7.395 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01109/5.506, allocations: 0.5005 MB / 2.569 GB, free: 6.895 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001377/5.508, allocations: 234.3 kB / 2.569 GB, free: 6.664 MB / 1.764 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03925/5.547, allocations: 9.36 MB / 2.578 GB, free: 13.33 MB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0317/5.579, allocations: 10.48 MB / 2.588 GB, free: 2.805 MB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008313/5.587, allocations: 2.863 MB / 2.591 GB, free: 15.93 MB / 1.795 GB Notification: Performance of sorting global known variables: time 0.01952/5.607, allocations: 7.367 MB / 2.598 GB, free: 8.605 MB / 1.795 GB Notification: Performance of Backend: time 9.42e-07/5.607, allocations: 7.938 kB / 2.598 GB, free: 8.598 MB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.05248/5.659, allocations: 15.76 MB / 2.614 GB, free: 9.727 MB / 1.811 GB Notification: Performance of SimCode: time 0.06291/5.722, allocations: 23.59 MB / 2.637 GB, free: 2.344 MB / 1.826 GB Notification: Performance of Templates: time 0.4436/6.166, allocations: 277.7 MB / 2.908 GB, free: 15.07 MB / 2.107 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe 2>&1)