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.001607/0.001607, allocations: 113.9 kB / 16.42 MB, free: 6.523 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.001706/0.001706, allocations: 183.9 kB / 17.34 MB, free: 5.734 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.363/1.363, 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 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries): time 1.676/2.678, allocations: 0.7465 GB / 1.914 GB, free: 9.984 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.212/2.89, allocations: 147.6 MB / 2.058 GB, free: 5.973 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04551/2.935, allocations: 0.6411 MB / 2.059 GB, free: 5.328 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.02196/2.957, allocations: 7.147 MB / 2.066 GB, free: 14.14 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.05445/3.012, allocations: 17.93 MB / 2.083 GB, free: 12.15 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02932/3.041, allocations: 11.45 MB / 2.094 GB, free: 0.7422 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.12/3.161, allocations: 54.08 MB / 2.147 GB, free: 12.52 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02678/3.188, allocations: 11.97 MB / 2.159 GB, free: 428 kB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126/5.314, allocations: 17.2 MB / 2.176 GB, free: 82.22 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03935/5.354, allocations: 11.57 MB / 2.187 GB, free: 81.8 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.007169/5.361, allocations: 1.568 MB / 2.188 GB, free: 81.8 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03048/5.391, allocations: 11.29 MB / 2.199 GB, free: 81.8 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.009391/5.401, allocations: 4.137 MB / 2.203 GB, free: 81.8 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02202/5.423, allocations: 7.541 MB / 2.211 GB, free: 80.93 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05733/5.481, allocations: 29.12 MB / 2.239 GB, free: 78.13 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/5.481, allocations: 0.7812 kB / 2.239 GB, free: 78.13 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.805e-06/5.481, allocations: 0 / 2.239 GB, free: 78.13 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0008875/5.482, allocations: 3.562 kB / 2.239 GB, free: 78.13 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.06007/5.542, allocations: 14.48 MB / 2.253 GB, free: 71.86 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/5.542, allocations: 9.891 kB / 2.253 GB, free: 71.86 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03191/5.574, allocations: 4.493 MB / 2.258 GB, free: 71.12 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05231/5.627, allocations: 22.43 MB / 2.28 GB, free: 68.89 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/5.628, allocations: 0.668 MB / 2.28 GB, free: 68.71 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004057/5.632, allocations: 0.6873 MB / 2.281 GB, free: 68.7 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/5.665, allocations: 9.428 MB / 2.29 GB, free: 67.4 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005038/5.666, allocations: 18.81 kB / 2.29 GB, free: 67.4 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003588/5.669, allocations: 275.7 kB / 2.291 GB, free: 67.4 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/5.67, allocations: 243.9 kB / 2.291 GB, free: 67.39 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/5.699, allocations: 8.28 MB / 2.299 GB, free: 67.25 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.08856/5.787, allocations: 46.79 MB / 2.345 GB, free: 47.67 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/5.804, allocations: 5.991 MB / 2.35 GB, free: 46.54 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008252/5.812, allocations: 2.952 MB / 2.353 GB, free: 46.09 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03276/5.845, allocations: 14.64 MB / 2.368 GB, free: 38.8 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009981/5.855, allocations: 3.579 MB / 2.371 GB, free: 37.82 MB / 1.623 GB Notification: Performance of pre-optimization done (n=326): time 1.15e-05/5.855, allocations: 0 / 2.371 GB, free: 37.82 MB / 1.623 GB Notification: Performance of matching and sorting (n=326): time 0.08975/5.945, allocations: 18.46 MB / 2.389 GB, free: 31.54 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/5.945, allocations: 428.8 kB / 2.39 GB, free: 31.07 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03168/5.977, allocations: 10.98 MB / 2.4 GB, free: 28.61 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001916/5.979, allocations: 126.3 kB / 2.4 GB, free: 28.57 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.009368/5.988, allocations: 5.135 MB / 2.405 GB, free: 26.71 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.002713/5.991, allocations: 1.203 MB / 2.407 GB, free: 25.85 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008619/6, allocations: 1.72 MB / 2.408 GB, free: 25.51 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/6, allocations: 301.1 kB / 2.409 GB, free: 25.21 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/6.011, allocations: 4.517 MB / 2.413 GB, free: 24.57 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01358/6.025, allocations: 6.793 MB / 2.42 GB, free: 21.31 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02229/6.047, allocations: 10.36 MB / 2.43 GB, free: 16.26 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/6.047, allocations: 20 kB / 2.43 GB, free: 16.24 MB / 1.623 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.04911/6.096, allocations: 14.12 MB / 2.443 GB, free: 3.234 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/6.096, allocations: 35.25 kB / 2.444 GB, free: 3.203 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/6.097, allocations: 60 kB / 2.444 GB, free: 3.145 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02832/6.125, allocations: 4.345 MB / 2.448 GB, free: 14.79 MB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00833/6.133, allocations: 1.484 MB / 2.449 GB, free: 13.39 MB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/6.154, allocations: 11.13 MB / 2.46 GB, free: 1.895 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01375/6.168, allocations: 1.144 MB / 2.461 GB, free: 0.7461 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002364/6.17, allocations: 378.3 kB / 2.462 GB, free: 388 kB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02156/6.192, allocations: 6.892 MB / 2.468 GB, free: 9.488 MB / 1.654 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01511/6.207, allocations: 6.486 MB / 2.475 GB, free: 2.105 MB / 1.654 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.024/6.231, allocations: 9.798 MB / 2.484 GB, free: 7.691 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.004e-05/6.231, allocations: 16 kB / 2.484 GB, free: 7.676 MB / 1.67 GB Notification: Performance of matching and sorting (n=958) (initialization_lambda0): time 0.04799/6.279, allocations: 13.17 MB / 2.497 GB, free: 10.76 MB / 1.686 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/6.279, allocations: 28 kB / 2.497 GB, free: 10.73 MB / 1.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/6.279, allocations: 56 kB / 2.497 GB, free: 10.68 MB / 1.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02868/6.308, allocations: 4.08 MB / 2.501 GB, free: 6.59 MB / 1.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008278/6.316, allocations: 1.503 MB / 2.503 GB, free: 5.176 MB / 1.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01838/6.335, allocations: 9.359 MB / 2.512 GB, free: 11.48 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01521/6.35, allocations: 0.9172 MB / 2.513 GB, free: 10.56 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002881/6.353, allocations: 357.8 kB / 2.513 GB, free: 10.21 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.004703/6.358, allocations: 0.5916 MB / 2.514 GB, free: 9.703 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005469/6.363, allocations: 1.052 MB / 2.515 GB, free: 8.645 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03903/6.402, allocations: 8.381 MB / 2.523 GB, free: 288 kB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03039/6.433, allocations: 6.703 MB / 2.529 GB, free: 9.523 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/6.433, allocations: 0 / 2.529 GB, free: 9.523 MB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008441/6.441, allocations: 2.094 MB / 2.531 GB, free: 7.402 MB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004931/6.446, allocations: 75.92 kB / 2.531 GB, free: 7.328 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01093/6.457, allocations: 0.5004 MB / 2.532 GB, free: 6.832 MB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001247/6.458, allocations: 238.2 kB / 2.532 GB, free: 6.598 MB / 1.717 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03942/6.498, allocations: 9.359 MB / 2.541 GB, free: 13.27 MB / 1.733 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03411/6.532, allocations: 10.54 MB / 2.552 GB, free: 2.688 MB / 1.733 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008907/6.541, allocations: 2.851 MB / 2.554 GB, free: 15.83 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02091/6.562, allocations: 7.371 MB / 2.562 GB, free: 8.496 MB / 1.748 GB Notification: Performance of Backend: time 1.202e-06/6.562, allocations: 4 kB / 2.562 GB, free: 8.492 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.05855/6.62, allocations: 15.84 MB / 2.577 GB, free: 9.477 MB / 1.764 GB Notification: Performance of SimCode: time 0.06908/6.69, allocations: 23.99 MB / 2.601 GB, free: 1.555 MB / 1.779 GB Notification: Performance of Templates: time 0.4526/7.142, allocations: 279.5 MB / 2.873 GB, free: 12.55 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)