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.001218/0.001218, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.00129/0.00129, allocations: 194.7 kB / 17.29 MB, free: 5.93 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 / 223.2 MB, free: 12.26 MB / 190.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.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.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.00142/0.00142, allocations: 67.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.222, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5399/0.7619, allocations: 162.9 MB / 0.9438 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004967/0.7669, allocations: 3.337 MB / 0.9471 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.7673, allocations: 15.94 kB / 0.9471 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.7682, allocations: 278.4 kB / 0.9474 GB, free: 3.52 MB / 0.7325 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.001868/0.7701, allocations: 0.8555 MB / 0.9482 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.7711, allocations: 438 kB / 0.9486 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.7722, allocations: 1.085 MB / 0.9497 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.7726, allocations: 332.1 kB / 0.95 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/0.7732, allocations: 402.2 kB / 0.9504 GB, free: 436 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.774, allocations: 352.3 kB / 0.9507 GB, free: 84 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.071e-05/0.7741, allocations: 40 kB / 0.9508 GB, free: 44 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.7753, allocations: 0.6976 MB / 0.9514 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.7755, allocations: 167.5 kB / 0.9516 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.7758, allocations: 266.7 kB / 0.9519 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.7769, allocations: 0.927 MB / 0.9528 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7769, allocations: 0 / 0.9528 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.045e-06/0.777, allocations: 0 / 0.9528 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.777, allocations: 7.922 kB / 0.9528 GB, free: 13.98 MB / 0.7481 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.001334/0.7783, allocations: 0.8591 MB / 0.9536 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.7783, allocations: 8.031 kB / 0.9536 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.7794, allocations: 155.2 kB / 0.9538 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.7801, allocations: 488.9 kB / 0.9542 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.7802, allocations: 21.97 kB / 0.9543 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.7802, allocations: 31.91 kB / 0.9543 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.7808, allocations: 327.6 kB / 0.9546 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.7808, allocations: 0 / 0.9546 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.7808, allocations: 12.56 kB / 0.9546 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.7809, allocations: 8.562 kB / 0.9546 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.7813, allocations: 218.1 kB / 0.9548 GB, free: 11.78 MB / 0.7481 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.001822/0.7831, allocations: 1.402 MB / 0.9562 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.7835, allocations: 232.8 kB / 0.9564 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7837, allocations: 104.8 kB / 0.9565 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.7837, allocations: 4 kB / 0.9565 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.784, allocations: 175.7 kB / 0.9567 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.784, allocations: 3.938 kB / 0.9567 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002906/0.7869, allocations: 1.148 MB / 0.9578 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.787, allocations: 59.34 kB / 0.9579 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.7875, allocations: 462.9 kB / 0.9583 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.7875, allocations: 29.7 kB / 0.9583 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.7877, allocations: 236.3 kB / 0.9586 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.7878, allocations: 106.4 kB / 0.9587 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.7879, allocations: 78.14 kB / 0.9587 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.788, allocations: 358.8 kB / 0.9591 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.7882, allocations: 128.8 kB / 0.9592 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.7885, allocations: 194.3 kB / 0.9594 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.789, allocations: 337.8 kB / 0.9597 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.789, allocations: 0 / 0.9597 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009596/0.79, allocations: 0.4906 MB / 0.9602 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.79, allocations: 8.781 kB / 0.9602 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.79, allocations: 0 / 0.9602 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/0.7904, allocations: 84.92 kB / 0.9603 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.7907, allocations: 75.84 kB / 0.9604 GB, free: 5.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.7927, allocations: 1.948 MB / 0.9623 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.793, allocations: 16.02 kB / 0.9623 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.7931, allocations: 12.81 kB / 0.9623 GB, free: 3.703 MB / 0.7481 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.000218/0.7933, allocations: 199.7 kB / 0.9625 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.7934, allocations: 43.44 kB / 0.9625 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.7935, allocations: 56.62 kB / 0.9626 GB, free: 3.402 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7935, allocations: 3.984 kB / 0.9626 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7935, allocations: 5.781 kB / 0.9626 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7935, allocations: 8.047 kB / 0.9626 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.7951, allocations: 1.01 MB / 0.9636 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7951, allocations: 1.938 kB / 0.9636 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.7955, allocations: 71.98 kB / 0.9636 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003014/0.7959, allocations: 80.64 kB / 0.9637 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.7959, allocations: 11.98 kB / 0.9637 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.7973, allocations: 1.649 MB / 0.9653 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7973, allocations: 0 / 0.9653 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.7983, allocations: 0.5928 MB / 0.9659 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.7985, allocations: 144.6 kB / 0.9661 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.7986, allocations: 19.92 kB / 0.9661 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.799, allocations: 16 kB / 0.9661 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.799, allocations: 24.14 kB / 0.9661 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.7991, allocations: 11.98 kB / 0.9661 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003467/0.7994, allocations: 307.1 kB / 0.9664 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7994, allocations: 0 / 0.9664 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000501/0.7999, allocations: 124 kB / 0.9665 GB, free: 15.09 MB / 0.7637 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.0009827/0.8009, allocations: 443.3 kB / 0.967 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009768/0.8019, allocations: 470.4 kB / 0.9674 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8019, allocations: 0 / 0.9674 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.8023, allocations: 258.5 kB / 0.9677 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8033, allocations: 238.5 kB / 0.9679 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.8049, allocations: 1.003 MB / 0.9689 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.8054, allocations: 0.8465 MB / 0.9697 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.8057, allocations: 99.67 kB / 0.9698 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.8058, allocations: 35.44 kB / 0.9698 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of SimCode: time 3.2e-07/0.8058, allocations: 0 / 0.9698 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.01445/0.8202, allocations: 8.905 MB / 0.9785 GB, free: 3.191 MB / 0.7637 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)