Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 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.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001626/0.001626, allocations: 114.3 kB / 16.42 MB, free: 6.508 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.002018/0.002018, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.507/1.507, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.522/2.522, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.11 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries): time 1.675/2.692, allocations: 0.7465 GB / 1.914 GB, free: 9.949 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.2128/2.904, allocations: 147.6 MB / 2.058 GB, free: 5.934 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03962/2.944, allocations: 0.645 MB / 2.059 GB, free: 5.285 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.0231/2.967, allocations: 7.151 MB / 2.066 GB, free: 14.1 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.05504/3.022, allocations: 17.93 MB / 2.083 GB, free: 12.11 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02866/3.051, allocations: 11.44 MB / 2.094 GB, free: 0.7031 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.1201/3.171, allocations: 54.07 MB / 2.147 GB, free: 12.48 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02555/3.197, allocations: 11.97 MB / 2.159 GB, free: 392 kB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 2.211/5.407, allocations: 17.19 MB / 2.176 GB, free: 82.12 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03875/5.446, allocations: 11.58 MB / 2.187 GB, free: 81.7 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.006909/5.453, allocations: 1.57 MB / 2.188 GB, free: 81.7 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03031/5.483, allocations: 11.3 MB / 2.199 GB, free: 81.7 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.009484/5.493, allocations: 4.137 MB / 2.203 GB, free: 81.7 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.01989/5.513, allocations: 7.539 MB / 2.211 GB, free: 80.83 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05418/5.567, allocations: 29.12 MB / 2.239 GB, free: 78.04 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/5.567, allocations: 0 / 2.239 GB, free: 78.04 MB / 1.623 GB Notification: Performance of FrontEnd: time 1.893e-06/5.567, allocations: 0 / 2.239 GB, free: 78.04 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0008639/5.568, allocations: 0.8125 kB / 2.239 GB, free: 78.04 MB / 1.623 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.05293/5.621, allocations: 14.48 MB / 2.253 GB, free: 71.76 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/5.621, allocations: 8.062 kB / 2.253 GB, free: 71.76 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03167/5.653, allocations: 4.49 MB / 2.258 GB, free: 71.02 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05001/5.703, allocations: 22.43 MB / 2.28 GB, free: 68.8 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000964/5.704, allocations: 0.6651 MB / 2.28 GB, free: 68.62 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003652/5.707, allocations: 0.6842 MB / 2.281 GB, free: 68.62 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/5.739, allocations: 9.426 MB / 2.29 GB, free: 67.31 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004767/5.739, allocations: 18.91 kB / 2.29 GB, free: 67.31 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003353/5.743, allocations: 277.1 kB / 2.291 GB, free: 67.31 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003182/5.743, allocations: 252.1 kB / 2.291 GB, free: 67.3 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02839/5.772, allocations: 8.27 MB / 2.299 GB, free: 67.16 MB / 1.623 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.08419/5.856, allocations: 46.8 MB / 2.345 GB, free: 47.64 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/5.873, allocations: 5.993 MB / 2.35 GB, free: 46.51 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007854/5.881, allocations: 2.953 MB / 2.353 GB, free: 46.06 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03073/5.911, allocations: 14.63 MB / 2.368 GB, free: 38.77 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/5.922, allocations: 3.582 MB / 2.371 GB, free: 37.79 MB / 1.623 GB Notification: Performance of pre-optimization done (n=326): time 1.684e-05/5.922, allocations: 2.938 kB / 2.371 GB, free: 37.79 MB / 1.623 GB Notification: Performance of matching and sorting (n=326): time 0.09408/6.016, allocations: 18.45 MB / 2.389 GB, free: 31.52 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002361/6.016, allocations: 432.1 kB / 2.39 GB, free: 31.04 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03662/6.053, allocations: 10.98 MB / 2.4 GB, free: 28.59 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001891/6.055, allocations: 130.9 kB / 2.4 GB, free: 28.55 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.008988/6.064, allocations: 5.141 MB / 2.405 GB, free: 26.69 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.002854/6.067, allocations: 1.202 MB / 2.407 GB, free: 25.82 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008603/6.075, allocations: 1.717 MB / 2.408 GB, free: 25.48 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/6.075, allocations: 301.1 kB / 2.409 GB, free: 25.18 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01173/6.087, allocations: 4.516 MB / 2.413 GB, free: 24.54 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/6.102, allocations: 6.79 MB / 2.42 GB, free: 21.29 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02265/6.124, allocations: 10.37 MB / 2.43 GB, free: 16.23 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001239/6.124, allocations: 16 kB / 2.43 GB, free: 16.21 MB / 1.623 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.04784/6.172, allocations: 14.13 MB / 2.443 GB, free: 3.145 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/6.172, allocations: 28 kB / 2.444 GB, free: 3.117 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/6.173, allocations: 56 kB / 2.444 GB, free: 3.062 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02875/6.201, allocations: 4.346 MB / 2.448 GB, free: 14.7 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008477/6.21, allocations: 1.481 MB / 2.449 GB, free: 13.31 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/6.231, allocations: 11.14 MB / 2.46 GB, free: 1.805 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/6.246, allocations: 1.145 MB / 2.461 GB, free: 0.6562 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/6.249, allocations: 377.6 kB / 2.462 GB, free: 296 kB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02117/6.27, allocations: 6.885 MB / 2.468 GB, free: 9.402 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01416/6.284, allocations: 6.485 MB / 2.475 GB, free: 2.02 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02341/6.308, allocations: 9.795 MB / 2.484 GB, free: 7.602 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.572e-05/6.308, allocations: 16 kB / 2.484 GB, free: 7.586 MB / 1.67 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.04768/6.355, allocations: 13.17 MB / 2.497 GB, free: 10.68 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 9.346e-05/6.355, allocations: 28 kB / 2.497 GB, free: 10.65 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001191/6.356, allocations: 56 kB / 2.497 GB, free: 10.59 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02824/6.384, allocations: 4.078 MB / 2.501 GB, free: 6.504 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008398/6.392, allocations: 1.499 MB / 2.503 GB, free: 5.094 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01717/6.41, allocations: 9.371 MB / 2.512 GB, free: 11.39 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01482/6.424, allocations: 0.9145 MB / 2.513 GB, free: 10.48 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002474/6.427, allocations: 363.9 kB / 2.513 GB, free: 10.12 MB / 1.701 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.004037/6.431, allocations: 0.5874 MB / 2.514 GB, free: 9.617 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005284/6.436, allocations: 1.059 MB / 2.515 GB, free: 8.551 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03845/6.475, allocations: 8.38 MB / 2.523 GB, free: 200 kB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0295/6.504, allocations: 6.694 MB / 2.529 GB, free: 9.449 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.953e-05/6.504, allocations: 4 kB / 2.529 GB, free: 9.445 MB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007793/6.512, allocations: 2.086 MB / 2.531 GB, free: 7.332 MB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004788/6.517, allocations: 83.86 kB / 2.531 GB, free: 7.25 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/6.527, allocations: 0.5042 MB / 2.532 GB, free: 6.746 MB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/6.529, allocations: 238.2 kB / 2.532 GB, free: 6.512 MB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03742/6.566, allocations: 9.359 MB / 2.541 GB, free: 13.19 MB / 1.733 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03091/6.597, allocations: 10.53 MB / 2.552 GB, free: 2.609 MB / 1.733 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008319/6.605, allocations: 2.862 MB / 2.554 GB, free: 15.74 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02009/6.626, allocations: 7.375 MB / 2.562 GB, free: 8.406 MB / 1.748 GB Notification: Performance of Backend: time 1.132e-06/6.626, allocations: 0 / 2.562 GB, free: 8.406 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.05714/6.683, allocations: 15.84 MB / 2.577 GB, free: 9.398 MB / 1.764 GB Notification: Performance of SimCode: time 0.06525/6.748, allocations: 23.98 MB / 2.601 GB, free: 1.488 MB / 1.779 GB Notification: Performance of Templates: time 0.4598/7.208, allocations: 279.5 MB / 2.873 GB, free: 12.49 MB / 2.061 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.pipe 2>&1)