Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.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.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.842/4.842, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 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.00245/0.00245, allocations: 353.8 kB / 0.644 GB, free: 185.7 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.132/4.132, allocations: 410.7 MB / 1.112 GB, free: 5.949 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.001803/0.001803, allocations: 194.7 kB / 1.225 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004981, allocations: 12 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5764/0.5769, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.09/1.667, allocations: 481.1 MB / 1.931 GB, free: 30.38 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1106/1.778, allocations: 68.18 MB / 1.997 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01377/1.792, allocations: 361.4 kB / 1.998 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01581/1.808, allocations: 4.084 MB / 2.002 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.04815/1.856, allocations: 13.46 MB / 2.015 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03804/1.894, allocations: 10.65 MB / 2.025 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05346/1.947, allocations: 35.04 MB / 2.059 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01761/1.965, allocations: 8.565 MB / 2.068 GB, free: 1.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02177/1.987, allocations: 8.935 MB / 2.076 GB, free: 9 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01625/2.003, allocations: 8.05 MB / 2.084 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.003297/2.006, allocations: 420 kB / 2.085 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01599/2.022, allocations: 3.862 MB / 2.088 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005011/2.027, allocations: 2.342 MB / 2.091 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005454/2.033, allocations: 2.378 MB / 2.093 GB, free: 7.891 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02877/2.062, allocations: 14.53 MB / 2.107 GB, free: 9.348 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.93e-06/2.062, allocations: 3.938 kB / 2.107 GB, free: 9.344 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.431e-06/2.062, allocations: 0 / 2.107 GB, free: 9.344 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004035/2.062, allocations: 0 / 2.107 GB, free: 9.344 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: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 1.266/3.328, allocations: 10.89 MB / 2.118 GB, free: 406 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/3.328, allocations: 13.25 kB / 2.118 GB, free: 406 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/3.34, allocations: 2.056 MB / 2.12 GB, free: 405.3 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/3.368, allocations: 9.837 MB / 2.129 GB, free: 401 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005409/3.368, allocations: 0.5616 MB / 2.13 GB, free: 400.7 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/3.37, allocations: 0.7459 MB / 2.131 GB, free: 400.5 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/3.393, allocations: 8.454 MB / 2.139 GB, free: 395.6 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004104/3.394, allocations: 26.2 kB / 2.139 GB, free: 395.6 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002678/3.397, allocations: 301.9 kB / 2.139 GB, free: 395.4 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007131/3.397, allocations: 284 kB / 2.14 GB, free: 395.4 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/3.421, allocations: 6.893 MB / 2.146 GB, free: 391.9 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.06596/3.487, allocations: 40.66 MB / 2.186 GB, free: 354.4 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/3.496, allocations: 4.641 MB / 2.191 GB, free: 349.7 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006761/3.503, allocations: 2.317 MB / 2.193 GB, free: 347.4 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.03128/3.534, allocations: 10.22 MB / 2.203 GB, free: 336.8 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005589/3.54, allocations: 2.456 MB / 2.205 GB, free: 334.3 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004493/3.544, allocations: 449.3 kB / 2.206 GB, free: 333.9 MB / 1.011 GB Notification: Performance of pre-optimization done (n=390): time 1.384e-05/3.545, allocations: 4 kB / 2.206 GB, free: 333.9 MB / 1.011 GB Notification: Performance of matching and sorting (n=399): time 0.0439/3.588, allocations: 14.49 MB / 2.22 GB, free: 319.3 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/3.589, allocations: 0.5554 MB / 2.22 GB, free: 318.6 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01397/3.603, allocations: 8.071 MB / 2.228 GB, free: 310.6 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009418/3.604, allocations: 133.7 kB / 2.228 GB, free: 310.4 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004629/3.608, allocations: 4.952 MB / 2.233 GB, free: 305.5 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/3.61, allocations: 1.387 MB / 2.235 GB, free: 304.1 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/3.611, allocations: 112 kB / 2.235 GB, free: 304 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0003/3.611, allocations: 0.5139 MB / 2.235 GB, free: 303.5 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/3.617, allocations: 2.118 MB / 2.237 GB, free: 301.3 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007035/3.624, allocations: 3.884 MB / 2.241 GB, free: 296.8 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/3.631, allocations: 2.707 MB / 2.244 GB, free: 294.1 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.18e-05/3.631, allocations: 8 kB / 2.244 GB, free: 294.1 MB / 1.011 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02451/3.656, allocations: 7.953 MB / 2.251 GB, free: 286.1 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005785/3.656, allocations: 1.277 MB / 2.253 GB, free: 284.4 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-05/3.656, allocations: 43.98 kB / 2.253 GB, free: 284.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/3.667, allocations: 1.841 MB / 2.254 GB, free: 282.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006353/3.674, allocations: 1.211 MB / 2.256 GB, free: 281.3 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/3.684, allocations: 7.849 MB / 2.263 GB, free: 273 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/3.695, allocations: 0.7499 MB / 2.264 GB, free: 272.3 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/3.696, allocations: 267.9 kB / 2.264 GB, free: 272 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/3.696, allocations: 4 kB / 2.264 GB, free: 272 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01942/3.715, allocations: 6.848 MB / 2.271 GB, free: 265.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/3.716, allocations: 49.48 kB / 2.271 GB, free: 265 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009757/3.725, allocations: 1.714 MB / 2.273 GB, free: 263.3 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00583/3.731, allocations: 1.158 MB / 2.274 GB, free: 262.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/3.747, allocations: 9.812 MB / 2.283 GB, free: 251.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009962/3.757, allocations: 0.709 MB / 2.284 GB, free: 251 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/3.758, allocations: 251.9 kB / 2.284 GB, free: 250.8 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,$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 (649): * Single equations (assignments): 633 * 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 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006088/3.764, allocations: 2.258 MB / 2.287 GB, free: 248.5 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002438/3.767, allocations: 0.8951 MB / 2.287 GB, free: 247.6 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/3.783, allocations: 6.019 MB / 2.293 GB, free: 241.6 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/3.783, allocations: 44 kB / 2.293 GB, free: 241.5 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/3.783, allocations: 4 kB / 2.293 GB, free: 241.5 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01153/3.795, allocations: 4.451 MB / 2.298 GB, free: 237 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.03186/3.827, allocations: 13.66 MB / 2.311 GB, free: 223.3 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/3.827, allocations: 4 kB / 2.311 GB, free: 223.3 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005166/3.832, allocations: 0.8232 MB / 2.312 GB, free: 222.5 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/3.834, allocations: 0.7199 MB / 2.313 GB, free: 221.8 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006126/3.835, allocations: 123.9 kB / 2.313 GB, free: 221.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/3.846, allocations: 13.31 MB / 2.326 GB, free: 207.2 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-06/3.846, allocations: 7.969 kB / 2.326 GB, free: 207.2 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/3.865, allocations: 7.963 MB / 2.333 GB, free: 199.2 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005606/3.871, allocations: 1.645 MB / 2.335 GB, free: 197.5 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002381/3.873, allocations: 95.98 kB / 2.335 GB, free: 197.4 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009087/3.882, allocations: 0.6968 MB / 2.336 GB, free: 196.7 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/3.883, allocations: 287 kB / 2.336 GB, free: 196.5 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006277/3.884, allocations: 191.9 kB / 2.336 GB, free: 196.3 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.01158/3.895, allocations: 5.324 MB / 2.342 GB, free: 191 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.061e-06/3.895, allocations: 0 / 2.342 GB, free: 191 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02202/3.918, allocations: 4.62 MB / 2.346 GB, free: 186.5 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 29 (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) * 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 (399): * Single equations (assignments): 376 * 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.00592/3.923, allocations: 2.247 MB / 2.348 GB, free: 184.9 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02673/3.95, allocations: 10.14 MB / 2.358 GB, free: 174.6 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/3.95, allocations: 5.969 kB / 2.358 GB, free: 174.6 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.006856/3.957, allocations: 3.252 MB / 2.361 GB, free: 171.3 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02523/3.982, allocations: 4.843 MB / 2.366 GB, free: 166.5 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03712/4.02, allocations: 21.62 MB / 2.387 GB, free: 144.9 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007492/4.027, allocations: 5.343 MB / 2.392 GB, free: 139.5 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01364/4.041, allocations: 2.511 MB / 2.395 GB, free: 137 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/4.044, allocations: 0.7218 MB / 2.396 GB, free: 136.3 MB / 1.011 GB Notification: Performance of SimCode: time 1.746e-06/4.044, allocations: 0 / 2.396 GB, free: 136.3 MB / 1.011 GB Notification: Performance of Templates: time 1.156/5.2, allocations: 183.1 MB / 2.574 GB, free: 319.5 MB / 1.011 GB