Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.66 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3167, allocations: 159.9 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.8242/1.141, allocations: 209.5 MB / 1.273 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02987/1.171, allocations: 19.07 MB / 1.291 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005472/1.176, allocations: 97.34 kB / 1.291 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01152/1.188, allocations: 4.513 MB / 1.296 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/1.2, allocations: 3.462 MB / 1.299 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009446/1.209, allocations: 2.476 MB / 1.302 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02038/1.23, allocations: 13.54 MB / 1.315 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007286/1.237, allocations: 3.999 MB / 1.319 GB, free: 20.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/1.247, allocations: 3.628 MB / 1.322 GB, free: 20.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/1.255, allocations: 3.055 MB / 1.325 GB, free: 20.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001852/1.257, allocations: 409.4 kB / 1.326 GB, free: 20.19 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009569/1.266, allocations: 2.626 MB / 1.328 GB, free: 20.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003043/1.269, allocations: 1.33 MB / 1.33 GB, free: 19.83 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00692/1.276, allocations: 2.383 MB / 1.332 GB, free: 18.4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01619/1.293, allocations: 7.305 MB / 1.339 GB, free: 16.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/1.293, allocations: 0 / 1.339 GB, free: 16.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/1.293, allocations: 0 / 1.339 GB, free: 16.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002706/1.293, allocations: 0 / 1.339 GB, free: 16.07 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 589 * Number of variables: 589 Notification: Performance of Generate backend data structure: time 0.01486/1.308, allocations: 4.959 MB / 1.344 GB, free: 13.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.308, allocations: 8.688 kB / 1.344 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006867/1.315, allocations: 1.061 MB / 1.345 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01305/1.328, allocations: 4.616 MB / 1.349 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/1.328, allocations: 188.1 kB / 1.35 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008427/1.329, allocations: 245.3 kB / 1.35 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005396/1.334, allocations: 3.196 MB / 1.353 GB, free: 8.738 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/1.334, allocations: 13.78 kB / 1.353 GB, free: 8.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/1.335, allocations: 106.5 kB / 1.353 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/1.335, allocations: 103.1 kB / 1.353 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004512/1.339, allocations: 2.657 MB / 1.356 GB, free: 7.316 MB / 1.014 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.024/1.363, allocations: 13.75 MB / 1.369 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/1.367, allocations: 2.119 MB / 1.371 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/1.368, allocations: 0.9511 MB / 1.372 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/1.38, allocations: 4.595 MB / 1.377 GB, free: 7.141 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/1.382, allocations: 0.979 MB / 1.378 GB, free: 6.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 3.096e-06/1.382, allocations: 0 / 1.378 GB, free: 6.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.01249/1.394, allocations: 5.506 MB / 1.383 GB, free: 2.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/1.394, allocations: 94.41 kB / 1.383 GB, free: 2.578 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006237/1.401, allocations: 3.619 MB / 1.387 GB, free: 14.97 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005286/1.401, allocations: 61.7 kB / 1.387 GB, free: 14.91 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001922/1.403, allocations: 1.66 MB / 1.388 GB, free: 13.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007873/1.404, allocations: 484.2 kB / 1.389 GB, free: 12.78 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009749/1.405, allocations: 0.5277 MB / 1.389 GB, free: 12.24 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.405, allocations: 309.1 kB / 1.39 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/1.407, allocations: 1.19 MB / 1.391 GB, free: 10.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/1.41, allocations: 1.804 MB / 1.393 GB, free: 8.691 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/1.415, allocations: 2.791 MB / 1.395 GB, free: 5.738 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/1.415, allocations: 4 kB / 1.395 GB, free: 5.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01231/1.427, allocations: 4.174 MB / 1.399 GB, free: 1.648 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/1.427, allocations: 13.25 kB / 1.399 GB, free: 1.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.427, allocations: 16 kB / 1.399 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/1.434, allocations: 1.082 MB / 1.4 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/1.437, allocations: 0.5108 MB / 1.401 GB, free: 56 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005644/1.443, allocations: 3.236 MB / 1.404 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/1.446, allocations: 180.5 kB / 1.404 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/1.447, allocations: 112 kB / 1.404 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004751/1.452, allocations: 2.148 MB / 1.406 GB, free: 10.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003127/1.455, allocations: 1.756 MB / 1.408 GB, free: 8.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004523/1.459, allocations: 2.705 MB / 1.411 GB, free: 5.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.428e-05/1.459, allocations: 4 kB / 1.411 GB, free: 5.355 MB / 1.061 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01262/1.472, allocations: 4.084 MB / 1.415 GB, free: 1.355 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.472, allocations: 12 kB / 1.415 GB, free: 1.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.472, allocations: 16.84 kB / 1.415 GB, free: 1.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007092/1.479, allocations: 1.088 MB / 1.416 GB, free: 244 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/1.482, allocations: 0.5022 MB / 1.416 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005712/1.487, allocations: 3.227 MB / 1.42 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/1.491, allocations: 181.5 kB / 1.42 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/1.492, allocations: 108 kB / 1.42 GB, free: 12.12 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 268 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000977/1.493, allocations: 328.8 kB / 1.42 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001554/1.494, allocations: 339.8 kB / 1.42 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/1.5, allocations: 2.286 MB / 1.423 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.5, allocations: 20 kB / 1.423 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.5, allocations: 7.188 kB / 1.423 GB, free: 9.164 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003414/1.504, allocations: 1.954 MB / 1.425 GB, free: 7.129 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.515, allocations: 5.232 MB / 1.43 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.515, allocations: 0 / 1.43 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.517, allocations: 292.3 kB / 1.43 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/1.518, allocations: 268.2 kB / 1.43 GB, free: 1.309 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.518, allocations: 43.97 kB / 1.43 GB, free: 1.266 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/1.525, allocations: 9.277 MB / 1.439 GB, free: 7.191 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.525, allocations: 7.078 kB / 1.439 GB, free: 7.188 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/1.532, allocations: 3.189 MB / 1.442 GB, free: 3.957 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002265/1.534, allocations: 0.6566 MB / 1.443 GB, free: 3.277 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.535, allocations: 40 kB / 1.443 GB, free: 3.238 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.538, allocations: 99.88 kB / 1.443 GB, free: 3.141 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/1.538, allocations: 108.3 kB / 1.443 GB, free: 3.039 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.539, allocations: 67.94 kB / 1.443 GB, free: 2.973 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005239/1.544, allocations: 2.441 MB / 1.446 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.31e-07/1.544, allocations: 0 / 1.446 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.007764/1.552, allocations: 1.719 MB / 1.447 GB, free: 14.83 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.s[1],pumRad.filter.s[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 (137): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002905/1.555, allocations: 1.009 MB / 1.448 GB, free: 14.04 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01476/1.569, allocations: 5.426 MB / 1.454 GB, free: 8.723 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.569, allocations: 4.562 kB / 1.454 GB, free: 8.719 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002558/1.572, allocations: 1.567 MB / 1.455 GB, free: 7.102 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/1.583, allocations: 1.974 MB / 1.457 GB, free: 5.199 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.598, allocations: 7.237 MB / 1.464 GB, free: 13.95 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/1.601, allocations: 2.558 MB / 1.467 GB, free: 11.36 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004845/1.606, allocations: 1.239 MB / 1.468 GB, free: 10.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008278/1.607, allocations: 279.3 kB / 1.468 GB, free: 9.852 MB / 1.123 GB Notification: Performance of SimCode: time 7.32e-07/1.607, allocations: 0 / 1.468 GB, free: 9.852 MB / 1.123 GB Notification: Performance of Templates: time 0.1434/1.75, allocations: 82.82 MB / 1.549 GB, free: 8.023 MB / 1.201 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)