Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.Heating.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.2.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") translateModel(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiWitETS.bui.loa.y.2.|buiWitETS.ets.Q_flow|senMasFlo.m_flow|buiWitETS.ets.senMasFlo.m_flow|buiWitETS.ets.senTDisSup.T|buiWitETS.ets.senTDisRet.T",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.001939/0.001939, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.84 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS): time 2.048/3.063, allocations: 0.8883 GB / 2.115 GB, free: 15.62 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 1.395/4.458, allocations: 178 MB / 2.288 GB, free: 62.19 MB / 1.686 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03293/4.491, allocations: 0.7421 MB / 2.289 GB, free: 62.19 MB / 1.686 GB Notification: Performance of NFTyping.typeComponents: time 0.01572/4.506, allocations: 5.5 MB / 2.295 GB, free: 62.17 MB / 1.686 GB Notification: Performance of NFTyping.typeBindings: time 0.03462/4.541, allocations: 12.32 MB / 2.307 GB, free: 61.86 MB / 1.686 GB Notification: Performance of NFTyping.typeClassSections: time 0.02299/4.564, allocations: 9.506 MB / 2.316 GB, free: 61.64 MB / 1.686 GB Notification: Performance of NFFlatten.flatten: time 0.08721/4.651, allocations: 37.35 MB / 2.352 GB, free: 60.42 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02176/4.673, allocations: 8.678 MB / 2.361 GB, free: 59.38 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02637/4.699, allocations: 9.9 MB / 2.371 GB, free: 59.27 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/4.712, allocations: 5.647 MB / 2.376 GB, free: 58.28 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.004673/4.717, allocations: 1.141 MB / 2.377 GB, free: 58.28 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02239/4.739, allocations: 8.021 MB / 2.385 GB, free: 58.18 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.006207/4.745, allocations: 2.702 MB / 2.388 GB, free: 57.86 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.01383/4.759, allocations: 5.266 MB / 2.393 GB, free: 56.58 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.03583/4.795, allocations: 19.75 MB / 2.412 GB, free: 54.61 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/4.795, allocations: 2.844 kB / 2.412 GB, free: 54.61 MB / 1.686 GB Notification: Performance of FrontEnd: time 2.194e-06/4.795, allocations: 0 / 2.412 GB, free: 54.61 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.0005615/4.796, allocations: 3.188 kB / 2.412 GB, free: 54.61 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.0407/4.837, allocations: 9.973 MB / 2.422 GB, free: 49.36 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/4.837, allocations: 7.281 kB / 2.422 GB, free: 49.36 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/4.848, allocations: 1.77 MB / 2.424 GB, free: 48.54 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02994/4.878, allocations: 14.98 MB / 2.438 GB, free: 43.73 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005044/4.879, allocations: 351.5 kB / 2.438 GB, free: 43.71 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/4.881, allocations: 461.2 kB / 2.439 GB, free: 43.71 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/4.9, allocations: 5.724 MB / 2.445 GB, free: 42.03 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002443/4.9, allocations: 11.97 kB / 2.445 GB, free: 42.03 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001847/4.902, allocations: 185 kB / 2.445 GB, free: 42.03 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/4.902, allocations: 165.1 kB / 2.445 GB, free: 42.02 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/4.916, allocations: 4.453 MB / 2.449 GB, free: 39.73 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.0622/4.979, allocations: 32.39 MB / 2.481 GB, free: 11.66 MB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00696/4.986, allocations: 2.576 MB / 2.483 GB, free: 10.27 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/4.989, allocations: 1.331 MB / 2.485 GB, free: 9.578 MB / 1.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01923/5.008, allocations: 8.93 MB / 2.493 GB, free: 492 kB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003738/5.012, allocations: 1.677 MB / 2.495 GB, free: 14.76 MB / 1.701 GB Notification: Performance of pre-optimization done (n=185): time 7.744e-06/5.012, allocations: 0 / 2.495 GB, free: 14.76 MB / 1.701 GB Notification: Performance of matching and sorting (n=185): time 0.02538/5.037, allocations: 6.249 MB / 2.501 GB, free: 8.484 MB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/5.037, allocations: 448.3 kB / 2.502 GB, free: 7.949 MB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02154/5.059, allocations: 7.582 MB / 2.509 GB, free: 388 kB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.0009633/5.06, allocations: 81.7 kB / 2.509 GB, free: 300 kB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.006592/5.067, allocations: 3.558 MB / 2.512 GB, free: 12.75 MB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/5.068, allocations: 0.6925 MB / 2.513 GB, free: 12.06 MB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004205/5.072, allocations: 0.9826 MB / 2.514 GB, free: 11.07 MB / 1.717 GB Notification: Performance of setup shared object (initialization): time 0.0001117/5.072, allocations: 305.1 kB / 2.514 GB, free: 10.77 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/5.078, allocations: 2.226 MB / 2.517 GB, free: 8.539 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/5.084, allocations: 3.625 MB / 2.52 GB, free: 4.352 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/5.095, allocations: 5.328 MB / 2.525 GB, free: 14.68 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/5.095, allocations: 8 kB / 2.525 GB, free: 14.67 MB / 1.732 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.02108/5.116, allocations: 6.996 MB / 2.532 GB, free: 7.848 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/5.116, allocations: 23.28 kB / 2.532 GB, free: 7.828 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.484e-05/5.116, allocations: 32 kB / 2.532 GB, free: 7.797 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/5.119, allocations: 0.7618 MB / 2.533 GB, free: 7.031 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004733/5.124, allocations: 0.8071 MB / 2.534 GB, free: 6.277 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004837/5.129, allocations: 2.825 MB / 2.537 GB, free: 3.395 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008663/5.137, allocations: 0.6075 MB / 2.537 GB, free: 2.789 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/5.139, allocations: 211.9 kB / 2.537 GB, free: 2.582 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01193/5.151, allocations: 3.927 MB / 2.541 GB, free: 14.65 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00758/5.159, allocations: 3.442 MB / 2.545 GB, free: 10.64 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01064/5.169, allocations: 4.957 MB / 2.549 GB, free: 5.336 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.146e-05/5.169, allocations: 11.98 kB / 2.549 GB, free: 5.324 MB / 1.748 GB Notification: Performance of matching and sorting (n=537) (initialization_lambda0): time 0.02062/5.19, allocations: 6.532 MB / 2.556 GB, free: 14.96 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/5.19, allocations: 20 kB / 2.556 GB, free: 14.94 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.676e-05/5.19, allocations: 32.09 kB / 2.556 GB, free: 14.91 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/5.192, allocations: 0.582 MB / 2.556 GB, free: 14.33 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004218/5.196, allocations: 0.8069 MB / 2.557 GB, free: 13.57 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/5.201, allocations: 3.135 MB / 2.56 GB, free: 10.3 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008639/5.21, allocations: 478.6 kB / 2.561 GB, free: 9.828 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/5.211, allocations: 207.9 kB / 2.561 GB, free: 9.625 MB / 1.764 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.buiWitETS.bui.loa.nextTimeEvent,$whenCondition1,buiWitETS.ets.con.con1.y,buiWitETS.bui.terUniHea.con1.y,buiWitETS.ets.int.local_reset,buiWitETS.bui.terUniHea.hex.flowRegime_nominal,buiWitETS.bui.terUniHea.hex.flowRegime,buiWitETS.bui.terUniHea.greThr.greHys.y,$PRE.buiWitETS.bui.terUniHea.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 (434): * Single equations (assignments): 427 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {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): 2 systems {(1,28), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002432/5.214, allocations: 434.3 kB / 2.561 GB, free: 9.242 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003659/5.217, allocations: 0.7063 MB / 2.562 GB, free: 8.531 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/5.234, allocations: 4.1 MB / 2.566 GB, free: 4.473 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009618/5.243, allocations: 3.108 MB / 2.569 GB, free: 1.324 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/5.243, allocations: 3.938 kB / 2.569 GB, free: 1.32 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005422/5.249, allocations: 1.334 MB / 2.57 GB, free: 15.96 MB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003153/5.252, allocations: 55.94 kB / 2.57 GB, free: 15.91 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00586/5.258, allocations: 192.3 kB / 2.571 GB, free: 15.72 MB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008533/5.259, allocations: 129.8 kB / 2.571 GB, free: 15.6 MB / 1.779 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01337/5.272, allocations: 3.951 MB / 2.575 GB, free: 11.68 MB / 1.779 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01405/5.286, allocations: 5.347 MB / 2.58 GB, free: 6.305 MB / 1.779 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003058/5.289, allocations: 1.311 MB / 2.581 GB, free: 4.996 MB / 1.779 GB Notification: Performance of sorting global known variables: time 0.0159/5.305, allocations: 5.157 MB / 2.586 GB, free: 15.86 MB / 1.795 GB Notification: Performance of Backend: time 1.482e-06/5.305, allocations: 0 / 2.586 GB, free: 15.86 MB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.03138/5.337, allocations: 8.854 MB / 2.595 GB, free: 7.707 MB / 1.795 GB Notification: Performance of SimCode: time 0.04422/5.381, allocations: 15.96 MB / 2.61 GB, free: 7.938 MB / 1.811 GB Notification: Performance of Templates: time 0.2864/5.668, allocations: 172 MB / 2.778 GB, free: 13.38 MB / 1.982 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.Heating.Examples.BuildingTimeSeriesWithETS.pipe 2>&1)