Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.DistrictHeatingCooling.Examples.IdealSystem3Clusters") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.178/5.178, allocations: 0.5623 GB / 0.5775 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002592/0.002592, allocations: 355.6 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.312/4.312, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001834/0.001834, allocations: 187.5 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005139, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7369, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/2.04, allocations: 483.7 MB / 1.934 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/2.04, allocations: 95.58 kB / 1.934 GB, free: 55.81 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 49.91/51.95, allocations: 9.63 GB / 11.56 GB, free: 62.47 MB / 1.464 GB Notification: Performance of FrontEnd: time 2.504e-06/51.95, allocations: 0 / 11.56 GB, free: 62.47 MB / 1.464 GB Notification: Performance of Transformations before backend: time 0.004966/51.96, allocations: 0.5913 MB / 11.56 GB, free: 62.38 MB / 1.464 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.1108/52.07, allocations: 27.23 MB / 11.59 GB, free: 50.61 MB / 1.464 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/52.07, allocations: 12.44 kB / 11.59 GB, free: 50.61 MB / 1.464 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04097/52.11, allocations: 5.162 MB / 11.6 GB, free: 49.21 MB / 1.464 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1263/52.23, allocations: 35.07 MB / 11.63 GB, free: 45.33 MB / 1.464 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001926/52.24, allocations: 1.101 MB / 11.63 GB, free: 45.3 MB / 1.464 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006532/52.24, allocations: 1.421 MB / 11.63 GB, free: 45.3 MB / 1.464 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.066/52.31, allocations: 18.38 MB / 11.65 GB, free: 42.82 MB / 1.464 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000804/52.31, allocations: 50.08 kB / 11.65 GB, free: 42.81 MB / 1.464 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005729/52.32, allocations: 0.5882 MB / 11.65 GB, free: 42.81 MB / 1.464 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005624/52.32, allocations: 386.6 kB / 11.65 GB, free: 42.81 MB / 1.464 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05446/52.37, allocations: 14.48 MB / 11.67 GB, free: 42.7 MB / 1.464 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.1798/52.55, allocations: 89.05 MB / 11.75 GB, free: 14.9 MB / 1.479 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0358/52.59, allocations: 10.85 MB / 11.76 GB, free: 14.44 MB / 1.479 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01677/52.6, allocations: 5.524 MB / 11.77 GB, free: 14.34 MB / 1.479 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05879/52.66, allocations: 18.95 MB / 11.79 GB, free: 8.477 MB / 1.479 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01808/52.68, allocations: 5.129 MB / 11.79 GB, free: 8.281 MB / 1.479 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02299/52.7, allocations: 3.848 MB / 11.8 GB, free: 7.582 MB / 1.479 GB Notification: Performance of pre-optimization done (n=703): time 3.918e-05/52.7, allocations: 0 / 11.8 GB, free: 7.582 MB / 1.479 GB Notification: Performance of matching and sorting (n=703): time 0.07932/52.78, allocations: 17.18 MB / 11.81 GB, free: 5.184 MB / 1.479 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/52.78, allocations: 126.5 kB / 11.81 GB, free: 5.113 MB / 1.479 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04655/52.83, allocations: 18.2 MB / 11.83 GB, free: 19.9 MB / 1.495 GB Notification: Performance of collectPreVariables (initialization): time 0.002625/52.83, allocations: 209.6 kB / 11.83 GB, free: 19.87 MB / 1.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.01525/52.85, allocations: 11.22 MB / 11.84 GB, free: 16.91 MB / 1.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.004378/52.85, allocations: 2.401 MB / 11.84 GB, free: 15.39 MB / 1.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/52.85, allocations: 197.5 kB / 11.84 GB, free: 15.39 MB / 1.495 GB Notification: Performance of setup shared object (initialization): time 0.000682/52.85, allocations: 0.6885 MB / 11.84 GB, free: 15.06 MB / 1.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01446/52.87, allocations: 3.993 MB / 11.85 GB, free: 15.02 MB / 1.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01894/52.89, allocations: 8.168 MB / 11.86 GB, free: 9.879 MB / 1.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/52.9, allocations: 5.188 MB / 11.86 GB, free: 9.594 MB / 1.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.962e-05/52.9, allocations: 33 kB / 11.86 GB, free: 9.594 MB / 1.495 GB Notification: Performance of matching and sorting (n=1274) (initialization): time 0.04838/52.95, allocations: 14.36 MB / 11.88 GB, free: 7.898 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.002751/52.96, allocations: 3.459 MB / 11.88 GB, free: 3.473 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002118/52.96, allocations: 111.8 kB / 11.88 GB, free: 3.473 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/52.97, allocations: 2.179 MB / 11.88 GB, free: 3.359 MB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01601/52.98, allocations: 2.263 MB / 11.88 GB, free: 3.199 MB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0213/53.01, allocations: 14.97 MB / 11.9 GB, free: 7.609 MB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02472/53.03, allocations: 1.253 MB / 11.9 GB, free: 7.289 MB / 1.51 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002822/53.03, allocations: 0.5835 MB / 11.9 GB, free: 7.199 MB / 1.51 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/53.03, allocations: 3.656 kB / 11.9 GB, free: 7.199 MB / 1.51 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03994/53.07, allocations: 12.39 MB / 11.91 GB, free: 2.32 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/53.07, allocations: 113.1 kB / 11.91 GB, free: 2.32 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/53.09, allocations: 2.168 MB / 11.91 GB, free: 1.844 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01476/53.1, allocations: 2.188 MB / 11.92 GB, free: 1.613 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/53.12, allocations: 14.96 MB / 11.93 GB, free: 5.625 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02302/53.15, allocations: 1.227 MB / 11.93 GB, free: 5.305 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002705/53.15, allocations: 0.5451 MB / 11.93 GB, free: 5.223 MB / 1.526 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 (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.01811/53.17, allocations: 5.463 MB / 11.94 GB, free: 2.41 MB / 1.526 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006237/53.17, allocations: 1.92 MB / 11.94 GB, free: 1.383 MB / 1.526 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05175/53.22, allocations: 12.86 MB / 11.95 GB, free: 14.02 MB / 1.542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.686e-05/53.22, allocations: 82.61 kB / 11.95 GB, free: 14.02 MB / 1.542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/53.22, allocations: 11.12 kB / 11.95 GB, free: 14.02 MB / 1.542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03258/53.26, allocations: 9.306 MB / 11.96 GB, free: 10.25 MB / 1.542 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.09456/53.35, allocations: 27.69 MB / 11.99 GB, free: 15.59 MB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/53.35, allocations: 6.375 kB / 11.99 GB, free: 15.58 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01185/53.36, allocations: 1.381 MB / 11.99 GB, free: 15.47 MB / 1.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008785/53.37, allocations: 1.636 MB / 11.99 GB, free: 15.03 MB / 1.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00148/53.37, allocations: 237.7 kB / 11.99 GB, free: 14.93 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/53.39, allocations: 14.48 MB / 12.01 GB, free: 3.078 MB / 1.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/53.39, allocations: 0 / 12.01 GB, free: 3.078 MB / 1.557 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.264/54.66, allocations: 16.94 MB / 12.02 GB, free: 239.4 MB / 1.557 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01346/54.67, allocations: 3.326 MB / 12.03 GB, free: 239.3 MB / 1.557 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006492/54.68, allocations: 157.1 kB / 12.03 GB, free: 239.3 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02375/54.7, allocations: 1.191 MB / 12.03 GB, free: 239.3 MB / 1.557 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001989/54.7, allocations: 487.2 kB / 12.03 GB, free: 239.3 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001748/54.71, allocations: 420.3 kB / 12.03 GB, free: 239.3 MB / 1.557 GB Notification: Performance of sorting global known variables: time 0.03434/54.74, allocations: 12.31 MB / 12.04 GB, free: 238.7 MB / 1.557 GB Notification: Performance of sort global known variables: time 5.11e-07/54.74, allocations: 0.5625 kB / 12.04 GB, free: 238.7 MB / 1.557 GB Notification: Performance of remove unused functions: time 0.05266/54.79, allocations: 10.6 MB / 12.05 GB, free: 238.1 MB / 1.557 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 (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.02639/54.82, allocations: 14.52 MB / 12.06 GB, free: 230.4 MB / 1.557 GB Notification: Performance of simCode: created initialization part: time 0.06245/54.88, allocations: 18.58 MB / 12.08 GB, free: 228.8 MB / 1.557 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/54.88, allocations: 9.969 kB / 12.08 GB, free: 228.8 MB / 1.557 GB Notification: Performance of simCode: created simulation system equations: time 0.01991/54.9, allocations: 5.815 MB / 12.09 GB, free: 228.1 MB / 1.557 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0745/54.98, allocations: 9.642 MB / 12.1 GB, free: 228 MB / 1.557 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1065/55.08, allocations: 44.87 MB / 12.14 GB, free: 210 MB / 1.557 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02523/55.11, allocations: 11.21 MB / 12.15 GB, free: 208.7 MB / 1.557 GB Notification: Performance of simCode: alias equations: time 0.0394/55.15, allocations: 5.5 MB / 12.16 GB, free: 208.5 MB / 1.557 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007705/55.15, allocations: 1.467 MB / 12.16 GB, free: 208.5 MB / 1.557 GB Notification: Performance of SimCode: time 1.122e-06/55.15, allocations: 0 / 12.16 GB, free: 208.5 MB / 1.557 GB Notification: Performance of Templates: time 3.239/58.39, allocations: 392.8 MB / 12.54 GB, free: 237.9 MB / 1.557 GB