Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.9/1.9, allocations: 288.3 MB / 303.2 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001319, allocations: 183.7 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000899/0.0008988, allocations: 94.86 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004272, allocations: 14.08 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.8398/1.112, allocations: 175.5 MB / 1.151 GB, free: 9.051 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03493/1.147, allocations: 17.68 MB / 1.168 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004482/1.152, allocations: 68.56 kB / 1.168 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005411/1.157, allocations: 1.133 MB / 1.169 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0149/1.172, allocations: 3.014 MB / 1.172 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01416/1.186, allocations: 3.258 MB / 1.175 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01159/1.198, allocations: 5.777 MB / 1.181 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005918/1.204, allocations: 2.867 MB / 1.184 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008059/1.212, allocations: 2.437 MB / 1.186 GB, free: 60 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005727/1.218, allocations: 1.939 MB / 1.188 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001386/1.219, allocations: 147.8 kB / 1.188 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007582/1.227, allocations: 1.567 MB / 1.19 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002341/1.229, allocations: 0.8325 MB / 1.191 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/1.232, allocations: 0.776 MB / 1.191 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/1.243, allocations: 5.165 MB / 1.196 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.243, allocations: 2.438 kB / 1.196 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/1.243, allocations: 0 / 1.196 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002923/1.243, allocations: 0 / 1.196 GB, free: 9.703 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.01314/1.256, allocations: 3.832 MB / 1.2 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/1.257, allocations: 8.031 kB / 1.2 GB, free: 6.496 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00729/1.264, allocations: 0.9651 MB / 1.201 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/1.277, allocations: 3.496 MB / 1.205 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/1.277, allocations: 189 kB / 1.205 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/1.278, allocations: 244 kB / 1.205 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/1.289, allocations: 3.167 MB / 1.208 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/1.289, allocations: 3.906 kB / 1.208 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008318/1.29, allocations: 99.91 kB / 1.208 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/1.29, allocations: 113.2 kB / 1.208 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007922/1.298, allocations: 2.632 MB / 1.211 GB, free: 11.35 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.03357/1.331, allocations: 13.49 MB / 1.224 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004991/1.337, allocations: 2.174 MB / 1.226 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/1.352, allocations: 4.721 MB / 1.231 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002616/1.355, allocations: 0.9227 MB / 1.232 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002506/1.358, allocations: 190.2 kB / 1.232 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=130): time 9.347e-06/1.358, allocations: 0 / 1.232 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of matching and sorting (n=134): time 0.01679/1.375, allocations: 5.53 MB / 1.237 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.375, allocations: 149.8 kB / 1.237 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007864/1.383, allocations: 3.17 MB / 1.24 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0007829/1.383, allocations: 65.7 kB / 1.24 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.386, allocations: 1.513 MB / 1.242 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.387, allocations: 485.2 kB / 1.242 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/1.387, allocations: 40 kB / 1.242 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000314/1.388, allocations: 389.9 kB / 1.243 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.391, allocations: 0.9838 MB / 1.244 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/1.395, allocations: 1.576 MB / 1.245 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/1.398, allocations: 1.216 MB / 1.247 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-05/1.399, allocations: 8 kB / 1.247 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01254/1.411, allocations: 3.38 MB / 1.25 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.003694/1.415, allocations: 6.588 MB / 1.256 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.088e-05/1.415, allocations: 19.98 kB / 1.256 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007331/1.422, allocations: 1.184 MB / 1.257 GB, free: 9.621 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/1.425, allocations: 0.4914 MB / 1.258 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/1.431, allocations: 3.167 MB / 1.261 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/1.436, allocations: 265.8 kB / 1.261 GB, free: 5.543 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006467/1.436, allocations: 103.9 kB / 1.261 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.436, allocations: 4 kB / 1.261 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009319/1.446, allocations: 3.039 MB / 1.264 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.822e-05/1.446, allocations: 16 kB / 1.264 GB, free: 2.375 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00713/1.453, allocations: 1.22 MB / 1.266 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/1.455, allocations: 483.2 kB / 1.266 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005901/1.461, allocations: 3.171 MB / 1.269 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004569/1.466, allocations: 248.2 kB / 1.269 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007395/1.467, allocations: 99.95 kB / 1.269 GB, free: 13 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.003482/1.47, allocations: 1.088 MB / 1.27 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/1.472, allocations: 300.6 kB / 1.271 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/1.478, allocations: 2.336 MB / 1.273 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.848e-05/1.478, allocations: 19.98 kB / 1.273 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.2e-05/1.479, allocations: 4 kB / 1.273 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004051/1.483, allocations: 2.01 MB / 1.275 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/1.496, allocations: 5.215 MB / 1.28 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.496, allocations: 0 / 1.28 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.498, allocations: 291.5 kB / 1.28 GB, free: 1.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/1.499, allocations: 340.8 kB / 1.281 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.499, allocations: 47.95 kB / 1.281 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007624/1.507, allocations: 9.149 MB / 1.29 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.507, allocations: 0 / 1.29 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006695/1.514, allocations: 3.336 MB / 1.293 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.516, allocations: 0.6576 MB / 1.294 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.517, allocations: 39.98 kB / 1.294 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.52, allocations: 183.8 kB / 1.294 GB, free: 2.852 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/1.52, allocations: 117 kB / 1.294 GB, free: 2.738 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.521, allocations: 71.94 kB / 1.294 GB, free: 2.668 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004721/1.525, allocations: 2.17 MB / 1.296 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.525, allocations: 0 / 1.296 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007965/1.533, allocations: 1.66 MB / 1.298 GB, free: 14.84 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.002718/1.536, allocations: 0.8852 MB / 1.299 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.549, allocations: 4.327 MB / 1.303 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/1.549, allocations: 2.438 kB / 1.303 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/1.552, allocations: 1.632 MB / 1.304 GB, free: 8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008712/1.56, allocations: 1.67 MB / 1.306 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.575, allocations: 7.744 MB / 1.314 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/1.578, allocations: 2.443 MB / 1.316 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004601/1.582, allocations: 1.114 MB / 1.317 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/1.583, allocations: 255.3 kB / 1.317 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/1.583, allocations: 3.938 kB / 1.317 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.1248/1.708, allocations: 72.53 MB / 1.388 GB, free: 2.613 MB / 0.9167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)