Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System5.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.System5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.943/4.943, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.003808/0.003808, allocations: 352.8 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 3.968/3.968, allocations: 410.7 MB / 1.112 GB, free: 5.91 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.001751/0.001751, allocations: 189.9 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004897, allocations: 8 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5852/0.5857, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System5): time 1.189/1.775, allocations: 481.8 MB / 1.931 GB, free: 29.63 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1185/1.894, allocations: 68.46 MB / 1.998 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/1.909, allocations: 361.5 kB / 1.998 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0167/1.926, allocations: 4.099 MB / 2.002 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.05039/1.977, allocations: 13.49 MB / 2.016 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03938/2.016, allocations: 10.71 MB / 2.026 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05423/2.07, allocations: 35.35 MB / 2.061 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02094/2.091, allocations: 8.77 MB / 2.069 GB, free: 332 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0234/2.115, allocations: 8.99 MB / 2.078 GB, free: 7.293 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/2.132, allocations: 8.155 MB / 2.086 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00344/2.136, allocations: 424 kB / 2.086 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/2.152, allocations: 3.874 MB / 2.09 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005483/2.158, allocations: 2.377 MB / 2.092 GB, free: 8.418 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.006599/2.164, allocations: 2.421 MB / 2.095 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02669/2.191, allocations: 14.9 MB / 2.109 GB, free: 7.066 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.806e-06/2.191, allocations: 0 / 2.109 GB, free: 7.066 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.432e-06/2.191, allocations: 0 / 2.109 GB, free: 7.066 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003973/2.191, allocations: 0 / 2.109 GB, free: 7.066 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: 1870 * Number of variables: 1870 Notification: Performance of Generate backend data structure: time 1.111/3.302, allocations: 11.22 MB / 2.12 GB, free: 406 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/3.302, allocations: 12.81 kB / 2.12 GB, free: 406 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01244/3.315, allocations: 2.082 MB / 2.122 GB, free: 405.3 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02868/3.344, allocations: 9.975 MB / 2.132 GB, free: 400.1 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000796/3.344, allocations: 0.5812 MB / 2.133 GB, free: 399.9 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/3.347, allocations: 0.7699 MB / 2.133 GB, free: 399.6 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/3.372, allocations: 8.7 MB / 2.142 GB, free: 394.2 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003038/3.372, allocations: 15.72 kB / 2.142 GB, free: 394.2 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001478/3.373, allocations: 315.9 kB / 2.142 GB, free: 394 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002869/3.374, allocations: 287.7 kB / 2.142 GB, free: 394 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/3.395, allocations: 7.084 MB / 2.149 GB, free: 390.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 removeSimpleEquations (simulation): time 0.07194/3.467, allocations: 41.39 MB / 2.19 GB, free: 350.5 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009593/3.477, allocations: 4.74 MB / 2.194 GB, free: 345.7 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005603/3.482, allocations: 2.438 MB / 2.197 GB, free: 343.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.02901/3.511, allocations: 10.46 MB / 2.207 GB, free: 332.5 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006175/3.518, allocations: 2.564 MB / 2.21 GB, free: 329.9 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004883/3.523, allocations: 464.8 kB / 2.21 GB, free: 329.5 MB / 1.011 GB Notification: Performance of pre-optimization done (n=412): time 1.702e-05/3.523, allocations: 4 kB / 2.21 GB, free: 329.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=421): time 0.04821/3.571, allocations: 14.93 MB / 2.225 GB, free: 314.4 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/3.571, allocations: 0.5772 MB / 2.225 GB, free: 313.7 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01579/3.587, allocations: 8.178 MB / 2.233 GB, free: 305.6 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/3.588, allocations: 137.7 kB / 2.233 GB, free: 305.4 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00517/3.593, allocations: 5.046 MB / 2.238 GB, free: 300.4 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001847/3.595, allocations: 1.457 MB / 2.24 GB, free: 298.9 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005167/3.596, allocations: 117.5 kB / 2.24 GB, free: 298.8 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0003221/3.596, allocations: 0.5221 MB / 2.24 GB, free: 298.3 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006106/3.602, allocations: 2.19 MB / 2.242 GB, free: 296.1 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007542/3.61, allocations: 4.01 MB / 2.246 GB, free: 291.4 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007194/3.617, allocations: 2.78 MB / 2.249 GB, free: 288.6 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.38e-05/3.617, allocations: 12 kB / 2.249 GB, free: 288.6 MB / 1.011 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02705/3.644, allocations: 8.31 MB / 2.257 GB, free: 280.3 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005958/3.645, allocations: 1.296 MB / 2.258 GB, free: 278.5 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.916e-05/3.645, allocations: 44 kB / 2.258 GB, free: 278.5 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/3.656, allocations: 1.87 MB / 2.26 GB, free: 276.6 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/3.662, allocations: 1.236 MB / 2.261 GB, free: 275.4 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/3.674, allocations: 7.94 MB / 2.269 GB, free: 267 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/3.685, allocations: 0.7922 MB / 2.27 GB, free: 266.2 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/3.686, allocations: 275.9 kB / 2.27 GB, free: 265.9 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/3.686, allocations: 4 kB / 2.27 GB, free: 265.9 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01923/3.706, allocations: 6.818 MB / 2.277 GB, free: 259 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/3.706, allocations: 51.94 kB / 2.277 GB, free: 258.9 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/3.716, allocations: 1.734 MB / 2.279 GB, free: 257.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006075/3.722, allocations: 1.186 MB / 2.28 GB, free: 256 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/3.739, allocations: 10.01 MB / 2.29 GB, free: 245.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/3.75, allocations: 0.7442 MB / 2.29 GB, free: 244.7 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/3.751, allocations: 267.9 kB / 2.291 GB, free: 244.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: 22 ($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,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (673): * Single equations (assignments): 657 * 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.006229/3.757, allocations: 2.298 MB / 2.293 GB, free: 242.1 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002473/3.76, allocations: 0.9143 MB / 2.294 GB, free: 241.2 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/3.776, allocations: 6.225 MB / 2.3 GB, free: 235 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-05/3.776, allocations: 53.38 kB / 2.3 GB, free: 234.9 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/3.776, allocations: 4 kB / 2.3 GB, free: 234.9 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01279/3.789, allocations: 4.598 MB / 2.304 GB, free: 230.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 postOpt removeSimpleEquations (simulation): time 0.03744/3.827, allocations: 14.09 MB / 2.318 GB, free: 216.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.485e-05/3.827, allocations: 0 / 2.318 GB, free: 216.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00533/3.832, allocations: 0.8506 MB / 2.319 GB, free: 215.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/3.835, allocations: 0.7194 MB / 2.32 GB, free: 214.6 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008059/3.836, allocations: 139.9 kB / 2.32 GB, free: 214.5 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/3.847, allocations: 13.3 MB / 2.333 GB, free: 200.1 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.609e-06/3.847, allocations: 0 / 2.333 GB, free: 200.1 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/3.867, allocations: 8.273 MB / 2.341 GB, free: 191.7 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005784/3.873, allocations: 1.68 MB / 2.342 GB, free: 190 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002801/3.876, allocations: 96 kB / 2.343 GB, free: 189.9 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009453/3.886, allocations: 0.7434 MB / 2.343 GB, free: 189.2 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009987/3.887, allocations: 311.2 kB / 2.344 GB, free: 188.9 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006177/3.887, allocations: 199.8 kB / 2.344 GB, free: 188.7 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.0123/3.9, allocations: 5.39 MB / 2.349 GB, free: 183.3 MB / 1.011 GB Notification: Performance of sort global known variables: time 9.57e-07/3.9, allocations: 0 / 2.349 GB, free: 183.3 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02314/3.923, allocations: 4.668 MB / 2.354 GB, free: 178.8 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: 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 (421): * Single equations (assignments): 398 * 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.00631/3.929, allocations: 2.242 MB / 2.356 GB, free: 177.2 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02933/3.959, allocations: 10.57 MB / 2.366 GB, free: 166.5 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/3.959, allocations: 6.656 kB / 2.366 GB, free: 166.5 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.007315/3.966, allocations: 3.392 MB / 2.369 GB, free: 163 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02946/3.995, allocations: 4.897 MB / 2.374 GB, free: 158.2 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04104/4.036, allocations: 22.12 MB / 2.396 GB, free: 136.1 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008601/4.045, allocations: 5.446 MB / 2.401 GB, free: 130.6 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01476/4.06, allocations: 2.532 MB / 2.404 GB, free: 128.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003219/4.063, allocations: 0.7374 MB / 2.404 GB, free: 127.3 MB / 1.011 GB Notification: Performance of SimCode: time 1.917e-06/4.063, allocations: 0 / 2.404 GB, free: 127.3 MB / 1.011 GB Notification: Performance of Templates: time 1.08/5.143, allocations: 184.9 MB / 2.585 GB, free: 323.4 MB / 1.011 GB