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.273/2.273, allocations: 252.6 MB / 265.2 MB, free: 5.691 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.001537/0.001536, allocations: 179.8 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001128/0.001128, allocations: 97.39 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.743e-05, allocations: 3.984 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/2.154, allocations: 475.8 MB / 1.36 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/2.155, allocations: 87.58 kB / 1.36 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 74.09/76.25, allocations: 9.433 GB / 10.79 GB, free: 45.9 MB / 1.385 GB Notification: Performance of FrontEnd: time 3.537e-06/76.25, allocations: 4 kB / 10.79 GB, free: 45.9 MB / 1.385 GB Notification: Performance of Transformations before backend: time 0.007506/76.25, allocations: 0.593 MB / 10.79 GB, free: 45.79 MB / 1.385 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.09226/76.35, allocations: 20.75 MB / 10.81 GB, free: 35.91 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/76.35, allocations: 10.47 kB / 10.81 GB, free: 35.91 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04628/76.39, allocations: 5.152 MB / 10.82 GB, free: 34.37 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1588/76.55, allocations: 38.43 MB / 10.86 GB, free: 30.01 MB / 1.385 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002108/76.55, allocations: 1.1 MB / 10.86 GB, free: 29.98 MB / 1.385 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007424/76.56, allocations: 1.428 MB / 10.86 GB, free: 29.97 MB / 1.385 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06833/76.63, allocations: 17.62 MB / 10.88 GB, free: 27.33 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001107/76.63, allocations: 50.62 kB / 10.88 GB, free: 27.3 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007588/76.64, allocations: 0.5858 MB / 10.88 GB, free: 27.3 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004701/76.64, allocations: 376.3 kB / 10.88 GB, free: 27.3 MB / 1.385 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05193/76.69, allocations: 13.51 MB / 10.89 GB, free: 26.98 MB / 1.385 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 0.2339/76.93, allocations: 89.99 MB / 10.98 GB, free: 1.602 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 1.535/78.46, allocations: 10.08 MB / 10.99 GB, free: 183.9 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01602/78.48, allocations: 5.002 MB / 10.99 GB, free: 183.8 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07924/78.56, allocations: 19.48 MB / 11.01 GB, free: 178.4 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01706/78.57, allocations: 4.656 MB / 11.02 GB, free: 178.2 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02849/78.6, allocations: 3.917 MB / 11.02 GB, free: 178.2 MB / 1.432 GB Notification: Performance of pre-optimization done (n=703): time 5.837e-05/78.6, allocations: 3.656 kB / 11.02 GB, free: 178.2 MB / 1.432 GB Notification: Performance of matching and sorting (n=703): time 0.03955/78.64, allocations: 9.575 MB / 11.03 GB, free: 177.9 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/78.64, allocations: 133.1 kB / 11.03 GB, free: 177.9 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06137/78.7, allocations: 16.88 MB / 11.05 GB, free: 176.8 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.003317/78.71, allocations: 209.1 kB / 11.05 GB, free: 176.8 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.02215/78.73, allocations: 11.25 MB / 11.06 GB, free: 174.9 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.005607/78.73, allocations: 2.41 MB / 11.06 GB, free: 173.8 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00252/78.74, allocations: 195.7 kB / 11.06 GB, free: 173.8 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.001185/78.74, allocations: 0.6863 MB / 11.06 GB, free: 173.4 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01244/78.75, allocations: 3.562 MB / 11.06 GB, free: 173.4 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01661/78.77, allocations: 7.7 MB / 11.07 GB, free: 168.4 MB / 1.432 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/78.78, allocations: 4.812 MB / 11.08 GB, free: 168.3 MB / 1.432 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/78.78, allocations: 29.34 kB / 11.08 GB, free: 168.3 MB / 1.432 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.04946/78.83, allocations: 13.5 MB / 11.09 GB, free: 167 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 0.0218/78.85, allocations: 89.31 MB / 11.18 GB, free: 93.01 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005513/78.85, allocations: 110.7 kB / 11.18 GB, free: 93.01 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01477/78.87, allocations: 2.164 MB / 11.18 GB, free: 92.93 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02004/78.89, allocations: 2.379 MB / 11.18 GB, free: 92.93 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/78.92, allocations: 14.92 MB / 11.2 GB, free: 99.32 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03064/78.95, allocations: 1.256 MB / 11.2 GB, free: 99.28 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003816/78.95, allocations: 0.5831 MB / 11.2 GB, free: 99.28 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/78.95, allocations: 3.375 kB / 11.2 GB, free: 99.28 MB / 1.464 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04041/78.99, allocations: 11.63 MB / 11.21 GB, free: 99 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003953/78.99, allocations: 108.9 kB / 11.21 GB, free: 99 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01478/79.01, allocations: 2.173 MB / 11.21 GB, free: 98.92 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01868/79.03, allocations: 2.294 MB / 11.21 GB, free: 98.92 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02393/79.05, allocations: 14.91 MB / 11.23 GB, free: 89.31 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02808/79.08, allocations: 1.227 MB / 11.23 GB, free: 89.27 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003566/79.08, allocations: 0.5479 MB / 11.23 GB, free: 89.27 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.006545/79.09, allocations: 0.7842 MB / 11.23 GB, free: 89.15 MB / 1.464 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008395/79.1, allocations: 1.916 MB / 11.23 GB, free: 88.12 MB / 1.464 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04667/79.14, allocations: 11.7 MB / 11.24 GB, free: 87.55 MB / 1.464 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001726/79.14, allocations: 89.45 kB / 11.24 GB, free: 87.55 MB / 1.464 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.183e-05/79.14, allocations: 7.625 kB / 11.24 GB, free: 87.55 MB / 1.464 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02953/79.17, allocations: 8.497 MB / 11.25 GB, free: 86.85 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.1097/79.28, allocations: 27.13 MB / 11.28 GB, free: 85.43 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.552e-05/79.28, allocations: 5.828 kB / 11.28 GB, free: 85.43 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0142/79.3, allocations: 1.381 MB / 11.28 GB, free: 85.43 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/79.31, allocations: 1.631 MB / 11.28 GB, free: 85.34 MB / 1.464 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002324/79.31, allocations: 235.5 kB / 11.28 GB, free: 85.34 MB / 1.464 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/79.33, allocations: 14.43 MB / 11.3 GB, free: 75.75 MB / 1.464 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/79.33, allocations: 0 / 11.3 GB, free: 75.75 MB / 1.464 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05128/79.38, allocations: 15.77 MB / 11.31 GB, free: 73.8 MB / 1.464 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01955/79.4, allocations: 3.519 MB / 11.31 GB, free: 72.66 MB / 1.464 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00864/79.41, allocations: 149.8 kB / 11.31 GB, free: 72.66 MB / 1.464 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02888/79.44, allocations: 1.21 MB / 11.32 GB, free: 72.62 MB / 1.464 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002469/79.44, allocations: 485.6 kB / 11.32 GB, free: 72.62 MB / 1.464 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001978/79.44, allocations: 412.7 kB / 11.32 GB, free: 72.62 MB / 1.464 GB Notification: Performance of sorting global known variables: time 0.04366/79.49, allocations: 13.07 MB / 11.33 GB, free: 71.92 MB / 1.464 GB Notification: Performance of sort global known variables: time 9.92e-07/79.49, allocations: 3.469 kB / 11.33 GB, free: 71.92 MB / 1.464 GB Notification: Performance of remove unused functions: time 0.06896/79.56, allocations: 10.98 MB / 11.34 GB, free: 71.25 MB / 1.464 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 {5 13,4 20,5 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03391/79.59, allocations: 15.16 MB / 11.35 GB, free: 63.34 MB / 1.464 GB Notification: Performance of simCode: created initialization part: time 0.05978/79.65, allocations: 18.08 MB / 11.37 GB, free: 77.66 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/79.65, allocations: 10.48 kB / 11.37 GB, free: 77.66 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.01798/79.67, allocations: 5.396 MB / 11.38 GB, free: 76.93 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07894/79.75, allocations: 9.5 MB / 11.39 GB, free: 76.81 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/79.85, allocations: 31.08 MB / 11.42 GB, free: 69.79 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02792/79.88, allocations: 11.25 MB / 11.43 GB, free: 68.5 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.0714/79.95, allocations: 8.461 MB / 11.44 GB, free: 68.27 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00626/79.96, allocations: 1.106 MB / 11.44 GB, free: 68.26 MB / 1.479 GB Notification: Performance of SimCode: time 3.186e-06/79.96, allocations: 0 / 11.44 GB, free: 68.26 MB / 1.479 GB Notification: Performance of Templates: time 4.132/84.09, allocations: 455.1 MB / 11.88 GB, free: 204.9 MB / 1.479 GB