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.24/2.24, allocations: 253.1 MB / 260.6 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 172.8 kB / 319.9 MB, free: 3.094 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.13/2.13, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.00113/0.00113, allocations: 94.69 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.1e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.939/2.142, allocations: 476 MB / 1.354 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/2.143, allocations: 84.84 kB / 1.354 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 72.04/74.18, allocations: 9.389 GB / 10.74 GB, free: 52.13 MB / 1.37 GB Notification: Performance of FrontEnd: time 2.565e-06/74.18, allocations: 0 / 10.74 GB, free: 52.13 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.007697/74.19, allocations: 0.5871 MB / 10.74 GB, free: 52.02 MB / 1.37 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.09574/74.29, allocations: 20.74 MB / 10.76 GB, free: 42.09 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 9.271e-05/74.29, allocations: 7.344 kB / 10.76 GB, free: 42.09 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06044/74.35, allocations: 5.158 MB / 10.77 GB, free: 40.54 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.273/74.62, allocations: 38.41 MB / 10.81 GB, free: 35.61 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/74.62, allocations: 480.5 kB / 10.81 GB, free: 35.61 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006778/74.63, allocations: 0.8462 MB / 10.81 GB, free: 35.61 MB / 1.37 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05389/74.68, allocations: 12.85 MB / 10.82 GB, free: 29.25 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06234/74.75, allocations: 15.48 MB / 10.83 GB, free: 15.35 MB / 1.37 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001141/74.75, allocations: 43.59 kB / 10.83 GB, free: 15.3 MB / 1.37 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006077/74.75, allocations: 39.7 kB / 10.83 GB, free: 15.27 MB / 1.37 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004332/74.75, allocations: 375.7 kB / 10.84 GB, free: 14.91 MB / 1.37 GB Warning: The model contains alias variables with conflicting start and/or 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 1.932/76.69, allocations: 87.56 MB / 10.92 GB, free: 143.1 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03334/76.72, allocations: 10.16 MB / 10.93 GB, free: 142.9 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01436/76.73, allocations: 4.934 MB / 10.94 GB, free: 142.8 MB / 1.401 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07971/76.81, allocations: 19.17 MB / 10.95 GB, free: 137.3 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01702/76.83, allocations: 4.428 MB / 10.96 GB, free: 137.2 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0295/76.86, allocations: 3.751 MB / 10.96 GB, free: 137.2 MB / 1.401 GB Notification: Performance of pre-optimization done (n=703): time 8.148e-05/76.86, allocations: 1.562 kB / 10.96 GB, free: 137.2 MB / 1.401 GB Notification: Performance of matching and sorting (n=703): time 0.05045/76.91, allocations: 10.2 MB / 10.97 GB, free: 136.8 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/76.91, allocations: 128.4 kB / 10.97 GB, free: 136.7 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06128/76.97, allocations: 15.79 MB / 10.99 GB, free: 135.7 MB / 1.401 GB Notification: Performance of collectPreVariables (initialization): time 0.003574/76.98, allocations: 54.77 kB / 10.99 GB, free: 135.7 MB / 1.401 GB Notification: Performance of collectInitialEqns (initialization): time 0.0246/77, allocations: 11.19 MB / 11 GB, free: 133.6 MB / 1.401 GB Notification: Performance of collectInitialBindings (initialization): time 0.006081/77.01, allocations: 2.312 MB / 11 GB, free: 132.4 MB / 1.401 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/77.01, allocations: 0 / 11 GB, free: 132.4 MB / 1.401 GB Notification: Performance of setup shared object (initialization): time 0.001255/77.01, allocations: 0.689 MB / 11 GB, free: 132.1 MB / 1.401 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0121/77.02, allocations: 3.518 MB / 11.01 GB, free: 132 MB / 1.401 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01712/77.04, allocations: 7.561 MB / 11.01 GB, free: 127.1 MB / 1.401 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02534/77.07, allocations: 5.486 MB / 11.02 GB, free: 126.9 MB / 1.401 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002564/77.07, allocations: 31.94 kB / 11.02 GB, free: 126.9 MB / 1.401 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.0611/77.13, allocations: 13.46 MB / 11.03 GB, free: 125.7 MB / 1.401 GB Notification: Performance of prepare postOptimizeDAE: time 0.03621/77.16, allocations: 89.34 MB / 11.12 GB, free: 83.36 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006756/77.16, allocations: 110.7 kB / 11.12 GB, free: 83.36 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/77.18, allocations: 1.974 MB / 11.12 GB, free: 83.28 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02022/77.2, allocations: 2.374 MB / 11.12 GB, free: 83.28 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/77.23, allocations: 14.74 MB / 11.14 GB, free: 90.01 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03143/77.26, allocations: 1.052 MB / 11.14 GB, free: 89.96 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004396/77.26, allocations: 0.5793 MB / 11.14 GB, free: 89.96 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/77.26, allocations: 3.562 kB / 11.14 GB, free: 89.96 MB / 1.464 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05121/77.31, allocations: 11.11 MB / 11.15 GB, free: 89.69 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005736/77.31, allocations: 110.6 kB / 11.15 GB, free: 89.69 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0134/77.33, allocations: 1.97 MB / 11.15 GB, free: 89.61 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01884/77.35, allocations: 2.293 MB / 11.15 GB, free: 89.61 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02694/77.37, allocations: 14.74 MB / 11.17 GB, free: 80.34 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02914/77.4, allocations: 1.018 MB / 11.17 GB, free: 80.3 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004122/77.41, allocations: 0.5433 MB / 11.17 GB, free: 80.3 MB / 1.464 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1145): * Single equations (assignments): 1124 * 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,5 16} Notification: Performance of prepare postOptimizeDAE: time 0.007718/77.42, allocations: 480.1 kB / 11.17 GB, free: 80.18 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01034/77.43, allocations: 1.903 MB / 11.17 GB, free: 79.16 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05737/77.48, allocations: 11.52 MB / 11.18 GB, free: 78.59 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002442/77.48, allocations: 87.59 kB / 11.18 GB, free: 78.59 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.186e-05/77.48, allocations: 10.75 kB / 11.18 GB, free: 78.59 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03583/77.52, allocations: 8.474 MB / 11.19 GB, free: 77.88 MB / 1.464 GB Warning: The model contains alias variables with conflicting start and/or 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.1165/77.64, allocations: 25.31 MB / 11.22 GB, free: 76.65 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000149/77.64, allocations: 0 / 11.22 GB, free: 76.65 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01464/77.65, allocations: 1.377 MB / 11.22 GB, free: 76.65 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0091/77.66, allocations: 1.514 MB / 11.22 GB, free: 76.57 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002368/77.66, allocations: 149.4 kB / 11.22 GB, free: 76.57 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02531/77.69, allocations: 14.22 MB / 11.23 GB, free: 83.31 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/77.69, allocations: 4.375 kB / 11.23 GB, free: 83.31 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05728/77.74, allocations: 15.58 MB / 11.25 GB, free: 81.39 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01862/77.76, allocations: 3.495 MB / 11.25 GB, free: 80.25 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009731/77.77, allocations: 40.58 kB / 11.25 GB, free: 80.25 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02879/77.8, allocations: 1.077 MB / 11.25 GB, free: 80.22 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002467/77.8, allocations: 484.9 kB / 11.25 GB, free: 80.21 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003081/77.81, allocations: 408.1 kB / 11.25 GB, free: 80.21 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.04138/77.85, allocations: 12 MB / 11.27 GB, free: 79.61 MB / 1.479 GB Notification: Performance of sort global known variables: time 6.62e-07/77.85, allocations: 0 / 11.27 GB, free: 79.61 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.07001/77.92, allocations: 10.5 MB / 11.28 GB, free: 78.94 MB / 1.479 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (683): * Single equations (assignments): 621 * 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 {3 15,4 20,5 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03446/77.95, allocations: 14.76 MB / 11.29 GB, free: 71.11 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.05601/78.01, allocations: 17.29 MB / 11.31 GB, free: 69.57 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 2.297e-05/78.01, allocations: 9.875 kB / 11.31 GB, free: 69.57 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.01725/78.03, allocations: 5.191 MB / 11.31 GB, free: 68.9 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0772/78.1, allocations: 9.27 MB / 11.32 GB, free: 68.79 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1082/78.21, allocations: 30.67 MB / 11.35 GB, free: 61.78 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03021/78.24, allocations: 11.25 MB / 11.36 GB, free: 60.49 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.07397/78.32, allocations: 8.401 MB / 11.37 GB, free: 60.27 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006541/78.32, allocations: 1.099 MB / 11.37 GB, free: 60.26 MB / 1.479 GB Notification: Performance of SimCode: time 1.462e-06/78.32, allocations: 2.906 kB / 11.37 GB, free: 60.26 MB / 1.479 GB Notification: Performance of Templates: time 4.011/82.33, allocations: 387.7 MB / 11.75 GB, free: 232.4 MB / 1.479 GB