Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.173/2.173, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 180.4 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 100.4 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004482, allocations: 8.938 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2106, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.528, allocations: 475.9 MB / 1.364 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.529, allocations: 96.42 kB / 1.364 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 56.8/58.33, allocations: 9.463 GB / 10.83 GB, free: 73.59 MB / 1.401 GB Notification: Performance of FrontEnd: time 3.466e-06/58.33, allocations: 0 / 10.83 GB, free: 73.59 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.006132/58.34, allocations: 0.5865 MB / 10.83 GB, free: 73.49 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3531 * Number of variables: 3531 Notification: Performance of Generate backend data structure: time 0.1268/58.46, allocations: 27.21 MB / 10.85 GB, free: 61.7 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/58.46, allocations: 9.281 kB / 10.85 GB, free: 61.7 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04655/58.51, allocations: 5.163 MB / 10.86 GB, free: 60.16 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1638/58.67, allocations: 38.63 MB / 10.9 GB, free: 56.24 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002296/58.68, allocations: 1.101 MB / 10.9 GB, free: 56.21 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00817/58.68, allocations: 1.423 MB / 10.9 GB, free: 56.21 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0793/58.76, allocations: 18.22 MB / 10.92 GB, free: 53.63 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001262/58.76, allocations: 44.91 kB / 10.92 GB, free: 53.62 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007864/58.77, allocations: 0.588 MB / 10.92 GB, free: 53.62 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005656/58.77, allocations: 384.7 kB / 10.92 GB, free: 53.62 MB / 1.401 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06615/58.84, allocations: 14.49 MB / 10.93 GB, free: 53.46 MB / 1.401 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.226/59.07, allocations: 89.97 MB / 11.02 GB, free: 9.156 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0467/59.11, allocations: 11.11 MB / 11.03 GB, free: 8.695 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07017/59.18, allocations: 19.21 MB / 11.05 GB, free: 2.941 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02195/59.2, allocations: 5.091 MB / 11.05 GB, free: 2.742 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02568/59.23, allocations: 3.422 MB / 11.06 GB, free: 2.059 MB / 1.401 GB Notification: Performance of pre-optimization done (n=706): time 4.577e-05/59.23, allocations: 0 / 11.06 GB, free: 2.059 MB / 1.401 GB Notification: Performance of matching and sorting (n=706): time 0.1385/59.37, allocations: 17.27 MB / 11.07 GB, free: 15.59 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/59.37, allocations: 126.2 kB / 11.07 GB, free: 15.52 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05336/59.42, allocations: 17.08 MB / 11.09 GB, free: 14.42 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.002992/59.43, allocations: 211.8 kB / 11.09 GB, free: 14.39 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01911/59.44, allocations: 11.24 MB / 11.1 GB, free: 11.43 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006538/59.45, allocations: 2.41 MB / 11.1 GB, free: 9.758 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002523/59.45, allocations: 201.7 kB / 11.1 GB, free: 9.602 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.001088/59.45, allocations: 0.6837 MB / 11.11 GB, free: 9.121 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01802/59.47, allocations: 4.011 MB / 11.11 GB, free: 7.711 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02299/59.5, allocations: 8.147 MB / 11.12 GB, free: 0.8672 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/59.52, allocations: 5.385 MB / 11.12 GB, free: 15.23 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/59.52, allocations: 34.28 kB / 11.12 GB, free: 15.23 MB / 1.432 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.0629/59.58, allocations: 14.63 MB / 11.14 GB, free: 9.383 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.447/61.03, allocations: 89.31 MB / 11.22 GB, free: 237 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004864/61.03, allocations: 110.5 kB / 11.22 GB, free: 237 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/61.05, allocations: 2.167 MB / 11.23 GB, free: 236.9 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02165/61.07, allocations: 2.384 MB / 11.23 GB, free: 236.9 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02614/61.09, allocations: 15.1 MB / 11.24 GB, free: 227.4 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02987/61.12, allocations: 1.254 MB / 11.24 GB, free: 227.4 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004038/61.13, allocations: 0.5778 MB / 11.25 GB, free: 227.4 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/61.13, allocations: 3.562 kB / 11.25 GB, free: 227.4 MB / 1.495 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05675/61.19, allocations: 12.53 MB / 11.26 GB, free: 227.1 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004589/61.19, allocations: 110 kB / 11.26 GB, free: 227.1 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/61.2, allocations: 2.174 MB / 11.26 GB, free: 227.1 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/61.22, allocations: 2.303 MB / 11.26 GB, free: 227.1 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02412/61.24, allocations: 15.1 MB / 11.28 GB, free: 217.5 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02682/61.27, allocations: 1.225 MB / 11.28 GB, free: 217.5 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003496/61.27, allocations: 0.5478 MB / 11.28 GB, free: 217.5 MB / 1.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 504 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition12,$PRE.QCoo5.nextTimeEvent,$whenCondition11,$PRE.QHea7.nextTimeEvent,$whenCondition10,$PRE.QHea6.nextTimeEvent,$whenCondition9,$PRE.QHea5.nextTimeEvent,$whenCondition8,$PRE.QCoo4.nextTimeEvent,$whenCondition7,$PRE.QCoo3.nextTimeEvent,$whenCondition6,$PRE.QHea4.nextTimeEvent,$whenCondition5,$PRE.QHea3.nextTimeEvent,$whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled,QHea3.nextTimeEvent,$PRE.QHea3.nextTimeEventScaled,QHea3.nextTimeEventScaled,QHea4.nextTimeEvent,$PRE.QHea4.nextTimeEventScaled,QHea4.nextTimeEventScaled,QCoo3.nextTimeEvent,$PRE.QCoo3.nextTimeEventScaled,QCoo3.nextTimeEventScaled,QCoo4.nextTimeEvent,$PRE.QCoo4.nextTimeEventScaled,QCoo4.nextTimeEventScaled,QHea5.nextTimeEvent,$PRE.QHea5.nextTimeEventScaled,QHea5.nextTimeEventScaled,QHea6.nextTimeEvent,$PRE.QHea6.nextTimeEventScaled,QHea6.nextTimeEventScaled,QHea7.nextTimeEvent,$PRE.QHea7.nextTimeEventScaled,QHea7.nextTimeEventScaled,QCoo5.nextTimeEvent,$PRE.QCoo5.nextTimeEventScaled,QCoo5.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1148): * Single equations (assignments): 1127 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 24,5 30,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.02231/61.3, allocations: 5.465 MB / 11.28 GB, free: 217.3 MB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009119/61.31, allocations: 1.918 MB / 11.29 GB, free: 217.3 MB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06262/61.37, allocations: 12.61 MB / 11.3 GB, free: 216.8 MB / 1.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001998/61.37, allocations: 92.88 kB / 11.3 GB, free: 216.8 MB / 1.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-05/61.37, allocations: 6.219 kB / 11.3 GB, free: 216.8 MB / 1.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04338/61.41, allocations: 9.37 MB / 11.31 GB, free: 216.1 MB / 1.495 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 postOpt removeSimpleEquations (simulation): time 0.1194/61.53, allocations: 27.84 MB / 11.33 GB, free: 214.9 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.613e-05/61.53, allocations: 2.594 kB / 11.33 GB, free: 214.9 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01418/61.55, allocations: 1.394 MB / 11.34 GB, free: 214.9 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01033/61.56, allocations: 1.634 MB / 11.34 GB, free: 214.9 MB / 1.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002188/61.56, allocations: 241.5 kB / 11.34 GB, free: 214.9 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02082/61.58, allocations: 14.6 MB / 11.35 GB, free: 205.4 MB / 1.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/61.58, allocations: 0 / 11.35 GB, free: 205.4 MB / 1.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07161/61.65, allocations: 17.1 MB / 11.37 GB, free: 204.4 MB / 1.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.017/61.67, allocations: 3.523 MB / 11.37 GB, free: 203.3 MB / 1.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008828/61.68, allocations: 152.8 kB / 11.37 GB, free: 203.3 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02748/61.7, allocations: 1.216 MB / 11.37 GB, free: 203.2 MB / 1.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002443/61.71, allocations: 491.2 kB / 11.37 GB, free: 203.2 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002945/61.71, allocations: 413.6 kB / 11.37 GB, free: 203.2 MB / 1.495 GB Notification: Performance of sorting global known variables: time 0.04458/61.75, allocations: 13.27 MB / 11.39 GB, free: 202.6 MB / 1.495 GB Notification: Performance of sort global known variables: time 7.91e-07/61.75, allocations: 0 / 11.39 GB, free: 202.6 MB / 1.495 GB Notification: Performance of remove unused functions: time 0.06647/61.82, allocations: 10.97 MB / 11.4 GB, free: 202 MB / 1.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 20 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip2.vol[1].dynBal.U,pip2.vol[2].dynBal.U,pip2.vol[3].dynBal.U,pip3.vol[1].dynBal.U,pip3.vol[2].dynBal.U,pip3.vol[3].dynBal.U,pip4.vol[1].dynBal.U,pip4.vol[2].dynBal.U,pip4.vol[3].dynBal.U,pip5.vol[1].dynBal.U,pip5.vol[2].dynBal.U,pip5.vol[3].dynBal.U) * Number of discrete variables: 36 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled,QHea3.nextTimeEvent,QHea3.nextTimeEventScaled,QHea4.nextTimeEvent,QHea4.nextTimeEventScaled,QCoo3.nextTimeEvent,QCoo3.nextTimeEventScaled,QCoo4.nextTimeEvent,QCoo4.nextTimeEventScaled,QHea5.nextTimeEvent,QHea5.nextTimeEventScaled,QHea6.nextTimeEvent,QHea6.nextTimeEventScaled,QHea7.nextTimeEvent,QHea7.nextTimeEventScaled,QCoo5.nextTimeEvent,QCoo5.nextTimeEventScaled) * Number of discrete states: 24 (QCoo5.nextTimeEvent,QHea7.nextTimeEvent,QHea6.nextTimeEvent,QHea5.nextTimeEvent,QCoo4.nextTimeEvent,QCoo3.nextTimeEvent,QHea4.nextTimeEvent,QHea3.nextTimeEvent,QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo5.nextTimeEventScaled,QHea7.nextTimeEventScaled,QHea6.nextTimeEventScaled,QHea5.nextTimeEventScaled,QCoo4.nextTimeEventScaled,QCoo3.nextTimeEventScaled,QHea4.nextTimeEventScaled,QHea3.nextTimeEventScaled,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (690): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 14,4 20,5 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.0341/61.86, allocations: 15.24 MB / 11.41 GB, free: 194.1 MB / 1.495 GB Notification: Performance of simCode: created initialization part: time 0.07345/61.93, allocations: 18.7 MB / 11.43 GB, free: 192.5 MB / 1.495 GB Notification: Performance of simCode: created event and clocks part: time 2.09e-05/61.93, allocations: 6.875 kB / 11.43 GB, free: 192.5 MB / 1.495 GB Notification: Performance of simCode: created simulation system equations: time 0.02418/61.95, allocations: 5.86 MB / 11.44 GB, free: 191.7 MB / 1.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07736/62.03, allocations: 9.524 MB / 11.45 GB, free: 191.5 MB / 1.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/62.16, allocations: 44.85 MB / 11.49 GB, free: 173.4 MB / 1.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03184/62.2, allocations: 11.22 MB / 11.5 GB, free: 172.2 MB / 1.495 GB Notification: Performance of simCode: alias equations: time 0.04954/62.24, allocations: 5.547 MB / 11.51 GB, free: 172 MB / 1.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009392/62.25, allocations: 1.5 MB / 11.51 GB, free: 172 MB / 1.495 GB Notification: Performance of SimCode: time 1.403e-06/62.25, allocations: 0 / 11.51 GB, free: 172 MB / 1.495 GB Notification: Performance of Templates: time 2.532/64.79, allocations: 406 MB / 11.9 GB, free: 240.9 MB / 1.495 GB