Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.System1.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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.755/4.755, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002452/0.002451, allocations: 356.2 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.967/3.967, allocations: 410.7 MB / 1.112 GB, free: 5.961 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.001811/0.001811, allocations: 184.3 kB / 1.225 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005011, allocations: 12 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5781, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.157/1.735, allocations: 481 MB / 1.93 GB, free: 30.48 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1213/1.856, allocations: 68.16 MB / 1.997 GB, free: 10.26 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.015/1.871, allocations: 357.5 kB / 1.997 GB, free: 9.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01623/1.888, allocations: 4.076 MB / 2.001 GB, free: 5.809 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.05069/1.938, allocations: 13.45 MB / 2.014 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.03885/1.977, allocations: 10.64 MB / 2.025 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.05461/2.032, allocations: 35 MB / 2.059 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02197/2.054, allocations: 8.508 MB / 2.067 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02356/2.077, allocations: 8.92 MB / 2.076 GB, free: 9.27 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01759/2.095, allocations: 8.05 MB / 2.084 GB, free: 1.184 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.00358/2.099, allocations: 416 kB / 2.084 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/2.115, allocations: 3.859 MB / 2.088 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.005463/2.121, allocations: 2.334 MB / 2.09 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.006405/2.127, allocations: 2.374 MB / 2.093 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.02885/2.156, allocations: 14.48 MB / 2.107 GB, free: 9.68 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.298e-06/2.156, allocations: 0 / 2.107 GB, free: 9.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.365e-06/2.156, allocations: 0 / 2.107 GB, free: 9.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004356/2.156, allocations: 0 / 2.107 GB, free: 9.68 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: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 1.134/3.291, allocations: 10.85 MB / 2.117 GB, free: 406 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/3.291, allocations: 12.06 kB / 2.117 GB, free: 406 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/3.304, allocations: 2.048 MB / 2.119 GB, free: 405.3 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02862/3.332, allocations: 9.827 MB / 2.129 GB, free: 401 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006232/3.333, allocations: 0.5568 MB / 2.13 GB, free: 400.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/3.335, allocations: 0.739 MB / 2.13 GB, free: 400.5 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/3.36, allocations: 8.407 MB / 2.138 GB, free: 395.7 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005304/3.361, allocations: 19.78 kB / 2.138 GB, free: 395.7 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002711/3.364, allocations: 303.9 kB / 2.139 GB, free: 395.5 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006365/3.364, allocations: 280 kB / 2.139 GB, free: 395.5 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/3.389, allocations: 6.863 MB / 2.146 GB, free: 392 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.07085/3.46, allocations: 40.43 MB / 2.185 GB, free: 355 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009174/3.469, allocations: 4.629 MB / 2.19 GB, free: 350.3 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005194/3.474, allocations: 2.328 MB / 2.192 GB, free: 347.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.02777/3.502, allocations: 10.21 MB / 2.202 GB, free: 337.4 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005717/3.508, allocations: 2.447 MB / 2.204 GB, free: 334.9 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004654/3.513, allocations: 456.9 kB / 2.205 GB, free: 334.5 MB / 1.011 GB Notification: Performance of pre-optimization done (n=390): time 1.484e-05/3.513, allocations: 0 / 2.205 GB, free: 334.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=399): time 0.04677/3.559, allocations: 14.48 MB / 2.219 GB, free: 319.9 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/3.56, allocations: 0.5519 MB / 2.22 GB, free: 319.2 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01571/3.575, allocations: 8.037 MB / 2.227 GB, free: 311.2 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009882/3.576, allocations: 129.7 kB / 2.227 GB, free: 311.1 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004932/3.581, allocations: 4.903 MB / 2.232 GB, free: 306.1 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/3.583, allocations: 1.389 MB / 2.234 GB, free: 304.8 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/3.584, allocations: 115.8 kB / 2.234 GB, free: 304.6 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0003297/3.584, allocations: 0.5139 MB / 2.234 GB, free: 304.1 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005812/3.59, allocations: 2.107 MB / 2.236 GB, free: 302 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007207/3.597, allocations: 3.876 MB / 2.24 GB, free: 297.5 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006883/3.604, allocations: 2.705 MB / 2.243 GB, free: 294.8 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.023e-05/3.604, allocations: 12 kB / 2.243 GB, free: 294.8 MB / 1.011 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.02499/3.629, allocations: 7.935 MB / 2.25 GB, free: 286.8 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005828/3.63, allocations: 1.271 MB / 2.252 GB, free: 285.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.833e-05/3.63, allocations: 47.98 kB / 2.252 GB, free: 285 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/3.641, allocations: 1.861 MB / 2.254 GB, free: 283.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006374/3.647, allocations: 1.193 MB / 2.255 GB, free: 282 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/3.658, allocations: 7.837 MB / 2.262 GB, free: 273.7 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/3.669, allocations: 0.7422 MB / 2.263 GB, free: 273 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/3.671, allocations: 267.9 kB / 2.263 GB, free: 272.7 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/3.671, allocations: 7.938 kB / 2.263 GB, free: 272.7 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02335/3.694, allocations: 6.829 MB / 2.27 GB, free: 265.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/3.694, allocations: 44 kB / 2.27 GB, free: 265.8 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009945/3.704, allocations: 1.726 MB / 2.272 GB, free: 264 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005862/3.71, allocations: 1.154 MB / 2.273 GB, free: 262.9 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01565/3.726, allocations: 9.806 MB / 2.282 GB, free: 252.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/3.736, allocations: 0.7151 MB / 2.283 GB, free: 251.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/3.737, allocations: 251.9 kB / 2.283 GB, free: 251.5 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 (646): * Single equations (assignments): 630 * 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 {(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 3 {3 8,13 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0059/3.743, allocations: 2.258 MB / 2.286 GB, free: 249.3 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/3.745, allocations: 0.8874 MB / 2.287 GB, free: 248.4 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/3.761, allocations: 6.018 MB / 2.292 GB, free: 242.3 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/3.761, allocations: 48 kB / 2.292 GB, free: 242.3 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/3.761, allocations: 4 kB / 2.292 GB, free: 242.3 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01173/3.773, allocations: 4.447 MB / 2.297 GB, free: 237.8 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.03323/3.806, allocations: 13.62 MB / 2.31 GB, free: 224.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/3.806, allocations: 8.094 kB / 2.31 GB, free: 224.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00506/3.811, allocations: 0.8161 MB / 2.311 GB, free: 223.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/3.814, allocations: 0.7085 MB / 2.312 GB, free: 222.6 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006929/3.815, allocations: 123.9 kB / 2.312 GB, free: 222.5 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/3.826, allocations: 13.31 MB / 2.325 GB, free: 208 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.468e-06/3.826, allocations: 7.969 kB / 2.325 GB, free: 208 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/3.845, allocations: 7.973 MB / 2.332 GB, free: 200 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005599/3.85, allocations: 1.633 MB / 2.334 GB, free: 198.3 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002274/3.853, allocations: 95.98 kB / 2.334 GB, free: 198.2 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009309/3.862, allocations: 0.7114 MB / 2.335 GB, free: 197.5 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/3.863, allocations: 279.6 kB / 2.335 GB, free: 197.3 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005708/3.863, allocations: 195.8 kB / 2.335 GB, free: 197.1 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.01125/3.875, allocations: 5.296 MB / 2.34 GB, free: 191.8 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.165e-06/3.875, allocations: 4 kB / 2.34 GB, free: 191.8 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02212/3.897, allocations: 4.609 MB / 2.345 GB, free: 187.3 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.005975/3.903, allocations: 2.236 MB / 2.347 GB, free: 185.7 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02654/3.929, allocations: 10.08 MB / 2.357 GB, free: 175.5 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/3.929, allocations: 10.78 kB / 2.357 GB, free: 175.5 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.006966/3.936, allocations: 3.249 MB / 2.36 GB, free: 172.1 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02874/3.965, allocations: 4.849 MB / 2.365 GB, free: 167.4 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04022/4.005, allocations: 21.54 MB / 2.386 GB, free: 145.9 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008438/4.014, allocations: 5.326 MB / 2.391 GB, free: 140.5 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01453/4.029, allocations: 2.503 MB / 2.394 GB, free: 138 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003077/4.032, allocations: 0.7218 MB / 2.394 GB, free: 137.3 MB / 1.011 GB Notification: Performance of SimCode: time 1.86e-06/4.032, allocations: 0 / 2.394 GB, free: 137.3 MB / 1.011 GB Notification: Performance of Templates: time 0.9807/5.012, allocations: 183.2 MB / 2.573 GB, free: 319.6 MB / 1.011 GB