Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.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.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System4") translateModel(Buildings.Examples.Tutorial.Boiler.System4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 99.98 kB / 16.37 MB, free: 6.477 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.001339/0.001339, allocations: 193.4 kB / 17.32 MB, free: 5.82 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.331/1.331, 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.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001652/0.001652, allocations: 74.86 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2354, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.428/1.663, allocations: 0.5094 GB / 1.294 GB, free: 47.6 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0878/1.751, allocations: 68.92 MB / 1.361 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01984/1.771, allocations: 408.7 kB / 1.362 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0175/1.788, allocations: 4.963 MB / 1.367 GB, free: 10.39 MB / 0.92 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.04557/1.834, allocations: 13.04 MB / 1.379 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.03739/1.872, allocations: 11.15 MB / 1.39 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.05245/1.924, allocations: 30.71 MB / 1.42 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02134/1.945, allocations: 10.97 MB / 1.431 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.031/1.976, allocations: 11.55 MB / 1.442 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/1.996, allocations: 8.608 MB / 1.451 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004865/2.001, allocations: 1.066 MB / 1.452 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02025/2.021, allocations: 6.045 MB / 1.458 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006289/2.028, allocations: 3.037 MB / 1.461 GB, free: 12.01 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01668/2.044, allocations: 6.268 MB / 1.467 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.03602/2.081, allocations: 18.05 MB / 1.484 GB, free: 3.613 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/2.081, allocations: 3.984 kB / 1.484 GB, free: 3.609 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/2.081, allocations: 4 kB / 1.484 GB, free: 3.605 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0007052/2.081, allocations: 0 / 1.484 GB, free: 3.605 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1624 * Number of variables: 1624 Notification: Performance of Generate backend data structure: time 0.03811/2.119, allocations: 12.19 MB / 1.496 GB, free: 7.289 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.983e-05/2.12, allocations: 8.031 kB / 1.496 GB, free: 7.281 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/2.131, allocations: 1.833 MB / 1.498 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0279/2.159, allocations: 9.556 MB / 1.507 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006768/2.16, allocations: 0.4967 MB / 1.508 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/2.163, allocations: 0.6795 MB / 1.509 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0228/2.186, allocations: 7.68 MB / 1.516 GB, free: 2.598 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/2.186, allocations: 27.78 kB / 1.516 GB, free: 2.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001965/2.188, allocations: 268 kB / 1.516 GB, free: 2.309 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/2.188, allocations: 252.1 kB / 1.517 GB, free: 2.059 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01505/2.203, allocations: 5.836 MB / 1.522 GB, free: 12.2 MB / 1.076 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.9255/3.129, allocations: 38.14 MB / 1.56 GB, free: 440.1 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005941/3.135, allocations: 3.913 MB / 1.563 GB, free: 439.4 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/3.138, allocations: 2.064 MB / 1.565 GB, free: 439.4 MB / 1.092 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 evalFunc (simulation): time 0.02486/3.163, allocations: 9.419 MB / 1.575 GB, free: 434.3 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004318/3.168, allocations: 2.091 MB / 1.577 GB, free: 433.6 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003775/3.172, allocations: 318.5 kB / 1.577 GB, free: 433.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=329): time 1.858e-05/3.172, allocations: 0 / 1.577 GB, free: 433.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=338): time 0.03574/3.207, allocations: 12.74 MB / 1.589 GB, free: 428.6 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/3.207, allocations: 372.2 kB / 1.59 GB, free: 428.2 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01916/3.227, allocations: 7.751 MB / 1.597 GB, free: 425.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001338/3.228, allocations: 120.2 kB / 1.597 GB, free: 425.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.008558/3.237, allocations: 4.607 MB / 1.602 GB, free: 422 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.003789/3.24, allocations: 1.187 MB / 1.603 GB, free: 421.1 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005616/3.246, allocations: 1.035 MB / 1.604 GB, free: 420.6 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001009/3.246, allocations: 305.7 kB / 1.604 GB, free: 420.3 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/3.251, allocations: 1.984 MB / 1.606 GB, free: 419.6 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/3.257, allocations: 3.636 MB / 1.61 GB, free: 416.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008506/3.265, allocations: 5.24 MB / 1.615 GB, free: 413.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-05/3.265, allocations: 13.5 kB / 1.615 GB, free: 413.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=638) (initialization): time 0.02016/3.286, allocations: 7.318 MB / 1.622 GB, free: 411.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/3.286, allocations: 21.31 kB / 1.622 GB, free: 411.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-05/3.286, allocations: 47.77 kB / 1.622 GB, free: 411.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/3.295, allocations: 1.699 MB / 1.624 GB, free: 411.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/3.3, allocations: 1.051 MB / 1.625 GB, free: 411 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00755/3.307, allocations: 6.645 MB / 1.631 GB, free: 405.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008442/3.316, allocations: 317.2 kB / 1.632 GB, free: 405.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/3.317, allocations: 233.1 kB / 1.632 GB, free: 405.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008429/3.325, allocations: 3.674 MB / 1.635 GB, free: 403.9 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004437/3.33, allocations: 3.531 MB / 1.639 GB, free: 401.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006745/3.336, allocations: 5.033 MB / 1.644 GB, free: 397.9 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-05/3.337, allocations: 11.59 kB / 1.644 GB, free: 397.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=638) (initialization_lambda0): time 0.01562/3.352, allocations: 6.8 MB / 1.65 GB, free: 394.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/3.352, allocations: 28.02 kB / 1.651 GB, free: 394.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.252e-05/3.352, allocations: 49.23 kB / 1.651 GB, free: 394.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007812/3.36, allocations: 1.486 MB / 1.652 GB, free: 393.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/3.365, allocations: 1.025 MB / 1.653 GB, free: 393.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/3.376, allocations: 8.972 MB / 1.662 GB, free: 386.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009075/3.386, allocations: 360.5 kB / 1.662 GB, free: 386.1 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/3.387, allocations: 231.7 kB / 1.662 GB, free: 386 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.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 (575): * Single equations (assignments): 560 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002321/3.389, allocations: 496.3 kB / 1.663 GB, free: 385.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003691/3.393, allocations: 0.8255 MB / 1.664 GB, free: 385.1 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/3.405, allocations: 5.088 MB / 1.669 GB, free: 382.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006186/3.411, allocations: 3.785 MB / 1.672 GB, free: 380.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/3.411, allocations: 0.6875 kB / 1.672 GB, free: 380.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004448/3.416, allocations: 1.371 MB / 1.674 GB, free: 379.3 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002947/3.419, allocations: 83.58 kB / 1.674 GB, free: 379.3 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006135/3.425, allocations: 208.2 kB / 1.674 GB, free: 379.2 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000792/3.426, allocations: 279 kB / 1.674 GB, free: 378.9 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01147/3.437, allocations: 4.803 MB / 1.679 GB, free: 374.1 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01202/3.449, allocations: 6.578 MB / 1.685 GB, free: 367.5 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002591/3.452, allocations: 1.765 MB / 1.687 GB, free: 365.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01012/3.462, allocations: 5.133 MB / 1.692 GB, free: 360.6 MB / 1.092 GB Notification: Performance of Backend: time 1.032e-06/3.462, allocations: 8 kB / 1.692 GB, free: 360.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0304/3.493, allocations: 9.846 MB / 1.702 GB, free: 351.3 MB / 1.092 GB Notification: Performance of SimCode: time 0.04559/3.538, allocations: 20.44 MB / 1.722 GB, free: 331.1 MB / 1.092 GB Notification: Performance of Templates: time 0.234/3.772, allocations: 186.2 MB / 1.903 GB, free: 146.9 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)