Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.736/1.736, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 180.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007964, allocations: 97.91 kB / 0.7808 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 8 kB / 0.9088 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8354, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/6.102, allocations: 2.196 GB / 3.222 GB, free: 79.5 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/6.102, allocations: 100.5 kB / 3.222 GB, free: 79.4 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.014/12.12, allocations: 1.323 GB / 4.545 GB, free: 131.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.673e-06/12.12, allocations: 3.469 kB / 4.545 GB, free: 131.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0007761/12.12, allocations: 93.17 kB / 4.545 GB, free: 131.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.01658/12.13, allocations: 4.102 MB / 4.549 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/12.13, allocations: 9.688 kB / 4.549 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008983/12.14, allocations: 1.132 MB / 4.55 GB, free: 129.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/12.16, allocations: 4.612 MB / 4.555 GB, free: 129 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003727/12.16, allocations: 185.4 kB / 4.555 GB, free: 129 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/12.16, allocations: 248.7 kB / 4.555 GB, free: 129 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/12.17, allocations: 3.094 MB / 4.558 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.609e-05/12.17, allocations: 13.94 kB / 4.558 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/12.17, allocations: 99.52 kB / 4.558 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/12.17, allocations: 103.1 kB / 4.558 GB, free: 128.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005074/12.18, allocations: 2.557 MB / 4.561 GB, free: 128.5 MB / 0.9948 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.02719/12.21, allocations: 13.05 MB / 4.574 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/12.21, allocations: 2.316 MB / 4.576 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/12.21, allocations: 0.9885 MB / 4.577 GB, free: 122.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/12.23, allocations: 4.27 MB / 4.581 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001591/12.23, allocations: 0.9877 MB / 4.582 GB, free: 121.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002077/12.23, allocations: 181.1 kB / 4.582 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=144): time 4.739e-06/12.23, allocations: 0 / 4.582 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=148): time 0.01462/12.24, allocations: 5.977 MB / 4.588 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.069e-05/12.24, allocations: 72.86 kB / 4.588 GB, free: 119.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008399/12.25, allocations: 2.868 MB / 4.591 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/12.25, allocations: 67.42 kB / 4.591 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/12.26, allocations: 1.5 MB / 4.592 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/12.26, allocations: 0.5195 MB / 4.593 GB, free: 118 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/12.26, allocations: 40.41 kB / 4.593 GB, free: 118 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002591/12.26, allocations: 390.1 kB / 4.593 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/12.26, allocations: 0.9081 MB / 4.594 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/12.26, allocations: 1.539 MB / 4.596 GB, free: 117 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/12.27, allocations: 2.411 MB / 4.598 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/12.27, allocations: 4.969 kB / 4.598 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.007783/12.28, allocations: 3.023 MB / 4.601 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004612/12.28, allocations: 0.5966 MB / 4.602 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.141e-05/12.28, allocations: 16.88 kB / 4.602 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002469/12.28, allocations: 454.3 kB / 4.602 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/12.28, allocations: 471.1 kB / 4.602 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/12.28, allocations: 2.674 MB / 4.605 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/12.29, allocations: 230.7 kB / 4.605 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/12.29, allocations: 116.6 kB / 4.605 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/12.29, allocations: 4.031 kB / 4.605 GB, free: 113.5 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006305/12.3, allocations: 2.71 MB / 4.608 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/12.3, allocations: 16.56 kB / 4.608 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002155/12.3, allocations: 462.2 kB / 4.608 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/12.3, allocations: 457.7 kB / 4.609 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/12.3, allocations: 2.7 MB / 4.612 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003879/12.31, allocations: 193.5 kB / 4.612 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00037/12.31, allocations: 108.1 kB / 4.612 GB, free: 111.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 251 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {5 6} Notification: Performance of prepare postOptimizeDAE: time 0.003381/12.31, allocations: 1.091 MB / 4.613 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/12.31, allocations: 303.3 kB / 4.613 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005515/12.32, allocations: 2.811 MB / 4.616 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/12.32, allocations: 16.88 kB / 4.616 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/12.32, allocations: 2.906 kB / 4.616 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003209/12.32, allocations: 2.47 MB / 4.618 GB, free: 109.6 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.01228/12.33, allocations: 5.604 MB / 4.624 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/12.33, allocations: 0 / 4.624 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/12.33, allocations: 303 kB / 4.624 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005267/12.34, allocations: 206.8 kB / 4.624 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/12.34, allocations: 49.92 kB / 4.624 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/12.34, allocations: 8.273 MB / 4.632 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/12.34, allocations: 3.609 kB / 4.632 GB, free: 101.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006346/12.35, allocations: 3.762 MB / 4.636 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/12.35, allocations: 0.631 MB / 4.637 GB, free: 99.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/12.35, allocations: 38.92 kB / 4.637 GB, free: 99.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/12.35, allocations: 134.8 kB / 4.637 GB, free: 99.86 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/12.35, allocations: 112.2 kB / 4.637 GB, free: 99.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/12.35, allocations: 73.36 kB / 4.637 GB, free: 99.86 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003352/12.36, allocations: 1.936 MB / 4.639 GB, free: 99.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.51e-07/12.36, allocations: 0 / 4.639 GB, free: 99.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007698/12.36, allocations: 1.692 MB / 4.641 GB, free: 99.64 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004187/12.37, allocations: 2.122 MB / 4.643 GB, free: 99.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00833/12.38, allocations: 3.887 MB / 4.646 GB, free: 98.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/12.38, allocations: 0 / 4.646 GB, free: 98.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/12.38, allocations: 1.636 MB / 4.648 GB, free: 98.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/12.39, allocations: 1.655 MB / 4.65 GB, free: 98.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/12.41, allocations: 7.758 MB / 4.657 GB, free: 94.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004055/12.41, allocations: 2.368 MB / 4.66 GB, free: 94.11 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006655/12.42, allocations: 1.156 MB / 4.661 GB, free: 93.99 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/12.42, allocations: 258.8 kB / 4.661 GB, free: 93.98 MB / 0.9948 GB Notification: Performance of SimCode: time 9.02e-07/12.42, allocations: 0 / 4.661 GB, free: 93.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.1408/12.56, allocations: 81.17 MB / 4.74 GB, free: 87.89 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)