Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.512/2.512, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.001481, allocations: 192 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.528/2.528, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 105.8 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 11.97 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 106.2 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.993/1.22, allocations: 175.6 MB / 1.07 GB, free: 3.195 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03818/1.258, allocations: 17.65 MB / 1.088 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004043/1.262, allocations: 65.97 kB / 1.088 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005836/1.268, allocations: 1.134 MB / 1.089 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01468/1.283, allocations: 3.029 MB / 1.092 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01706/1.3, allocations: 3.184 MB / 1.095 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01328/1.313, allocations: 5.788 MB / 1.1 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005893/1.319, allocations: 2.864 MB / 1.103 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007547/1.327, allocations: 2.451 MB / 1.106 GB, free: 18.49 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005396/1.332, allocations: 1.931 MB / 1.108 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/1.334, allocations: 146.1 kB / 1.108 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007737/1.341, allocations: 1.554 MB / 1.109 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00211/1.343, allocations: 0.8339 MB / 1.11 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/1.345, allocations: 0.7703 MB / 1.111 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009659/1.355, allocations: 5.129 MB / 1.116 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.355, allocations: 0 / 1.116 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.838e-06/1.355, allocations: 0 / 1.116 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001717/1.355, allocations: 0 / 1.116 GB, free: 17.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01312/1.369, allocations: 3.825 MB / 1.12 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.369, allocations: 16.27 kB / 1.12 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.379, allocations: 0.9586 MB / 1.12 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/1.393, allocations: 3.472 MB / 1.124 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/1.393, allocations: 190.5 kB / 1.124 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.394, allocations: 259.2 kB / 1.124 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.404, allocations: 3.145 MB / 1.127 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.43e-05/1.404, allocations: 7.469 kB / 1.127 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004379/1.405, allocations: 94.91 kB / 1.127 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/1.405, allocations: 99.83 kB / 1.128 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008147/1.413, allocations: 2.641 MB / 1.13 GB, free: 11.98 MB / 0.7136 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.03778/1.451, allocations: 13.46 MB / 1.143 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/1.457, allocations: 2.184 MB / 1.145 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01984/1.477, allocations: 4.682 MB / 1.15 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003007/1.48, allocations: 0.906 MB / 1.151 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002231/1.482, allocations: 190 kB / 1.151 GB, free: 488 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=130): time 8.075e-06/1.482, allocations: 0 / 1.151 GB, free: 488 kB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.02203/1.504, allocations: 5.513 MB / 1.156 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.504, allocations: 144.8 kB / 1.157 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007387/1.512, allocations: 3.173 MB / 1.16 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006425/1.512, allocations: 61.05 kB / 1.16 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.514, allocations: 1.521 MB / 1.161 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.515, allocations: 476.6 kB / 1.162 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/1.516, allocations: 39.31 kB / 1.162 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002458/1.516, allocations: 395.3 kB / 1.162 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.52, allocations: 0.9769 MB / 1.163 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004647/1.524, allocations: 1.572 MB / 1.165 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/1.529, allocations: 1.21 MB / 1.166 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/1.529, allocations: 8 kB / 1.166 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01612/1.545, allocations: 3.375 MB / 1.169 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003617/1.549, allocations: 6.593 MB / 1.176 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.549, allocations: 23.97 kB / 1.176 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/1.563, allocations: 1.176 MB / 1.177 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/1.567, allocations: 0.4948 MB / 1.177 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.578, allocations: 3.173 MB / 1.18 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/1.584, allocations: 276.4 kB / 1.181 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/1.585, allocations: 105.3 kB / 1.181 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.585, allocations: 4 kB / 1.181 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01461/1.6, allocations: 3.027 MB / 1.184 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-05/1.6, allocations: 19.98 kB / 1.184 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/1.613, allocations: 1.212 MB / 1.185 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/1.617, allocations: 484.7 kB / 1.185 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/1.628, allocations: 3.172 MB / 1.188 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.634, allocations: 251.1 kB / 1.189 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007073/1.634, allocations: 102.4 kB / 1.189 GB, free: 4.566 MB / 0.7448 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.003535/1.638, allocations: 1.09 MB / 1.19 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.639, allocations: 300.3 kB / 1.19 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/1.648, allocations: 2.329 MB / 1.192 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/1.648, allocations: 18.12 kB / 1.192 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.648, allocations: 4 kB / 1.192 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007335/1.655, allocations: 2.008 MB / 1.194 GB, free: 352 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/1.68, allocations: 5.189 MB / 1.199 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.68, allocations: 4.031 kB / 1.199 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005216/1.685, allocations: 289.4 kB / 1.2 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02355/1.709, allocations: 347.3 kB / 1.2 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005403/1.709, allocations: 49.52 kB / 1.2 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02324/1.733, allocations: 9.154 MB / 1.209 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/1.733, allocations: 8.016 kB / 1.209 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.747, allocations: 3.324 MB / 1.212 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002887/1.75, allocations: 0.6484 MB / 1.213 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/1.751, allocations: 44.36 kB / 1.213 GB, free: 112 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004723/1.756, allocations: 175 kB / 1.213 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006362/1.757, allocations: 111.8 kB / 1.213 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.757, allocations: 67.56 kB / 1.213 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006437/1.764, allocations: 2.166 MB / 1.215 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.61e-07/1.764, allocations: 0 / 1.215 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01021/1.774, allocations: 1.658 MB / 1.217 GB, free: 12.74 MB / 0.7761 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.00339/1.777, allocations: 0.8821 MB / 1.218 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02233/1.8, allocations: 4.324 MB / 1.222 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.8, allocations: 448 / 1.222 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004551/1.804, allocations: 1.62 MB / 1.224 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02043/1.825, allocations: 1.682 MB / 1.225 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.845, allocations: 7.74 MB / 1.233 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.849, allocations: 2.447 MB / 1.235 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.007433/1.856, allocations: 1.115 MB / 1.236 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/1.858, allocations: 256.8 kB / 1.237 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of SimCode: time 1.653e-06/1.858, allocations: 0 / 1.237 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of Templates: time 0.2167/2.075, allocations: 72.11 MB / 1.307 GB, free: 3.953 MB / 0.8542 GB