Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.Boiler.System2.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.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.006/5.006, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002681/0.002681, allocations: 360.7 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.718/4.718, allocations: 410.7 MB / 1.113 GB, free: 5.93 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.001818/0.001817, allocations: 176.8 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005507/0.000551, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7588, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.095/7.854, allocations: 2.376 GB / 3.837 GB, free: 25.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/7.855, allocations: 97.17 kB / 3.837 GB, free: 25.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.344/15.2, allocations: 1.321 GB / 5.158 GB, free: 137.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/15.2, allocations: 0 / 5.158 GB, free: 137.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007135/15.2, allocations: 98.33 kB / 5.158 GB, free: 137.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01817/15.22, allocations: 4.194 MB / 5.162 GB, free: 133.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/15.22, allocations: 11.62 kB / 5.162 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/15.23, allocations: 1.143 MB / 5.163 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01876/15.25, allocations: 4.532 MB / 5.168 GB, free: 127.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/15.25, allocations: 188.5 kB / 5.168 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008754/15.25, allocations: 251.9 kB / 5.168 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/15.26, allocations: 3.12 MB / 5.171 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/15.26, allocations: 7.938 kB / 5.171 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004561/15.26, allocations: 100 kB / 5.171 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/15.26, allocations: 100.4 kB / 5.171 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00803/15.27, allocations: 2.562 MB / 5.174 GB, free: 121.3 MB / 0.948 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.03086/15.3, allocations: 13.06 MB / 5.187 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004918/15.3, allocations: 2.301 MB / 5.189 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/15.31, allocations: 0.9782 MB / 5.19 GB, free: 104.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01405/15.32, allocations: 4.246 MB / 5.194 GB, free: 99.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002653/15.32, allocations: 0.9914 MB / 5.195 GB, free: 98.76 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002125/15.32, allocations: 190.3 kB / 5.195 GB, free: 98.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=143): time 5.691e-06/15.32, allocations: 4 kB / 5.195 GB, free: 98.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=147): time 0.02045/15.35, allocations: 5.997 MB / 5.201 GB, free: 92.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/15.35, allocations: 116.1 kB / 5.201 GB, free: 92.17 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/15.35, allocations: 2.905 MB / 5.204 GB, free: 89.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007724/15.35, allocations: 77.62 kB / 5.204 GB, free: 89.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001966/15.35, allocations: 1.502 MB / 5.206 GB, free: 87.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/15.36, allocations: 0.52 MB / 5.206 GB, free: 87.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/15.36, allocations: 40 kB / 5.206 GB, free: 87.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002248/15.36, allocations: 398.1 kB / 5.206 GB, free: 86.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/15.36, allocations: 0.9138 MB / 5.207 GB, free: 85.78 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004099/15.36, allocations: 1.562 MB / 5.209 GB, free: 83.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/15.37, allocations: 1.185 MB / 5.21 GB, free: 82.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/15.37, allocations: 4 kB / 5.21 GB, free: 82.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01187/15.38, allocations: 3.053 MB / 5.213 GB, free: 79.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/15.38, allocations: 0.5875 MB / 5.214 GB, free: 78.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/15.38, allocations: 19.98 kB / 5.214 GB, free: 78.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004185/15.38, allocations: 456.7 kB / 5.214 GB, free: 78.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003938/15.39, allocations: 471.2 kB / 5.214 GB, free: 77.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/15.39, allocations: 2.706 MB / 5.217 GB, free: 75.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005365/15.4, allocations: 227.3 kB / 5.217 GB, free: 74.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/15.4, allocations: 108 kB / 5.217 GB, free: 74.74 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/15.4, allocations: 4 kB / 5.217 GB, free: 74.73 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008479/15.41, allocations: 2.743 MB / 5.22 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-05/15.41, allocations: 19.98 kB / 5.22 GB, free: 71.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003933/15.41, allocations: 473 kB / 5.221 GB, free: 71.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003635/15.42, allocations: 455.3 kB / 5.221 GB, free: 71.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/15.42, allocations: 2.71 MB / 5.224 GB, free: 68.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005015/15.43, allocations: 195.6 kB / 5.224 GB, free: 68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/15.43, allocations: 104 kB / 5.224 GB, free: 67.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 250 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003131/15.43, allocations: 1.098 MB / 5.225 GB, free: 66.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/15.43, allocations: 312.2 kB / 5.225 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007249/15.44, allocations: 2.811 MB / 5.228 GB, free: 63.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/15.44, allocations: 16 kB / 5.228 GB, free: 63.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/15.44, allocations: 8 kB / 5.228 GB, free: 63.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005174/15.44, allocations: 2.453 MB / 5.231 GB, free: 60.89 MB / 0.948 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.01361/15.46, allocations: 5.613 MB / 5.236 GB, free: 55.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/15.46, allocations: 8.031 kB / 5.236 GB, free: 55.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/15.46, allocations: 287.6 kB / 5.236 GB, free: 54.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009176/15.46, allocations: 208.9 kB / 5.236 GB, free: 54.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/15.46, allocations: 47.97 kB / 5.237 GB, free: 54.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/15.47, allocations: 8.265 MB / 5.245 GB, free: 45.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/15.47, allocations: 4.062 kB / 5.245 GB, free: 45.47 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009117/15.48, allocations: 3.753 MB / 5.248 GB, free: 41.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002321/15.48, allocations: 0.6297 MB / 5.249 GB, free: 40.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006994/15.48, allocations: 36 kB / 5.249 GB, free: 40.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/15.48, allocations: 135.7 kB / 5.249 GB, free: 40.75 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/15.48, allocations: 109.1 kB / 5.249 GB, free: 40.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/15.48, allocations: 79.94 kB / 5.249 GB, free: 40.57 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004232/15.49, allocations: 1.943 MB / 5.251 GB, free: 38.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.21e-07/15.49, allocations: 0 / 5.251 GB, free: 38.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0082/15.5, allocations: 1.737 MB / 5.253 GB, free: 36.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004857/15.5, allocations: 2.144 MB / 5.255 GB, free: 34.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01353/15.52, allocations: 4.02 MB / 5.259 GB, free: 30.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/15.52, allocations: 7.953 kB / 5.259 GB, free: 30.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003293/15.52, allocations: 1.629 MB / 5.26 GB, free: 29.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01387/15.53, allocations: 1.702 MB / 5.262 GB, free: 27.51 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/15.55, allocations: 7.795 MB / 5.27 GB, free: 19.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002438/15.55, allocations: 2.451 MB / 5.272 GB, free: 17.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.006945/15.56, allocations: 1.166 MB / 5.273 GB, free: 16.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/15.56, allocations: 247.3 kB / 5.273 GB, free: 15.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/15.56, allocations: 7.938 kB / 5.273 GB, free: 15.78 MB / 0.948 GB Notification: Performance of Templates: time 1.002/16.56, allocations: 81.07 MB / 5.353 GB, free: 157.9 MB / 0.9792 GB