Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.Boiler.System4.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.Boiler.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.Boiler.System4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.949/4.949, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.002371/0.002371, allocations: 359.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 4.137/4.137, allocations: 410.7 MB / 1.112 GB, free: 5.918 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: 186.1 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006197/0.0006201, allocations: 11.98 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5837, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.109/1.693, allocations: 478.9 MB / 1.928 GB, free: 33.42 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.109/1.802, allocations: 64.42 MB / 1.991 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01491/1.817, allocations: 341.6 kB / 1.992 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01642/1.834, allocations: 4.018 MB / 1.996 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.04915/1.883, allocations: 13.12 MB / 2.008 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.04954/1.932, allocations: 10.18 MB / 2.018 GB, free: 5.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05842/1.991, allocations: 34.08 MB / 2.052 GB, free: 3.27 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01864/2.01, allocations: 7.762 MB / 2.059 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02374/2.033, allocations: 8.675 MB / 2.068 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01638/2.05, allocations: 7.79 MB / 2.075 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.003312/2.053, allocations: 400 kB / 2.076 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01554/2.069, allocations: 3.617 MB / 2.079 GB, free: 6.871 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.005225/2.074, allocations: 2.202 MB / 2.081 GB, free: 4.66 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.006238/2.08, allocations: 2.242 MB / 2.083 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.02449/2.105, allocations: 13.56 MB / 2.097 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/2.105, allocations: 7.922 kB / 2.097 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.67e-06/2.105, allocations: 0 / 2.097 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003969/2.105, allocations: 0 / 2.097 GB, free: 4.828 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1624 * Number of variables: 1624 Notification: Performance of Generate backend data structure: time 0.02786/2.133, allocations: 10.15 MB / 2.107 GB, free: 10.56 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/2.133, allocations: 19.62 kB / 2.107 GB, free: 10.55 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/2.145, allocations: 1.882 MB / 2.109 GB, free: 8.652 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.118/3.262, allocations: 9.337 MB / 2.118 GB, free: 403.8 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/3.263, allocations: 0.505 MB / 2.118 GB, free: 403.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/3.265, allocations: 0.6864 MB / 2.119 GB, free: 403.8 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/3.286, allocations: 7.69 MB / 2.126 GB, free: 400.4 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/3.286, allocations: 20.27 kB / 2.126 GB, free: 400.4 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/3.288, allocations: 274.3 kB / 2.127 GB, free: 400.2 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/3.288, allocations: 256.8 kB / 2.127 GB, free: 400.1 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/3.306, allocations: 5.878 MB / 2.133 GB, free: 398 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.066/3.372, allocations: 38.19 MB / 2.17 GB, free: 367.4 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008175/3.38, allocations: 4.002 MB / 2.174 GB, free: 364.9 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005277/3.385, allocations: 2.105 MB / 2.176 GB, free: 363.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 preOpt evalFunc (simulation): time 0.02671/3.412, allocations: 9.49 MB / 2.185 GB, free: 356.5 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005458/3.418, allocations: 2.128 MB / 2.187 GB, free: 355 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004576/3.422, allocations: 410.5 kB / 2.188 GB, free: 354.7 MB / 1.011 GB Notification: Performance of pre-optimization done (n=331): time 1.438e-05/3.422, allocations: 0 / 2.188 GB, free: 354.7 MB / 1.011 GB Notification: Performance of matching and sorting (n=340): time 0.04178/3.464, allocations: 12.9 MB / 2.2 GB, free: 341.7 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/3.464, allocations: 426.3 kB / 2.201 GB, free: 341.2 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/3.479, allocations: 7.575 MB / 2.208 GB, free: 333.7 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009154/3.48, allocations: 124.7 kB / 2.208 GB, free: 333.5 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004915/3.485, allocations: 4.647 MB / 2.213 GB, free: 328.9 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/3.487, allocations: 1.196 MB / 2.214 GB, free: 327.7 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004826/3.487, allocations: 100 kB / 2.214 GB, free: 327.6 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0002876/3.488, allocations: 0.4892 MB / 2.214 GB, free: 327.1 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005399/3.493, allocations: 1.917 MB / 2.216 GB, free: 325.2 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006678/3.5, allocations: 3.625 MB / 2.22 GB, free: 320.9 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006371/3.506, allocations: 2.455 MB / 2.222 GB, free: 318.5 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/3.506, allocations: 12 kB / 2.222 GB, free: 318.5 MB / 1.011 GB Notification: Performance of matching and sorting (n=640) (initialization): time 0.02219/3.528, allocations: 7.092 MB / 2.229 GB, free: 311.4 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005923/3.529, allocations: 1.251 MB / 2.23 GB, free: 309.7 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/3.529, allocations: 43.98 kB / 2.23 GB, free: 309.7 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/3.54, allocations: 1.778 MB / 2.232 GB, free: 308 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/3.546, allocations: 1.069 MB / 2.233 GB, free: 306.9 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/3.557, allocations: 6.566 MB / 2.24 GB, free: 300.1 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/3.567, allocations: 0.7166 MB / 2.24 GB, free: 299.4 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/3.569, allocations: 243.9 kB / 2.24 GB, free: 299.1 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/3.569, allocations: 4 kB / 2.241 GB, free: 299.1 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01716/3.586, allocations: 6.044 MB / 2.246 GB, free: 293.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/3.586, allocations: 43.98 kB / 2.246 GB, free: 293.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/3.596, allocations: 1.656 MB / 2.248 GB, free: 291.5 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005417/3.601, allocations: 1.022 MB / 2.249 GB, free: 290.4 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/3.618, allocations: 8.488 MB / 2.257 GB, free: 281.5 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00969/3.628, allocations: 0.6888 MB / 2.258 GB, free: 280.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009576/3.629, allocations: 223.9 kB / 2.258 GB, free: 280.6 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysTOut.y,hysTOut.y,$PRE.hysTBoi.y,hysTBoi.y,and1.y,and2.y,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (577): * Single equations (assignments): 562 * 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: 4 * 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: 2 {5 6,13 22} Notification: Performance of prepare postOptimizeDAE: time 0.005447/3.634, allocations: 2.128 MB / 2.26 GB, free: 278.5 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002122/3.636, allocations: 0.8256 MB / 2.261 GB, free: 277.6 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/3.65, allocations: 5.165 MB / 2.266 GB, free: 272.4 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.66e-05/3.65, allocations: 40 kB / 2.266 GB, free: 272.4 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/3.65, allocations: 4 kB / 2.266 GB, free: 272.4 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009897/3.66, allocations: 3.847 MB / 2.27 GB, free: 268.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.02964/3.689, allocations: 12.25 MB / 2.282 GB, free: 256.2 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/3.689, allocations: 0 / 2.282 GB, free: 256.2 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004644/3.694, allocations: 0.6944 MB / 2.283 GB, free: 255.5 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/3.696, allocations: 0.629 MB / 2.283 GB, free: 254.9 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005625/3.697, allocations: 103.9 kB / 2.283 GB, free: 254.8 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/3.706, allocations: 11.76 MB / 2.295 GB, free: 242 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-06/3.706, allocations: 3.953 kB / 2.295 GB, free: 242 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/3.723, allocations: 6.977 MB / 2.302 GB, free: 235 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004949/3.728, allocations: 1.486 MB / 2.303 GB, free: 233.4 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001981/3.73, allocations: 83.98 kB / 2.303 GB, free: 233.4 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008457/3.739, allocations: 0.656 MB / 2.304 GB, free: 232.7 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007791/3.74, allocations: 246.5 kB / 2.304 GB, free: 232.5 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005001/3.74, allocations: 163.9 kB / 2.304 GB, free: 232.3 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.0111/3.751, allocations: 4.984 MB / 2.309 GB, free: 227.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.684e-06/3.751, allocations: 0 / 2.309 GB, free: 227.4 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.02163/3.773, allocations: 4.298 MB / 2.313 GB, free: 223.2 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: 8 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysTOut.y,hysTBoi.y,and1.y,and2.y,hysPum.y) * Number of discrete states: 5 (timTab.tab.nextTimeEvent,hysTOut.y,hysTBoi.y,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 1 {13 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.004823/3.778, allocations: 1.788 MB / 2.315 GB, free: 221.8 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.02641/3.804, allocations: 9.266 MB / 2.324 GB, free: 212.5 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/3.804, allocations: 7.812 kB / 2.324 GB, free: 212.5 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.006314/3.811, allocations: 2.855 MB / 2.327 GB, free: 209.5 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02653/3.837, allocations: 4.622 MB / 2.331 GB, free: 205.1 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03541/3.873, allocations: 19.73 MB / 2.351 GB, free: 185.3 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008347/3.881, allocations: 5.01 MB / 2.356 GB, free: 180.3 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.01315/3.894, allocations: 2.199 MB / 2.358 GB, free: 178.1 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/3.897, allocations: 0.6437 MB / 2.358 GB, free: 177.5 MB / 1.011 GB Notification: Performance of SimCode: time 2.164e-06/3.897, allocations: 3.938 kB / 2.358 GB, free: 177.4 MB / 1.011 GB Notification: Performance of Templates: time 0.3395/4.236, allocations: 169.9 MB / 2.524 GB, free: 9.34 MB / 1.011 GB