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.001825/0.001826, allocations: 108.9 kB / 16.41 MB, free: 6.516 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.001984/0.001984, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8698/0.8718, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Cooling.Examples.BuildingTimeSeriesWithETS): time 1.826/2.698, allocations: 0.8883 GB / 2.097 GB, free: 8.047 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 1.623/4.321, allocations: 178 MB / 2.271 GB, free: 62.04 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04166/4.363, allocations: 0.7385 MB / 2.271 GB, free: 62.04 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01793/4.381, allocations: 5.804 MB / 2.277 GB, free: 62.03 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03835/4.419, allocations: 13.39 MB / 2.29 GB, free: 61.72 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02597/4.445, allocations: 10.14 MB / 2.3 GB, free: 61.5 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.09442/4.539, allocations: 39.45 MB / 2.338 GB, free: 60.38 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02032/4.56, allocations: 10.22 MB / 2.348 GB, free: 59.04 MB / 1.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02695/4.587, allocations: 10.38 MB / 2.359 GB, free: 58.95 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01443/4.601, allocations: 6.436 MB / 2.365 GB, free: 57.87 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004558/4.606, allocations: 1.408 MB / 2.366 GB, free: 57.87 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02464/4.631, allocations: 9.404 MB / 2.375 GB, free: 57.76 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006274/4.637, allocations: 3.133 MB / 2.378 GB, free: 57.4 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01714/4.654, allocations: 6.088 MB / 2.384 GB, free: 55.98 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 0.04488/4.699, allocations: 23.12 MB / 2.407 GB, free: 51.86 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/4.699, allocations: 2.875 kB / 2.407 GB, free: 51.86 MB / 1.67 GB Notification: Performance of FrontEnd: time 2.064e-06/4.699, allocations: 0 / 2.407 GB, free: 51.86 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.0006167/4.7, allocations: 0 / 2.407 GB, free: 51.86 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: 1284 * Number of variables: 1284 Notification: Performance of Generate backend data structure: time 0.04094/4.741, allocations: 10.94 MB / 2.418 GB, free: 46.16 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/4.741, allocations: 8.906 kB / 2.418 GB, free: 46.16 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02519/4.766, allocations: 3.424 MB / 2.421 GB, free: 44.73 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03466/4.801, allocations: 16.57 MB / 2.437 GB, free: 38.6 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/4.801, allocations: 446.9 kB / 2.438 GB, free: 38.39 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/4.804, allocations: 0.5393 MB / 2.438 GB, free: 38.21 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/4.83, allocations: 7.544 MB / 2.446 GB, free: 33.51 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/4.831, allocations: 8.438 kB / 2.446 GB, free: 33.51 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/4.833, allocations: 218.3 kB / 2.446 GB, free: 33.35 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/4.833, allocations: 190.5 kB / 2.446 GB, free: 33.33 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02365/4.857, allocations: 7.005 MB / 2.453 GB, free: 29.7 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.06882/4.925, allocations: 39.26 MB / 2.491 GB, free: 5.973 MB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/4.939, allocations: 4.286 MB / 2.495 GB, free: 1.676 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008214/4.947, allocations: 2.613 MB / 2.498 GB, free: 15.06 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.03246/4.98, allocations: 13.44 MB / 2.511 GB, free: 1.102 MB / 1.701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01014/4.99, allocations: 2.947 MB / 2.514 GB, free: 14.1 MB / 1.717 GB Notification: Performance of pre-optimization done (n=268): time 1.096e-05/4.99, allocations: 0 / 2.514 GB, free: 14.1 MB / 1.717 GB Notification: Performance of matching and sorting (n=268): time 0.08226/5.072, allocations: 15.21 MB / 2.529 GB, free: 14.77 MB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/5.073, allocations: 294.4 kB / 2.529 GB, free: 14.42 MB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02677/5.099, allocations: 8.088 MB / 2.537 GB, free: 6.359 MB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.001679/5.101, allocations: 99.73 kB / 2.537 GB, free: 6.258 MB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008146/5.109, allocations: 3.781 MB / 2.541 GB, free: 2.48 MB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.002607/5.112, allocations: 0.9375 MB / 2.542 GB, free: 1.551 MB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006699/5.119, allocations: 1.15 MB / 2.543 GB, free: 396 kB / 1.732 GB Notification: Performance of setup shared object (initialization): time 0.0001182/5.119, allocations: 301.1 kB / 2.543 GB, free: 92 kB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/5.129, allocations: 3.368 MB / 2.546 GB, free: 12.71 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/5.141, allocations: 4.834 MB / 2.551 GB, free: 7.293 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/5.162, allocations: 7.53 MB / 2.558 GB, free: 15.43 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.297e-05/5.162, allocations: 8 kB / 2.558 GB, free: 15.42 MB / 1.764 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.04208/5.204, allocations: 10.35 MB / 2.568 GB, free: 5.234 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/5.204, allocations: 23.98 kB / 2.569 GB, free: 5.211 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/5.204, allocations: 32 kB / 2.569 GB, free: 5.18 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01605/5.22, allocations: 3.377 MB / 2.572 GB, free: 1.789 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006593/5.227, allocations: 1.067 MB / 2.573 GB, free: 0.7812 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/5.246, allocations: 9.896 MB / 2.583 GB, free: 6.523 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/5.257, allocations: 0.8063 MB / 2.583 GB, free: 5.711 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/5.259, allocations: 247.9 kB / 2.584 GB, free: 5.469 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01638/5.276, allocations: 5.329 MB / 2.589 GB, free: 136 kB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01211/5.288, allocations: 4.641 MB / 2.593 GB, free: 10.91 MB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02002/5.308, allocations: 7.164 MB / 2.6 GB, free: 3.406 MB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.443e-05/5.308, allocations: 15.94 kB / 2.6 GB, free: 3.391 MB / 1.795 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.03975/5.348, allocations: 9.923 MB / 2.61 GB, free: 9.633 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/5.348, allocations: 16 kB / 2.61 GB, free: 9.617 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-05/5.348, allocations: 39.98 kB / 2.61 GB, free: 9.578 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/5.362, allocations: 3.193 MB / 2.613 GB, free: 6.371 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006232/5.368, allocations: 1.072 MB / 2.614 GB, free: 5.359 MB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/5.385, allocations: 10.19 MB / 2.624 GB, free: 10.71 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/5.396, allocations: 0.6573 MB / 2.625 GB, free: 10.05 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/5.397, allocations: 246.9 kB / 2.625 GB, free: 9.809 MB / 1.826 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.002871/5.4, allocations: 469.1 kB / 2.625 GB, free: 9.402 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003773/5.404, allocations: 0.7405 MB / 2.626 GB, free: 8.652 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03522/5.439, allocations: 7.303 MB / 2.633 GB, free: 1.355 MB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02894/5.468, allocations: 6.077 MB / 2.639 GB, free: 11.2 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-05/5.468, allocations: 0 / 2.639 GB, free: 11.2 MB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006341/5.475, allocations: 1.752 MB / 2.641 GB, free: 9.414 MB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003913/5.479, allocations: 60 kB / 2.641 GB, free: 9.355 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008238/5.487, allocations: 386.4 kB / 2.641 GB, free: 8.98 MB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009899/5.488, allocations: 185.9 kB / 2.642 GB, free: 8.797 MB / 1.842 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03245/5.52, allocations: 7.8 MB / 2.649 GB, free: 1.004 MB / 1.842 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02708/5.548, allocations: 8.811 MB / 2.658 GB, free: 8.125 MB / 1.857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007022/5.555, allocations: 2.498 MB / 2.66 GB, free: 5.613 MB / 1.857 GB Notification: Performance of sorting global known variables: time 0.01762/5.572, allocations: 5.507 MB / 2.666 GB, free: 140 kB / 1.857 GB Notification: Performance of Backend: time 1.162e-06/5.572, allocations: 3.094 kB / 2.666 GB, free: 140 kB / 1.857 GB Notification: Performance of simCode: created initialization part: time 0.0462/5.619, allocations: 12.36 MB / 2.678 GB, free: 4.5 MB / 1.873 GB Notification: Performance of SimCode: time 0.05357/5.672, allocations: 17.85 MB / 2.695 GB, free: 2.801 MB / 1.889 GB Notification: Performance of Templates: time 0.3594/6.032, allocations: 220.7 MB / 2.911 GB, free: 7.461 MB / 2.107 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)