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.001156/0.001156, allocations: 111.9 kB / 15.61 MB, free: 128 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.001134/0.001134, allocations: 192.5 kB / 16.53 MB, free: 6.668 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.318/1.318, allocations: 205.1 MB / 222.4 MB, free: 4.637 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.698/1.698, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001457/0.001457, allocations: 75.02 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1902, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5552/0.7454, allocations: 162.9 MB / 0.9424 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005154/0.7506, allocations: 3.34 MB / 0.9457 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000575/0.7512, allocations: 15.34 kB / 0.9457 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/0.7521, allocations: 276.4 kB / 0.946 GB, free: 1.555 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001911/0.754, allocations: 0.8526 MB / 0.9468 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.7551, allocations: 434 kB / 0.9472 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.7565, allocations: 1.092 MB / 0.9483 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004992/0.757, allocations: 322.8 kB / 0.9486 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.7579, allocations: 408.7 kB / 0.949 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.7589, allocations: 351 kB / 0.9493 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.759, allocations: 39.94 kB / 0.9494 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.7606, allocations: 0.6966 MB / 0.95 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.7609, allocations: 165.3 kB / 0.9502 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003178/0.7612, allocations: 270.4 kB / 0.9505 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.7625, allocations: 0.9165 MB / 0.9513 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7625, allocations: 0.9375 kB / 0.9514 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7625, allocations: 0 / 0.9514 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.7625, allocations: 0 / 0.9514 GB, free: 0.8984 MB / 0.7169 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.00144/0.764, allocations: 0.8669 MB / 0.9522 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.764, allocations: 8.562 kB / 0.9522 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7651, allocations: 154.3 kB / 0.9524 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.7659, allocations: 487.6 kB / 0.9528 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.766, allocations: 22.41 kB / 0.9528 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.766, allocations: 35.86 kB / 0.9529 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.7666, allocations: 317.6 kB / 0.9532 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.7667, allocations: 0.9688 kB / 0.9532 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.7667, allocations: 12.36 kB / 0.9532 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.7668, allocations: 13.66 kB / 0.9532 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004189/0.7672, allocations: 218.9 kB / 0.9534 GB, free: 15.95 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.001918/0.7691, allocations: 1.421 MB / 0.9548 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.7695, allocations: 226.1 kB / 0.955 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.7697, allocations: 105.9 kB / 0.9551 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7697, allocations: 3.625 kB / 0.9551 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.77, allocations: 167.1 kB / 0.9553 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.77, allocations: 0 / 0.9553 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.002883/0.7729, allocations: 1.161 MB / 0.9564 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.773, allocations: 59.16 kB / 0.9565 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.7736, allocations: 456.1 kB / 0.9569 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.7736, allocations: 35.61 kB / 0.9569 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.7738, allocations: 227.2 kB / 0.9572 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7739, allocations: 111.6 kB / 0.9573 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.7741, allocations: 80.66 kB / 0.9573 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.7742, allocations: 356.4 kB / 0.9577 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.7745, allocations: 131.1 kB / 0.9578 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.7748, allocations: 200.5 kB / 0.958 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.7753, allocations: 327 kB / 0.9583 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7753, allocations: 0 / 0.9583 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009655/0.7762, allocations: 0.4941 MB / 0.9588 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7763, allocations: 5.594 kB / 0.9588 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7763, allocations: 2.297 kB / 0.9588 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.7766, allocations: 82.86 kB / 0.9589 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.777, allocations: 71.22 kB / 0.9589 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.7788, allocations: 1.953 MB / 0.9608 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.7792, allocations: 13.98 kB / 0.9609 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.7793, allocations: 14.86 kB / 0.9609 GB, free: 12.17 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.0002495/0.7795, allocations: 198.2 kB / 0.9611 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.7796, allocations: 47.08 kB / 0.9611 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.7797, allocations: 62 kB / 0.9612 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.7797, allocations: 3.938 kB / 0.9612 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7798, allocations: 1.188 kB / 0.9612 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.7798, allocations: 1.781 kB / 0.9612 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.7814, allocations: 1.005 MB / 0.9622 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.7814, allocations: 0 / 0.9622 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.7818, allocations: 72.41 kB / 0.9622 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.7821, allocations: 80.58 kB / 0.9623 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.7822, allocations: 15.38 kB / 0.9623 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001379/0.7835, allocations: 1.649 MB / 0.9639 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7836, allocations: 3.219 kB / 0.9639 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.7846, allocations: 0.5944 MB / 0.9645 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.7849, allocations: 154 kB / 0.9647 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.7849, allocations: 10.06 kB / 0.9647 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.7853, allocations: 14.42 kB / 0.9647 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.7854, allocations: 25.61 kB / 0.9647 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.7854, allocations: 11.55 kB / 0.9647 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003938/0.7858, allocations: 307.1 kB / 0.965 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.41e-07/0.7858, allocations: 0 / 0.965 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006259/0.7865, allocations: 130.6 kB / 0.9651 GB, free: 9.898 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.001058/0.7875, allocations: 436.4 kB / 0.9655 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7886, allocations: 471.6 kB / 0.966 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.7886, allocations: 5.531 kB / 0.966 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.7889, allocations: 259.2 kB / 0.9663 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.7901, allocations: 253.4 kB / 0.9665 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.7919, allocations: 1.006 MB / 0.9675 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.7923, allocations: 0.8492 MB / 0.9683 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003569/0.7926, allocations: 95.52 kB / 0.9684 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.7927, allocations: 40.25 kB / 0.9684 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7927, allocations: 0 / 0.9684 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of Templates: time 0.01466/0.8074, allocations: 8.914 MB / 0.9771 GB, free: 5.199 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (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)