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.687/1.687, allocations: 288.4 MB / 303.4 MB, free: 8.098 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.001797/0.001797, allocations: 180.5 kB / 372 MB, free: 10.26 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.883/1.883, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0009957/0.0009959, allocations: 90.3 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008781/0.0008782, allocations: 13.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2843, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.8717/1.156, allocations: 190.6 MB / 1.166 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03497/1.191, allocations: 18.51 MB / 1.184 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004542/1.196, allocations: 72.94 kB / 1.184 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004818/1.201, allocations: 0.912 MB / 1.185 GB, free: 336 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/1.211, allocations: 2.63 MB / 1.187 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01286/1.224, allocations: 2.825 MB / 1.19 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01757/1.242, allocations: 11.36 MB / 1.201 GB, free: 5.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007522/1.249, allocations: 2.854 MB / 1.204 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009683/1.259, allocations: 2.842 MB / 1.207 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00747/1.266, allocations: 2.688 MB / 1.209 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/1.268, allocations: 151.9 kB / 1.21 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/1.275, allocations: 1.591 MB / 1.211 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002283/1.277, allocations: 0.8834 MB / 1.212 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002429/1.28, allocations: 0.7848 MB / 1.213 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.009936/1.29, allocations: 5.216 MB / 1.218 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.29, allocations: 0 / 1.218 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.506e-06/1.29, allocations: 0 / 1.218 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002275/1.29, allocations: 4 kB / 1.218 GB, free: 7.18 MB / 0.7448 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.01079/1.301, allocations: 3.844 MB / 1.222 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.301, allocations: 12.03 kB / 1.222 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00697/1.308, allocations: 0.969 MB / 1.223 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01182/1.32, allocations: 3.792 MB / 1.226 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.32, allocations: 185.1 kB / 1.226 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/1.321, allocations: 248 kB / 1.227 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006767/1.327, allocations: 3.192 MB / 1.23 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-05/1.328, allocations: 11.84 kB / 1.23 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/1.328, allocations: 104 kB / 1.23 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/1.328, allocations: 109.2 kB / 1.23 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005318/1.333, allocations: 2.644 MB / 1.233 GB, free: 7.762 MB / 0.7605 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.02584/1.359, allocations: 13.24 MB / 1.245 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/1.363, allocations: 2.174 MB / 1.248 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.364, allocations: 0.9475 MB / 1.249 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/1.378, allocations: 4.539 MB / 1.253 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002333/1.38, allocations: 0.9442 MB / 1.254 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002606/1.383, allocations: 166.5 kB / 1.254 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=130): time 1.91e-05/1.383, allocations: 0 / 1.254 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=134): time 0.01607/1.399, allocations: 5.486 MB / 1.259 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.399, allocations: 141.8 kB / 1.26 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006361/1.406, allocations: 2.921 MB / 1.262 GB, free: 8.023 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005997/1.406, allocations: 65.7 kB / 1.262 GB, free: 7.953 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.408, allocations: 1.521 MB / 1.264 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008941/1.409, allocations: 481.2 kB / 1.264 GB, free: 5.941 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/1.41, allocations: 44 kB / 1.264 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003055/1.41, allocations: 381.9 kB / 1.265 GB, free: 5.52 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.413, allocations: 0.9916 MB / 1.266 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/1.416, allocations: 1.591 MB / 1.267 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/1.42, allocations: 1.228 MB / 1.269 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/1.42, allocations: 4 kB / 1.269 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01067/1.43, allocations: 3.396 MB / 1.272 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006089/1.431, allocations: 0.549 MB / 1.272 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.107e-05/1.431, allocations: 19.98 kB / 1.272 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008026/1.439, allocations: 1.176 MB / 1.274 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.442, allocations: 479.2 kB / 1.274 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/1.449, allocations: 3.159 MB / 1.277 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004603/1.453, allocations: 237 kB / 1.277 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000718/1.454, allocations: 104 kB / 1.277 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.454, allocations: 0 / 1.277 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/1.464, allocations: 3.051 MB / 1.28 GB, free: 4.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-05/1.464, allocations: 16 kB / 1.28 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007824/1.472, allocations: 1.215 MB / 1.282 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.475, allocations: 467.2 kB / 1.282 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007366/1.482, allocations: 3.155 MB / 1.285 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004631/1.487, allocations: 224.2 kB / 1.285 GB, free: 15.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006808/1.488, allocations: 95.97 kB / 1.285 GB, free: 15.56 MB / 0.823 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.003534/1.491, allocations: 1.082 MB / 1.286 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/1.493, allocations: 308.2 kB / 1.287 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/1.499, allocations: 2.306 MB / 1.289 GB, free: 11.82 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/1.499, allocations: 20 kB / 1.289 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/1.499, allocations: 3.984 kB / 1.289 GB, free: 11.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00387/1.503, allocations: 1.986 MB / 1.291 GB, free: 9.727 MB / 0.823 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.01573/1.519, allocations: 5.083 MB / 1.296 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.519, allocations: 4.156 kB / 1.296 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.521, allocations: 299.6 kB / 1.296 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009958/1.522, allocations: 272.9 kB / 1.296 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/1.522, allocations: 47.97 kB / 1.297 GB, free: 3.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007997/1.53, allocations: 8.664 MB / 1.305 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.53, allocations: 0 / 1.305 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/1.538, allocations: 3.21 MB / 1.308 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002797/1.541, allocations: 0.6024 MB / 1.309 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/1.542, allocations: 39.98 kB / 1.309 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003155/1.545, allocations: 160.7 kB / 1.309 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.545, allocations: 109 kB / 1.309 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/1.546, allocations: 71.94 kB / 1.309 GB, free: 6.199 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005854/1.551, allocations: 1.967 MB / 1.311 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.41e-07/1.552, allocations: 0 / 1.311 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009243/1.561, allocations: 1.605 MB / 1.313 GB, free: 2.633 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 (140): * Single equations (assignments): 126 * 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%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00308/1.564, allocations: 0.8647 MB / 1.313 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.578, allocations: 4.343 MB / 1.318 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.116e-05/1.578, allocations: 4.562 kB / 1.318 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/1.581, allocations: 1.587 MB / 1.319 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01112/1.592, allocations: 1.683 MB / 1.321 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.61, allocations: 7.789 MB / 1.328 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003867/1.614, allocations: 2.381 MB / 1.331 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005258/1.62, allocations: 1.103 MB / 1.332 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009566/1.621, allocations: 251.3 kB / 1.332 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of SimCode: time 1.793e-06/1.621, allocations: 0 / 1.332 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of Templates: time 0.1347/1.755, allocations: 70.53 MB / 1.401 GB, free: 8.477 MB / 0.9323 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)