Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.Boiler.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.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.93/2.93, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 185 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.6301 GB, free: 10.45 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 97.89 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004807, allocations: 14.77 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.778/0.9386, allocations: 175.5 MB / 1.15 GB, free: 9.207 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03597/0.9746, allocations: 17.68 MB / 1.167 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.9781, allocations: 70.03 kB / 1.168 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.9829, allocations: 1.135 MB / 1.169 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01225/0.9952, allocations: 3.007 MB / 1.172 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01365/1.009, allocations: 3.259 MB / 1.175 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01117/1.02, allocations: 5.781 MB / 1.18 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005523/1.026, allocations: 2.869 MB / 1.183 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006047/1.032, allocations: 2.445 MB / 1.186 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/1.036, allocations: 1.928 MB / 1.187 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0009311/1.037, allocations: 147.9 kB / 1.188 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006205/1.043, allocations: 1.563 MB / 1.189 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00186/1.045, allocations: 0.8407 MB / 1.19 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/1.047, allocations: 0.773 MB / 1.191 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008989/1.056, allocations: 5.152 MB / 1.196 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.056, allocations: 2.906 kB / 1.196 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.645e-06/1.056, allocations: 0 / 1.196 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001539/1.056, allocations: 3.938 kB / 1.196 GB, free: 10.27 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01046/1.067, allocations: 3.835 MB / 1.199 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.067, allocations: 8.031 kB / 1.199 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/1.074, allocations: 0.9632 MB / 1.2 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.085, allocations: 3.494 MB / 1.204 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/1.086, allocations: 193.1 kB / 1.204 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009738/1.087, allocations: 245.9 kB / 1.204 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00953/1.096, allocations: 3.161 MB / 1.207 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.096, allocations: 19.84 kB / 1.207 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/1.097, allocations: 104 kB / 1.207 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/1.097, allocations: 104.3 kB / 1.208 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008214/1.105, allocations: 2.626 MB / 1.21 GB, free: 12.13 MB / 0.7448 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.03256/1.138, allocations: 13.5 MB / 1.223 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/1.143, allocations: 2.181 MB / 1.225 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01541/1.158, allocations: 4.717 MB / 1.23 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002638/1.161, allocations: 0.9282 MB / 1.231 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001583/1.163, allocations: 190.2 kB / 1.231 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 6.534e-06/1.163, allocations: 0 / 1.231 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of matching and sorting (n=134): time 0.01862/1.181, allocations: 5.526 MB / 1.237 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.181, allocations: 145.8 kB / 1.237 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006836/1.188, allocations: 3.167 MB / 1.24 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004802/1.189, allocations: 61.7 kB / 1.24 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002302/1.191, allocations: 1.529 MB / 1.241 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/1.192, allocations: 473.2 kB / 1.242 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.192, allocations: 40 kB / 1.242 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000302/1.193, allocations: 397.9 kB / 1.242 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/1.196, allocations: 0.9837 MB / 1.243 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/1.2, allocations: 1.572 MB / 1.245 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/1.204, allocations: 1.216 MB / 1.246 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/1.204, allocations: 4 kB / 1.246 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01272/1.217, allocations: 3.385 MB / 1.249 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003533/1.22, allocations: 6.594 MB / 1.256 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-05/1.22, allocations: 20 kB / 1.256 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008779/1.229, allocations: 1.176 MB / 1.257 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/1.232, allocations: 0.4953 MB / 1.257 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007764/1.24, allocations: 3.171 MB / 1.26 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/1.244, allocations: 264.1 kB / 1.261 GB, free: 6.297 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006186/1.245, allocations: 104 kB / 1.261 GB, free: 6.195 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.245, allocations: 4 kB / 1.261 GB, free: 6.191 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/1.256, allocations: 3.039 MB / 1.264 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.368e-05/1.256, allocations: 19.94 kB / 1.264 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008634/1.265, allocations: 1.215 MB / 1.265 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/1.267, allocations: 483.2 kB / 1.265 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/1.275, allocations: 3.167 MB / 1.268 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003998/1.279, allocations: 262 kB / 1.269 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005462/1.28, allocations: 103.9 kB / 1.269 GB, free: 13.75 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$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 (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.0029/1.283, allocations: 1.082 MB / 1.27 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.284, allocations: 300.3 kB / 1.27 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006849/1.291, allocations: 2.335 MB / 1.272 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.291, allocations: 16 kB / 1.272 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/1.291, allocations: 4 kB / 1.272 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005326/1.296, allocations: 2.003 MB / 1.274 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.311, allocations: 5.21 MB / 1.279 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.311, allocations: 7.984 kB / 1.279 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.313, allocations: 291.6 kB / 1.28 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/1.314, allocations: 340.8 kB / 1.28 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003012/1.315, allocations: 43.97 kB / 1.28 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/1.326, allocations: 9.161 MB / 1.289 GB, free: 7.926 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.428e-06/1.326, allocations: 3.984 kB / 1.289 GB, free: 7.922 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008829/1.335, allocations: 3.333 MB / 1.292 GB, free: 4.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.337, allocations: 0.6688 MB / 1.293 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009408/1.338, allocations: 36 kB / 1.293 GB, free: 3.773 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003302/1.342, allocations: 168.5 kB / 1.293 GB, free: 3.609 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004707/1.342, allocations: 121 kB / 1.293 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/1.343, allocations: 67.95 kB / 1.293 GB, free: 3.426 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005284/1.348, allocations: 2.166 MB / 1.295 GB, free: 1.266 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.349e-06/1.348, allocations: 0 / 1.295 GB, free: 1.266 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008203/1.356, allocations: 1.656 MB / 1.297 GB, free: 15.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (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]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00314/1.359, allocations: 0.8902 MB / 1.298 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01559/1.375, allocations: 4.324 MB / 1.302 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/1.375, allocations: 4.562 kB / 1.302 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/1.379, allocations: 1.633 MB / 1.304 GB, free: 8.777 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009179/1.388, allocations: 1.667 MB / 1.305 GB, free: 7.125 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/1.405, allocations: 7.741 MB / 1.313 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/1.409, allocations: 2.439 MB / 1.315 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005942/1.415, allocations: 1.118 MB / 1.316 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/1.416, allocations: 255.3 kB / 1.317 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.735e-06/1.416, allocations: 0 / 1.317 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.1702/1.586, allocations: 72.51 MB / 1.388 GB, free: 3.391 MB / 0.9167 GB