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.001052/0.001052, allocations: 102.8 kB / 16.36 MB, free: 6.305 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.001114/0.001114, allocations: 188.4 kB / 17.29 MB, free: 5.875 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.436/1.436, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.895/1.895, 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.001458/0.001458, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.28, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6769/0.957, allocations: 162.9 MB / 0.9439 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.963, allocations: 3.323 MB / 0.9471 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008955/0.9641, allocations: 19.88 kB / 0.9471 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.9651, allocations: 278.4 kB / 0.9474 GB, free: 3.559 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.002592/0.9677, allocations: 0.8516 MB / 0.9482 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.969, allocations: 454.6 kB / 0.9487 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.9705, allocations: 1.075 MB / 0.9497 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.971, allocations: 324.2 kB / 0.95 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.9717, allocations: 407.6 kB / 0.9504 GB, free: 476 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009139/0.9726, allocations: 339.7 kB / 0.9507 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.9727, allocations: 40 kB / 0.9508 GB, free: 96 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.9743, allocations: 0.7015 MB / 0.9515 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.9745, allocations: 163.5 kB / 0.9516 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.9748, allocations: 266.7 kB / 0.9519 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.9761, allocations: 0.9348 MB / 0.9528 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.9761, allocations: 7.938 kB / 0.9528 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9762, allocations: 0 / 0.9528 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.9762, allocations: 0 / 0.9528 GB, free: 14.02 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.001556/0.9777, allocations: 0.863 MB / 0.9536 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9778, allocations: 8.031 kB / 0.9536 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.9788, allocations: 151.2 kB / 0.9538 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.9796, allocations: 0.4906 MB / 0.9543 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.9796, allocations: 24.55 kB / 0.9543 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.9797, allocations: 39.89 kB / 0.9543 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.9803, allocations: 319.7 kB / 0.9546 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.9803, allocations: 0 / 0.9546 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.9803, allocations: 12 kB / 0.9546 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.9804, allocations: 8.562 kB / 0.9546 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.9808, allocations: 222.1 kB / 0.9549 GB, free: 11.8 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.001956/0.9827, allocations: 1.406 MB / 0.9562 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.9831, allocations: 220.9 kB / 0.9564 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.9833, allocations: 116.8 kB / 0.9566 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.9834, allocations: 0 / 0.9566 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.9837, allocations: 168.5 kB / 0.9567 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.9837, allocations: 0 / 0.9567 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002949/0.9867, allocations: 1.152 MB / 0.9578 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.9867, allocations: 60.56 kB / 0.9579 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.9873, allocations: 453.9 kB / 0.9583 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.9873, allocations: 37.69 kB / 0.9584 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.9875, allocations: 232.3 kB / 0.9586 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.9876, allocations: 106.4 kB / 0.9587 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.9878, allocations: 78.12 kB / 0.9588 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.9879, allocations: 358.8 kB / 0.9591 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.9882, allocations: 128.8 kB / 0.9592 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.9885, allocations: 202.2 kB / 0.9594 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.989, allocations: 329.8 kB / 0.9597 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.989, allocations: 0 / 0.9597 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009819/0.99, allocations: 0.4933 MB / 0.9602 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.99, allocations: 8 kB / 0.9602 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.99, allocations: 0.9375 kB / 0.9602 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/0.9904, allocations: 89.48 kB / 0.9603 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.9907, allocations: 67.91 kB / 0.9604 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.9928, allocations: 1.958 MB / 0.9623 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.9932, allocations: 15.98 kB / 0.9623 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.445e-05/0.9932, allocations: 12 kB / 0.9623 GB, free: 3.727 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.0002608/0.9935, allocations: 190.5 kB / 0.9625 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.9936, allocations: 51.42 kB / 0.9625 GB, free: 3.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.9937, allocations: 52.58 kB / 0.9626 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9937, allocations: 4 kB / 0.9626 GB, free: 3.426 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9937, allocations: 6.031 kB / 0.9626 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9937, allocations: 0 / 0.9626 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.9953, allocations: 1.014 MB / 0.9636 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9954, allocations: 2.125 kB / 0.9636 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.9958, allocations: 75.92 kB / 0.9637 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.9961, allocations: 80.64 kB / 0.9637 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.9961, allocations: 11.98 kB / 0.9638 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.9976, allocations: 1.65 MB / 0.9654 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9976, allocations: 0 / 0.9654 GB, free: 396 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.9986, allocations: 0.5928 MB / 0.9659 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.9988, allocations: 152.5 kB / 0.9661 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.9989, allocations: 16.67 kB / 0.9661 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.9992, allocations: 12 kB / 0.9661 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.9993, allocations: 19.97 kB / 0.9661 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.9993, allocations: 11.98 kB / 0.9661 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003627/0.9997, allocations: 303.1 kB / 0.9664 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9997, allocations: 4 kB / 0.9664 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005357/1, allocations: 128 kB / 0.9666 GB, free: 15.12 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.001202/1.001, allocations: 441.5 kB / 0.967 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009772/1.002, allocations: 470.4 kB / 0.9674 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.002, allocations: 0 / 0.9674 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003208/1.003, allocations: 250.6 kB / 0.9677 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.004, allocations: 249.2 kB / 0.9679 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/1.006, allocations: 1.055 MB / 0.9689 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/1.006, allocations: 0.8465 MB / 0.9698 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/1.006, allocations: 43.42 kB / 0.9698 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of SimCode: time 8.81e-07/1.006, allocations: 0 / 0.9698 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of Templates: time 0.01368/1.02, allocations: 9.261 MB / 0.9789 GB, free: 2.824 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 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)