Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.000987/0.000987, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.725/1.725, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.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.0008523/0.0008525, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6776, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2347/0.9124, allocations: 175.6 MB / 0.8995 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.7541/1.667, allocations: 17.64 MB / 0.9167 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005046/1.672, allocations: 69.66 kB / 0.9168 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006244/1.678, allocations: 1.129 MB / 0.9179 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01816/1.696, allocations: 3.018 MB / 0.9208 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01553/1.712, allocations: 3.192 MB / 0.9239 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01676/1.729, allocations: 5.785 MB / 0.9296 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007846/1.736, allocations: 2.87 MB / 0.9324 GB, free: 20.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00929/1.746, allocations: 2.451 MB / 0.9348 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007307/1.753, allocations: 1.928 MB / 0.9367 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001315/1.754, allocations: 145.3 kB / 0.9368 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009024/1.764, allocations: 1.553 MB / 0.9383 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002993/1.767, allocations: 0.8341 MB / 0.9391 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003827/1.77, allocations: 0.7741 MB / 0.9399 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/1.782, allocations: 5.125 MB / 0.9449 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.782, allocations: 0 / 0.9449 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.915e-06/1.782, allocations: 4 kB / 0.9449 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002929/1.783, allocations: 0 / 0.9449 GB, free: 20.52 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0126/1.795, allocations: 3.824 MB / 0.9486 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.795, allocations: 8.094 kB / 0.9486 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007199/1.803, allocations: 0.9653 MB / 0.9496 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.815, allocations: 3.479 MB / 0.953 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/1.815, allocations: 184.7 kB / 0.9532 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.816, allocations: 254.5 kB / 0.9534 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007448/1.824, allocations: 3.15 MB / 0.9565 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/1.824, allocations: 5.688 kB / 0.9565 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/1.824, allocations: 96 kB / 0.9566 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/1.824, allocations: 99.52 kB / 0.9567 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005601/1.83, allocations: 2.629 MB / 0.9592 GB, free: 16.67 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.02927/1.859, allocations: 13.47 MB / 0.9724 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003814/1.863, allocations: 2.176 MB / 0.9745 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/1.876, allocations: 4.691 MB / 0.9791 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/1.878, allocations: 0.907 MB / 0.98 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00215/1.88, allocations: 190.6 kB / 0.9802 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 1.718e-05/1.88, allocations: 0 / 0.9802 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=134): time 0.01559/1.896, allocations: 5.516 MB / 0.9855 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.896, allocations: 147.5 kB / 0.9857 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008363/1.904, allocations: 3.164 MB / 0.9888 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007326/1.905, allocations: 65.05 kB / 0.9888 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00232/1.908, allocations: 1.519 MB / 0.9903 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.909, allocations: 485 kB / 0.9908 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/1.91, allocations: 39.38 kB / 0.9908 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003219/1.91, allocations: 387.6 kB / 0.9912 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/1.913, allocations: 0.9781 MB / 0.9921 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003364/1.916, allocations: 1.569 MB / 0.9937 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/1.92, allocations: 1.218 MB / 0.9949 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/1.92, allocations: 2.906 kB / 0.9949 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01118/1.931, allocations: 3.379 MB / 0.9982 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.003735/1.935, allocations: 6.593 MB / 1.005 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/1.935, allocations: 16.22 kB / 1.005 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007304/1.942, allocations: 1.182 MB / 1.006 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/1.945, allocations: 0.5006 MB / 1.006 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/1.951, allocations: 3.158 MB / 1.009 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005294/1.956, allocations: 277 kB / 1.01 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008516/1.957, allocations: 110.6 kB / 1.01 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.957, allocations: 7.953 kB / 1.01 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009803/1.967, allocations: 3.021 MB / 1.013 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.967, allocations: 19.98 kB / 1.013 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007235/1.975, allocations: 1.224 MB / 1.014 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.977, allocations: 484.1 kB / 1.014 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/1.985, allocations: 3.161 MB / 1.017 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/1.99, allocations: 251.1 kB / 1.018 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007496/1.991, allocations: 101.1 kB / 1.018 GB, free: 12.88 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 {(2,100.0%) 4} * Non-linear torn systems: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.004435/1.996, allocations: 1.08 MB / 1.019 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00209/1.998, allocations: 308.2 kB / 1.019 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00713/2.005, allocations: 2.329 MB / 1.021 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/2.005, allocations: 20 kB / 1.021 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/2.005, allocations: 4 kB / 1.021 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003782/2.009, allocations: 2.007 MB / 1.023 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/2.024, allocations: 5.193 MB / 1.028 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/2.024, allocations: 0 / 1.028 GB, free: 5.027 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/2.026, allocations: 293.2 kB / 1.029 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/2.027, allocations: 343.6 kB / 1.029 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002017/2.027, allocations: 47.72 kB / 1.029 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/2.036, allocations: 9.154 MB / 1.038 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.036, allocations: 4.031 kB / 1.038 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008442/2.044, allocations: 3.325 MB / 1.041 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003089/2.047, allocations: 0.6522 MB / 1.042 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/2.049, allocations: 44.56 kB / 1.042 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003546/2.053, allocations: 183.4 kB / 1.042 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003993/2.053, allocations: 109.4 kB / 1.042 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/2.053, allocations: 67.38 kB / 1.042 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007073/2.06, allocations: 2.162 MB / 1.044 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.01e-07/2.06, allocations: 0 / 1.044 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01076/2.071, allocations: 1.659 MB / 1.046 GB, free: 5.051 MB / 0.7794 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.x[1],pumRad.filter.x[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 (135): * Single equations (assignments): 121 * 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%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/2.074, allocations: 0.8926 MB / 1.047 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01375/2.088, allocations: 4.323 MB / 1.051 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.032e-05/2.088, allocations: 4.438 kB / 1.051 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003167/2.091, allocations: 1.62 MB / 1.053 GB, free: 15.78 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01028/2.102, allocations: 1.661 MB / 1.054 GB, free: 14.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/2.122, allocations: 7.752 MB / 1.062 GB, free: 7.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004686/2.127, allocations: 2.446 MB / 1.064 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.007182/2.134, allocations: 1.109 MB / 1.065 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/2.136, allocations: 257.8 kB / 1.066 GB, free: 3.797 MB / 0.795 GB Notification: Performance of SimCode: time 1.483e-06/2.136, allocations: 4 kB / 1.066 GB, free: 3.793 MB / 0.795 GB Notification: Performance of Templates: time 0.1458/2.281, allocations: 72.11 MB / 1.136 GB, free: 12.74 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: