Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.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.Cooling.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.1.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|supChiWat.T|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T|buiWitETS.ets.senTBuiSup.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.1.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|supChiWat.T|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T|buiWitETS.ets.senTBuiSup.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.001546/0.001546, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.158, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS): time 2.211/3.369, allocations: 0.8883 GB / 2.109 GB, free: 6.953 MB / 1.592 GB Notification: Performance of NFInst.instExpressions: time 1.717/5.086, allocations: 178 MB / 2.283 GB, free: 65.54 MB / 1.686 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0515/5.137, allocations: 0.7424 MB / 2.284 GB, free: 65.54 MB / 1.686 GB Notification: Performance of NFTyping.typeComponents: time 0.02078/5.158, allocations: 5.948 MB / 2.29 GB, free: 65.52 MB / 1.686 GB Notification: Performance of NFTyping.typeBindings: time 0.04562/5.204, allocations: 14.07 MB / 2.303 GB, free: 65.21 MB / 1.686 GB Notification: Performance of NFTyping.typeClassSections: time 0.03067/5.235, allocations: 10.19 MB / 2.313 GB, free: 64.99 MB / 1.686 GB Notification: Performance of NFFlatten.flatten: time 0.09398/5.329, allocations: 39.48 MB / 2.352 GB, free: 63.88 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02443/5.353, allocations: 10.22 MB / 2.362 GB, free: 62.54 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03307/5.386, allocations: 10.47 MB / 2.372 GB, free: 62.39 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01951/5.406, allocations: 6.432 MB / 2.378 GB, free: 61.27 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.007771/5.414, allocations: 1.407 MB / 2.38 GB, free: 61.27 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03121/5.445, allocations: 9.426 MB / 2.389 GB, free: 61.16 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.007434/5.452, allocations: 3.132 MB / 2.392 GB, free: 60.8 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.01911/5.472, allocations: 6.085 MB / 2.398 GB, free: 59.38 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.05546/5.527, allocations: 23.12 MB / 2.42 GB, free: 55.21 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/5.527, allocations: 0 / 2.42 GB, free: 55.21 MB / 1.686 GB Notification: Performance of FrontEnd: time 2.735e-06/5.527, allocations: 4 kB / 2.42 GB, free: 55.21 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.0009181/5.528, allocations: 0 / 2.42 GB, free: 55.21 MB / 1.686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1284 * Number of variables: 1284 Notification: Performance of Generate backend data structure: time 0.0536/5.582, allocations: 10.94 MB / 2.431 GB, free: 49.51 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 7.586e-05/5.582, allocations: 10.28 kB / 2.431 GB, free: 49.51 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/5.609, allocations: 3.424 MB / 2.434 GB, free: 48.07 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04105/5.65, allocations: 16.56 MB / 2.451 GB, free: 41.97 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009681/5.651, allocations: 451.2 kB / 2.451 GB, free: 41.75 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004116/5.655, allocations: 0.5255 MB / 2.452 GB, free: 41.59 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02984/5.685, allocations: 7.537 MB / 2.459 GB, free: 36.9 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003721/5.685, allocations: 21 kB / 2.459 GB, free: 36.89 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002966/5.688, allocations: 212.1 kB / 2.459 GB, free: 36.73 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/5.689, allocations: 193.4 kB / 2.459 GB, free: 36.71 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02749/5.716, allocations: 7.006 MB / 2.466 GB, free: 33.08 MB / 1.686 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.07731/5.793, allocations: 39.26 MB / 2.505 GB, free: 9.84 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/5.807, allocations: 4.291 MB / 2.509 GB, free: 5.531 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009322/5.817, allocations: 2.606 MB / 2.511 GB, free: 2.926 MB / 1.701 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.03067/5.847, allocations: 13.44 MB / 2.524 GB, free: 4.969 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008542/5.856, allocations: 2.951 MB / 2.527 GB, free: 1.957 MB / 1.717 GB Notification: Performance of pre-optimization done (n=268): time 7.043e-06/5.856, allocations: 0 / 2.527 GB, free: 1.957 MB / 1.717 GB Notification: Performance of matching and sorting (n=268): time 0.07971/5.936, allocations: 15.22 MB / 2.542 GB, free: 2.625 MB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/5.936, allocations: 291.1 kB / 2.542 GB, free: 2.277 MB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02106/5.957, allocations: 8.088 MB / 2.55 GB, free: 10.21 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/5.958, allocations: 103.6 kB / 2.55 GB, free: 10.11 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.006648/5.965, allocations: 3.771 MB / 2.554 GB, free: 6.34 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.002296/5.967, allocations: 0.938 MB / 2.555 GB, free: 5.41 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005655/5.973, allocations: 1.148 MB / 2.556 GB, free: 4.25 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 0.0001061/5.973, allocations: 306.7 kB / 2.556 GB, free: 3.949 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009395/5.983, allocations: 3.367 MB / 2.56 GB, free: 0.5664 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/5.994, allocations: 4.837 MB / 2.564 GB, free: 11.15 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01929/6.014, allocations: 7.526 MB / 2.572 GB, free: 3.289 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.585e-05/6.014, allocations: 12 kB / 2.572 GB, free: 3.277 MB / 1.764 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.03949/6.053, allocations: 10.36 MB / 2.582 GB, free: 9.086 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/6.053, allocations: 20 kB / 2.582 GB, free: 9.066 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.891e-05/6.053, allocations: 36 kB / 2.582 GB, free: 9.031 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01514/6.069, allocations: 3.375 MB / 2.585 GB, free: 5.648 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006339/6.075, allocations: 1.068 MB / 2.586 GB, free: 4.637 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/6.093, allocations: 9.901 MB / 2.596 GB, free: 10.38 MB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/6.104, allocations: 0.8042 MB / 2.597 GB, free: 9.57 MB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/6.105, allocations: 253.5 kB / 2.597 GB, free: 9.324 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01579/6.121, allocations: 5.328 MB / 2.602 GB, free: 3.988 MB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01095/6.132, allocations: 4.658 MB / 2.607 GB, free: 14.75 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01866/6.151, allocations: 7.15 MB / 2.614 GB, free: 7.246 MB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.289e-05/6.151, allocations: 15.94 kB / 2.614 GB, free: 7.23 MB / 1.811 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.03823/6.189, allocations: 9.922 MB / 2.623 GB, free: 13.48 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/6.189, allocations: 20 kB / 2.623 GB, free: 13.46 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.387e-05/6.189, allocations: 32 kB / 2.623 GB, free: 13.43 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/6.204, allocations: 3.205 MB / 2.627 GB, free: 10.21 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/6.21, allocations: 1.072 MB / 2.628 GB, free: 9.199 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/6.227, allocations: 10.19 MB / 2.638 GB, free: 14.55 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00963/6.236, allocations: 0.6574 MB / 2.638 GB, free: 13.89 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/6.238, allocations: 240 kB / 2.638 GB, free: 13.66 MB / 1.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.buiWitETS.bui.loa.nextTimeEvent,$whenCondition1,buiWitETS.ets.con.con1.y,buiWitETS.bui.terUniCoo.con1.y,buiWitETS.ets.int.local_reset,buiWitETS.bui.terUniCoo.hexWetNtu.flowRegime_nominal,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyDry.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.fullyWet.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.dryWetCalcs.cfg,buiWitETS.bui.terUniCoo.hexWetNtu.flowRegime,buiWitETS.bui.terUniCoo.hexWetNtu.UAFroRated.isFulWet,buiWitETS.bui.terUniCoo.hexWetNtu.UAFroRated.isFulDry,buiWitETS.bui.terUniCoo.greThr.greHys.y,$PRE.buiWitETS.bui.terUniCoo.greThr.greHys.y,buiWitETS.bui.loa.nextTimeEventScaled,$PRE.buiWitETS.bui.loa.nextTimeEventScaled,buiWitETS.bui.loa.nextTimeEvent,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 477 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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,4), (1,2), (1,7), (1,60), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00233/6.24, allocations: 474 kB / 2.639 GB, free: 13.25 MB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003157/6.244, allocations: 0.7522 MB / 2.64 GB, free: 12.49 MB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03428/6.278, allocations: 7.289 MB / 2.647 GB, free: 5.203 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02764/6.305, allocations: 6.08 MB / 2.653 GB, free: 15.05 MB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/6.306, allocations: 0 / 2.653 GB, free: 15.05 MB / 1.857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006196/6.312, allocations: 1.748 MB / 2.654 GB, free: 13.27 MB / 1.857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003232/6.315, allocations: 60 kB / 2.654 GB, free: 13.21 MB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007639/6.323, allocations: 392.1 kB / 2.655 GB, free: 12.83 MB / 1.857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008541/6.324, allocations: 181.9 kB / 2.655 GB, free: 12.65 MB / 1.857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03299/6.357, allocations: 7.793 MB / 2.663 GB, free: 4.855 MB / 1.857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02884/6.385, allocations: 8.81 MB / 2.671 GB, free: 11.98 MB / 1.873 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007685/6.393, allocations: 2.515 MB / 2.674 GB, free: 9.457 MB / 1.873 GB Notification: Performance of sorting global known variables: time 0.01486/6.408, allocations: 5.496 MB / 2.679 GB, free: 3.992 MB / 1.873 GB Notification: Performance of Backend: time 1.823e-06/6.408, allocations: 0 / 2.679 GB, free: 3.992 MB / 1.873 GB Notification: Performance of simCode: created initialization part: time 0.04422/6.452, allocations: 12.36 MB / 2.691 GB, free: 8.355 MB / 1.889 GB Notification: Performance of SimCode: time 0.05045/6.503, allocations: 17.85 MB / 2.709 GB, free: 6.738 MB / 1.904 GB Notification: Performance of Templates: time 0.3554/6.858, allocations: 220.7 MB / 2.924 GB, free: 11.45 MB / 2.123 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS.pipe 2>&1)