Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004969/0.004969, allocations: 169.7 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004866/0.0004871, allocations: 16.25 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2091, allocations: 116.3 MB / 0.7879 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5533/0.7625, allocations: 158.6 MB / 0.9427 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.7672, allocations: 3.334 MB / 0.946 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.7679, allocations: 15.53 kB / 0.946 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/0.7688, allocations: 245.6 kB / 0.9462 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.771, allocations: 0.7857 MB / 0.947 GB, free: 492 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.7721, allocations: 405 kB / 0.9474 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.774, allocations: 1.364 MB / 0.9487 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.7745, allocations: 270 kB / 0.949 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.7751, allocations: 344.9 kB / 0.9493 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009862/0.7761, allocations: 343.1 kB / 0.9496 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.7762, allocations: 15.34 kB / 0.9496 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.7781, allocations: 0.7842 MB / 0.9504 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.7783, allocations: 144.1 kB / 0.9505 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.7787, allocations: 263.6 kB / 0.9508 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00152/0.7803, allocations: 0.9355 MB / 0.9517 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7803, allocations: 0 / 0.9517 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7803, allocations: 1.406 kB / 0.9517 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.7803, allocations: 0 / 0.9517 GB, free: 15.99 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001418/0.7817, allocations: 0.7696 MB / 0.9524 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.7818, allocations: 9.875 kB / 0.9525 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.7829, allocations: 149.6 kB / 0.9526 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.7836, allocations: 488.7 kB / 0.9531 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.7836, allocations: 23.41 kB / 0.9531 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.7837, allocations: 29.23 kB / 0.9531 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.7842, allocations: 323.4 kB / 0.9534 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.7842, allocations: 1.562 kB / 0.9534 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.7843, allocations: 14.86 kB / 0.9534 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.7843, allocations: 10.28 kB / 0.9534 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.7847, allocations: 223.1 kB / 0.9537 GB, free: 15.06 MB / 0.7325 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.001876/0.7866, allocations: 1.416 MB / 0.955 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.787, allocations: 223.4 kB / 0.9553 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.7872, allocations: 115.1 kB / 0.9554 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.7872, allocations: 3.062 kB / 0.9554 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.7875, allocations: 161.8 kB / 0.9555 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.7875, allocations: 1.062 kB / 0.9555 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002879/0.7904, allocations: 1.152 MB / 0.9566 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.7904, allocations: 62.5 kB / 0.9567 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.791, allocations: 460.3 kB / 0.9571 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.791, allocations: 32.27 kB / 0.9572 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.7912, allocations: 238 kB / 0.9574 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.507e-05/0.7913, allocations: 107.1 kB / 0.9575 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.7913, allocations: 41.25 kB / 0.9575 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7915, allocations: 354.8 kB / 0.9579 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.7917, allocations: 130.6 kB / 0.958 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.792, allocations: 202.6 kB / 0.9582 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.7924, allocations: 332.1 kB / 0.9585 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7925, allocations: 0.9375 kB / 0.9585 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009715/0.7934, allocations: 498.2 kB / 0.959 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7935, allocations: 9.312 kB / 0.959 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.7935, allocations: 2.688 kB / 0.959 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003559/0.7938, allocations: 77.64 kB / 0.9591 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.7941, allocations: 68.75 kB / 0.9591 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.796, allocations: 1.784 MB / 0.9609 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.7964, allocations: 20.14 kB / 0.9609 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.7964, allocations: 12.94 kB / 0.9609 GB, free: 11.44 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.7967, allocations: 192.5 kB / 0.9611 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.7968, allocations: 53.56 kB / 0.9612 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.7969, allocations: 54.02 kB / 0.9612 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.7969, allocations: 3.812 kB / 0.9612 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7969, allocations: 5.594 kB / 0.9612 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.7969, allocations: 6.516 kB / 0.9612 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.7986, allocations: 1.016 MB / 0.9622 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7986, allocations: 0 / 0.9622 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.799, allocations: 74.41 kB / 0.9623 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/0.7993, allocations: 74.38 kB / 0.9624 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.7993, allocations: 10.83 kB / 0.9624 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.8008, allocations: 1.559 MB / 0.9639 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.8008, allocations: 1.062 kB / 0.9639 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.8018, allocations: 0.5902 MB / 0.9645 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.802, allocations: 152.5 kB / 0.9646 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.8021, allocations: 7.406 kB / 0.9646 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.8025, allocations: 18 kB / 0.9646 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.8026, allocations: 23.5 kB / 0.9647 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.8026, allocations: 13.38 kB / 0.9647 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003936/0.803, allocations: 308.4 kB / 0.965 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.072e-06/0.803, allocations: 0 / 0.965 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006242/0.8036, allocations: 123.9 kB / 0.9651 GB, free: 9.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/0.8047, allocations: 439.1 kB / 0.9655 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009627/0.8057, allocations: 456.8 kB / 0.9659 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.8057, allocations: 5.406 kB / 0.9659 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.806, allocations: 254.9 kB / 0.9662 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.8072, allocations: 228.9 kB / 0.9664 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.809, allocations: 1.256 MB / 0.9676 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.8095, allocations: 0.8521 MB / 0.9685 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.8099, allocations: 86.83 kB / 0.9685 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.81, allocations: 36.98 kB / 0.9686 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.81, allocations: 3.234 kB / 0.9686 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.01419/0.8242, allocations: 8.541 MB / 0.9769 GB, free: 3.578 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) Environment - environmentSimulation: