Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System6.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.System6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.721/4.721, allocations: 0.5623 GB / 0.5769 GB, free: 3.285 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.002386/0.002386, allocations: 353.4 kB / 0.644 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.023/4.023, allocations: 410.7 MB / 1.112 GB, free: 5.887 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.001757/0.001757, allocations: 179.1 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005037, allocations: 12 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5745/0.575, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System6): time 1.143/1.718, allocations: 482.4 MB / 1.932 GB, free: 29.07 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1191/1.837, allocations: 68.7 MB / 1.999 GB, free: 8.309 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01633/1.853, allocations: 369.4 kB / 1.999 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01696/1.87, allocations: 4.122 MB / 2.003 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.05195/1.922, allocations: 13.53 MB / 2.016 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04058/1.963, allocations: 10.76 MB / 2.027 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05779/2.021, allocations: 35.62 MB / 2.062 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02909/2.05, allocations: 8.94 MB / 2.071 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0272/2.077, allocations: 9.056 MB / 2.079 GB, free: 5.867 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01767/2.095, allocations: 8.225 MB / 2.087 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003438/2.098, allocations: 432 kB / 2.088 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/2.115, allocations: 3.878 MB / 2.092 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005451/2.121, allocations: 2.412 MB / 2.094 GB, free: 6.875 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.00656/2.127, allocations: 2.464 MB / 2.096 GB, free: 4.398 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0263/2.154, allocations: 15.24 MB / 2.111 GB, free: 5.145 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.034e-06/2.154, allocations: 0 / 2.111 GB, free: 5.145 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.613e-06/2.154, allocations: 0 / 2.111 GB, free: 5.145 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003679/2.154, allocations: 0 / 2.111 GB, free: 5.145 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: 1924 * Number of variables: 1924 Notification: Performance of Generate backend data structure: time 1.142/3.296, allocations: 11.44 MB / 2.122 GB, free: 406.2 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/3.296, allocations: 12.06 kB / 2.122 GB, free: 406.2 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/3.309, allocations: 2.109 MB / 2.124 GB, free: 405.5 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03429/3.344, allocations: 10.12 MB / 2.134 GB, free: 399.9 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008592/3.345, allocations: 0.5961 MB / 2.135 GB, free: 399.6 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/3.347, allocations: 0.7963 MB / 2.136 GB, free: 399.4 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/3.371, allocations: 8.89 MB / 2.144 GB, free: 393.8 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/3.372, allocations: 19.66 kB / 2.144 GB, free: 393.8 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/3.373, allocations: 322.9 kB / 2.145 GB, free: 393.6 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002649/3.373, allocations: 303.3 kB / 2.145 GB, free: 393.6 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/3.395, allocations: 7.236 MB / 2.152 GB, free: 389.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.07127/3.467, allocations: 42.11 MB / 2.193 GB, free: 348.4 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009599/3.476, allocations: 4.99 MB / 2.198 GB, free: 343.4 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005487/3.482, allocations: 2.504 MB / 2.201 GB, free: 340.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 evalFunc (simulation): time 0.02829/3.51, allocations: 10.66 MB / 2.211 GB, free: 329.9 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006057/3.516, allocations: 2.631 MB / 2.213 GB, free: 327.2 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005329/3.522, allocations: 477 kB / 2.214 GB, free: 326.8 MB / 1.011 GB Notification: Performance of pre-optimization done (n=426): time 1.456e-05/3.522, allocations: 0 / 2.214 GB, free: 326.8 MB / 1.011 GB Notification: Performance of matching and sorting (n=435): time 0.05521/3.577, allocations: 15.23 MB / 2.229 GB, free: 311.4 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/3.577, allocations: 0.6063 MB / 2.229 GB, free: 310.7 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01595/3.593, allocations: 8.318 MB / 2.238 GB, free: 302.4 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/3.594, allocations: 147.8 kB / 2.238 GB, free: 302.3 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005297/3.599, allocations: 5.153 MB / 2.243 GB, free: 297.1 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001938/3.601, allocations: 1.501 MB / 2.244 GB, free: 295.6 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/3.602, allocations: 116 kB / 2.244 GB, free: 295.5 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0003311/3.602, allocations: 0.5304 MB / 2.245 GB, free: 294.9 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00625/3.609, allocations: 2.237 MB / 2.247 GB, free: 292.7 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007698/3.616, allocations: 4.104 MB / 2.251 GB, free: 287.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00738/3.624, allocations: 2.838 MB / 2.254 GB, free: 285.1 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.745e-05/3.624, allocations: 12 kB / 2.254 GB, free: 285.1 MB / 1.011 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02716/3.651, allocations: 8.302 MB / 2.262 GB, free: 276.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.000808/3.652, allocations: 1.319 MB / 2.263 GB, free: 274.9 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/3.652, allocations: 51.98 kB / 2.263 GB, free: 274.9 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01845/3.67, allocations: 1.864 MB / 2.265 GB, free: 273 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/3.683, allocations: 1.264 MB / 2.266 GB, free: 271.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01957/3.703, allocations: 7.851 MB / 2.274 GB, free: 263.4 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01723/3.72, allocations: 0.8063 MB / 2.275 GB, free: 262.6 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/3.722, allocations: 287.9 kB / 2.275 GB, free: 262.3 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/3.722, allocations: 4 kB / 2.275 GB, free: 262.3 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02251/3.744, allocations: 7.125 MB / 2.282 GB, free: 255.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/3.744, allocations: 47.98 kB / 2.282 GB, free: 255.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009951/3.754, allocations: 1.727 MB / 2.284 GB, free: 253.3 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/3.761, allocations: 1.217 MB / 2.285 GB, free: 252.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/3.777, allocations: 9.836 MB / 2.294 GB, free: 241.7 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/3.787, allocations: 0.7643 MB / 2.295 GB, free: 240.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/3.789, allocations: 263.9 kB / 2.295 GB, free: 240.7 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 182 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,conRadSup.conPIDRad.con1.y,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,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y,$PRE.conEquSta.hys.y,conEquSta.hys.y,radPumCon.u,boiSigCon.u,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 677 * 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.006495/3.795, allocations: 2.348 MB / 2.298 GB, free: 238.3 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002518/3.798, allocations: 0.9299 MB / 2.299 GB, free: 237.4 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/3.815, allocations: 6.351 MB / 2.305 GB, free: 231 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.639e-05/3.815, allocations: 48 kB / 2.305 GB, free: 231 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/3.815, allocations: 4 kB / 2.305 GB, free: 231 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01295/3.828, allocations: 4.697 MB / 2.31 GB, free: 226.2 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.03761/3.866, allocations: 14.4 MB / 2.324 GB, free: 211.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/3.866, allocations: 4.031 kB / 2.324 GB, free: 211.8 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005488/3.872, allocations: 0.866 MB / 2.324 GB, free: 210.9 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/3.874, allocations: 0.7207 MB / 2.325 GB, free: 210.2 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007099/3.875, allocations: 135.9 kB / 2.325 GB, free: 210.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01112/3.886, allocations: 13.31 MB / 2.338 GB, free: 195.7 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.801e-06/3.886, allocations: 7.969 kB / 2.338 GB, free: 195.7 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/3.906, allocations: 8.455 MB / 2.347 GB, free: 187.1 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005921/3.912, allocations: 1.703 MB / 2.348 GB, free: 185.4 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002395/3.915, allocations: 108 kB / 2.348 GB, free: 185.3 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009517/3.924, allocations: 0.7482 MB / 2.349 GB, free: 184.6 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009893/3.925, allocations: 323.2 kB / 2.349 GB, free: 184.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006062/3.926, allocations: 203.8 kB / 2.35 GB, free: 184.1 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.0122/3.938, allocations: 5.48 MB / 2.355 GB, free: 178.6 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.328e-06/3.938, allocations: 0 / 2.355 GB, free: 178.6 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02353/3.962, allocations: 4.718 MB / 2.359 GB, free: 174 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 31 (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,conRadSup.conPIDRad.I.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext,conSysSta.onTOut.y,conSysSta.onTRoo.y,conEquSta.hys.y,radPumCon.u,boiSigCon.u) * Number of discrete states: 7 (timTab.tab.nextTimeEvent,weaDat.conTim.tNext,weaDat.conTimMin.tNext,conSysSta.onTRoo.y,conEquSta.hys.y,conSysSta.onTOut.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (436): * Single equations (assignments): 413 * 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.006185/3.968, allocations: 2.259 MB / 2.362 GB, free: 172.4 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02794/3.996, allocations: 10.61 MB / 2.372 GB, free: 161.7 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/3.996, allocations: 11.09 kB / 2.372 GB, free: 161.7 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.007331/4.003, allocations: 3.464 MB / 2.375 GB, free: 158.1 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02816/4.032, allocations: 4.92 MB / 2.38 GB, free: 153.3 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/4.075, allocations: 22.57 MB / 2.402 GB, free: 130.7 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009229/4.085, allocations: 5.532 MB / 2.408 GB, free: 125.1 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01727/4.102, allocations: 2.564 MB / 2.41 GB, free: 122.6 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003407/4.105, allocations: 0.753 MB / 2.411 GB, free: 121.8 MB / 1.011 GB Notification: Performance of SimCode: time 2.166e-06/4.105, allocations: 0 / 2.411 GB, free: 121.8 MB / 1.011 GB Notification: Performance of Templates: time 0.9679/5.073, allocations: 187.4 MB / 2.594 GB, free: 322.4 MB / 1.011 GB