Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System3.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.CDL.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.823/4.823, allocations: 0.5623 GB / 0.5769 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.002434/0.002433, allocations: 361.7 kB / 0.6441 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.135/4.135, allocations: 410.7 MB / 1.112 GB, free: 6.023 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.001747/0.001747, allocations: 182.1 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004849, allocations: 12 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5836/0.5841, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.093/1.678, allocations: 481.7 MB / 1.931 GB, free: 29.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1156/1.793, allocations: 68.42 MB / 1.998 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01483/1.808, allocations: 361.5 kB / 1.998 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01618/1.824, allocations: 4.095 MB / 2.002 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.04881/1.873, allocations: 13.48 MB / 2.015 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03877/1.912, allocations: 10.69 MB / 2.026 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0522/1.964, allocations: 35.28 MB / 2.06 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01907/1.983, allocations: 8.699 MB / 2.069 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02247/2.006, allocations: 8.982 MB / 2.078 GB, free: 7.629 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01666/2.022, allocations: 8.113 MB / 2.086 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003343/2.026, allocations: 424 kB / 2.086 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/2.042, allocations: 3.87 MB / 2.09 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005247/2.047, allocations: 2.365 MB / 2.092 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.006046/2.053, allocations: 2.413 MB / 2.094 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02515/2.079, allocations: 14.81 MB / 2.109 GB, free: 7.559 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.887e-06/2.079, allocations: 0 / 2.109 GB, free: 7.559 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.555e-06/2.079, allocations: 0 / 2.109 GB, free: 7.559 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003775/2.079, allocations: 3.938 kB / 2.109 GB, free: 7.555 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 1.211/3.29, allocations: 11.09 MB / 2.12 GB, free: 405.9 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/3.29, allocations: 13.12 kB / 2.12 GB, free: 405.9 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/3.303, allocations: 2.071 MB / 2.122 GB, free: 405.2 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0293/3.333, allocations: 9.948 MB / 2.131 GB, free: 400.3 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/3.334, allocations: 0.5704 MB / 2.132 GB, free: 400 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/3.336, allocations: 0.7634 MB / 2.133 GB, free: 399.8 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/3.362, allocations: 8.645 MB / 2.141 GB, free: 394.4 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003251/3.362, allocations: 18.28 kB / 2.141 GB, free: 394.4 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/3.364, allocations: 315.5 kB / 2.141 GB, free: 394.2 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003239/3.364, allocations: 287.6 kB / 2.142 GB, free: 394.1 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02196/3.386, allocations: 7.037 MB / 2.149 GB, free: 390.6 MB / 1.011 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.07212/3.458, allocations: 41.26 MB / 2.189 GB, free: 351.4 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009371/3.468, allocations: 4.645 MB / 2.193 GB, free: 346.7 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005407/3.473, allocations: 2.4 MB / 2.196 GB, free: 344.3 MB / 1.011 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 evalFunc (simulation): time 0.02713/3.5, allocations: 10.38 MB / 2.206 GB, free: 333.6 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0055/3.506, allocations: 2.522 MB / 2.208 GB, free: 331 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005348/3.511, allocations: 461.9 kB / 2.209 GB, free: 330.6 MB / 1.011 GB Notification: Performance of pre-optimization done (n=402): time 1.373e-05/3.511, allocations: 0 / 2.209 GB, free: 330.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=411): time 0.04547/3.557, allocations: 14.77 MB / 2.223 GB, free: 315.7 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/3.557, allocations: 0.581 MB / 2.224 GB, free: 315 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01548/3.572, allocations: 8.188 MB / 2.232 GB, free: 306.8 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/3.573, allocations: 129.7 kB / 2.232 GB, free: 306.7 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005083/3.579, allocations: 5.058 MB / 2.237 GB, free: 301.6 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001729/3.58, allocations: 1.429 MB / 2.238 GB, free: 300.2 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/3.581, allocations: 112 kB / 2.238 GB, free: 300.1 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0002865/3.581, allocations: 0.5259 MB / 2.239 GB, free: 299.6 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/3.587, allocations: 2.161 MB / 2.241 GB, free: 297.4 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007342/3.594, allocations: 3.976 MB / 2.245 GB, free: 292.8 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/3.601, allocations: 2.762 MB / 2.248 GB, free: 290 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/3.602, allocations: 20.88 kB / 2.248 GB, free: 290 MB / 1.011 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02327/3.625, allocations: 7.91 MB / 2.255 GB, free: 282.1 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005923/3.625, allocations: 1.299 MB / 2.257 GB, free: 280.3 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.641e-05/3.626, allocations: 44 kB / 2.257 GB, free: 280.2 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/3.636, allocations: 1.863 MB / 2.258 GB, free: 278.4 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006518/3.643, allocations: 1.236 MB / 2.26 GB, free: 277.2 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/3.654, allocations: 7.881 MB / 2.267 GB, free: 268.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/3.665, allocations: 0.7617 MB / 2.268 GB, free: 268.1 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/3.666, allocations: 275.9 kB / 2.268 GB, free: 267.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/3.666, allocations: 8.625 kB / 2.268 GB, free: 267.8 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01949/3.685, allocations: 6.944 MB / 2.275 GB, free: 260.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/3.686, allocations: 44 kB / 2.275 GB, free: 260.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/3.696, allocations: 1.725 MB / 2.277 GB, free: 259 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005984/3.702, allocations: 1.178 MB / 2.278 GB, free: 257.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/3.718, allocations: 9.785 MB / 2.288 GB, free: 247.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009971/3.728, allocations: 0.719 MB / 2.288 GB, free: 246.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/3.73, allocations: 259.9 kB / 2.289 GB, free: 246.5 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conBoiRet.conPID.con1.y,$whenCondition3,$whenCondition2,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (665): * Single equations (assignments): 649 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 3 {4 7,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00589/3.736, allocations: 2.292 MB / 2.291 GB, free: 244.2 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002316/3.738, allocations: 0.9144 MB / 2.292 GB, free: 243.3 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/3.753, allocations: 6.144 MB / 2.298 GB, free: 237.1 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/3.753, allocations: 48 kB / 2.298 GB, free: 237.1 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/3.753, allocations: 7.953 kB / 2.298 GB, free: 237.1 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.011/3.764, allocations: 4.533 MB / 2.302 GB, free: 232.5 MB / 1.011 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.03229/3.796, allocations: 13.96 MB / 2.316 GB, free: 218.5 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/3.796, allocations: 4 kB / 2.316 GB, free: 218.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004983/3.801, allocations: 0.8388 MB / 2.317 GB, free: 217.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/3.804, allocations: 0.72 MB / 2.317 GB, free: 216.9 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006655/3.805, allocations: 135.9 kB / 2.317 GB, free: 216.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/3.816, allocations: 13.3 MB / 2.33 GB, free: 202.4 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/3.816, allocations: 4.031 kB / 2.33 GB, free: 202.4 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/3.834, allocations: 8.169 MB / 2.338 GB, free: 194.1 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005262/3.84, allocations: 1.664 MB / 2.34 GB, free: 192.4 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001817/3.842, allocations: 95.98 kB / 2.34 GB, free: 192.4 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008365/3.85, allocations: 0.7243 MB / 2.341 GB, free: 191.6 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008381/3.851, allocations: 291.1 kB / 2.341 GB, free: 191.3 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005689/3.851, allocations: 195.8 kB / 2.341 GB, free: 191.2 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.0111/3.863, allocations: 5.394 MB / 2.347 GB, free: 185.8 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.04e-06/3.863, allocations: 0 / 2.347 GB, free: 185.8 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02163/3.884, allocations: 4.65 MB / 2.351 GB, free: 181.3 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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],mix.vol.dynBal.U,spl.vol.dynBal.U,spl2.vol.dynBal.U,mix2.vol.dynBal.U,spl4.vol.dynBal.U,pumBoi.vol.dynBal.U,pumBoi.filter.x[1],pumBoi.filter.x[2],boi.heaCapDry.T,valRad.vol.dynBal.U,valRad.filter.x[1],valRad.filter.x[2],valBoi.vol.dynBal.U,valBoi.filter.x[1],valBoi.filter.x[2],temRet.T,spl1.vol.dynBal.U,conBoiRet.conPID.I.y) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 4 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (411): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {13 22,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005948/3.89, allocations: 2.248 MB / 2.353 GB, free: 179.7 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02665/3.917, allocations: 10.27 MB / 2.363 GB, free: 169.3 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/3.917, allocations: 6.656 kB / 2.363 GB, free: 169.3 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.006801/3.924, allocations: 3.312 MB / 2.367 GB, free: 165.9 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02702/3.951, allocations: 4.889 MB / 2.371 GB, free: 161.1 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/3.99, allocations: 22.01 MB / 2.393 GB, free: 139.1 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008121/3.999, allocations: 5.42 MB / 2.398 GB, free: 133.6 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01412/4.013, allocations: 2.512 MB / 2.401 GB, free: 131.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003096/4.016, allocations: 0.7374 MB / 2.401 GB, free: 130.4 MB / 1.011 GB Notification: Performance of SimCode: time 1.925e-06/4.016, allocations: 3.938 kB / 2.401 GB, free: 130.4 MB / 1.011 GB Notification: Performance of Templates: time 0.979/4.995, allocations: 184.5 MB / 2.582 GB, free: 318 MB / 1.011 GB