Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.Boiler.System2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.718/4.718, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002558/0.002558, allocations: 361.9 kB / 0.644 GB, free: 21.53 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.485/4.485, allocations: 410.7 MB / 1.112 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001753/0.001753, allocations: 189.1 kB / 1.225 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005032, allocations: 11.28 kB / 1.348 GB, free: 320.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1739, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.1901/0.364, allocations: 189.9 MB / 1.646 GB, free: 30.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.02812/0.3922, allocations: 18.57 MB / 1.664 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.3956, allocations: 75.5 kB / 1.664 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.3995, allocations: 1.033 MB / 1.665 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.4099, allocations: 3.203 MB / 1.669 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.4208, allocations: 3.324 MB / 1.672 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.628/1.049, allocations: 11.34 MB / 1.683 GB, free: 16.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005745/1.055, allocations: 2.866 MB / 1.686 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/1.062, allocations: 2.741 MB / 1.688 GB, free: 16.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005869/1.068, allocations: 2.681 MB / 1.691 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/1.069, allocations: 148.5 kB / 1.691 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00642/1.075, allocations: 1.52 MB / 1.693 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002379/1.078, allocations: 0.882 MB / 1.693 GB, free: 16.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/1.08, allocations: 0.7735 MB / 1.694 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00891/1.089, allocations: 5.193 MB / 1.699 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.684e-06/1.089, allocations: 3.25 kB / 1.699 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.841e-06/1.089, allocations: 0 / 1.699 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001719/1.09, allocations: 4.781 kB / 1.699 GB, free: 15.71 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01017/1.1, allocations: 3.83 MB / 1.703 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.1, allocations: 10.31 kB / 1.703 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007419/1.107, allocations: 0.9738 MB / 1.704 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.119, allocations: 3.789 MB / 1.708 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/1.119, allocations: 182.3 kB / 1.708 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008191/1.12, allocations: 253.3 kB / 1.708 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/1.13, allocations: 3.2 MB / 1.711 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/1.13, allocations: 3.344 kB / 1.711 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006736/1.131, allocations: 102.7 kB / 1.711 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/1.131, allocations: 107.6 kB / 1.711 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/1.142, allocations: 2.637 MB / 1.714 GB, free: 12.64 MB / 0.8073 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.03741/1.179, allocations: 13.24 MB / 1.727 GB, free: 23.17 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/1.183, allocations: 2.162 MB / 1.729 GB, free: 22.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/1.186, allocations: 0.9514 MB / 1.73 GB, free: 22.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01418/1.2, allocations: 4.539 MB / 1.734 GB, free: 21.19 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002427/1.202, allocations: 0.9348 MB / 1.735 GB, free: 21.12 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001769/1.204, allocations: 181.8 kB / 1.735 GB, free: 21.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=130): time 6.812e-06/1.204, allocations: 0 / 1.735 GB, free: 21.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=134): time 0.01656/1.221, allocations: 5.471 MB / 1.741 GB, free: 19.56 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.221, allocations: 143.1 kB / 1.741 GB, free: 19.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006016/1.227, allocations: 2.928 MB / 1.744 GB, free: 19.12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.227, allocations: 62.36 kB / 1.744 GB, free: 19.09 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001845/1.229, allocations: 1.527 MB / 1.745 GB, free: 18.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007652/1.23, allocations: 483.9 kB / 1.746 GB, free: 18.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.23, allocations: 40.12 kB / 1.746 GB, free: 18.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002613/1.231, allocations: 390.1 kB / 1.746 GB, free: 17.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/1.234, allocations: 0.9879 MB / 1.747 GB, free: 17.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/1.237, allocations: 1.589 MB / 1.749 GB, free: 17.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/1.241, allocations: 1.22 MB / 1.75 GB, free: 17.24 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.37e-05/1.241, allocations: 5.469 kB / 1.75 GB, free: 17.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01193/1.253, allocations: 3.396 MB / 1.753 GB, free: 16.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000321/1.253, allocations: 0.5479 MB / 1.754 GB, free: 16.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/1.253, allocations: 17.44 kB / 1.754 GB, free: 16.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008511/1.262, allocations: 1.186 MB / 1.755 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.265, allocations: 480.6 kB / 1.755 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/1.272, allocations: 3.15 MB / 1.758 GB, free: 13.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.276, allocations: 240.7 kB / 1.759 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/1.277, allocations: 105.2 kB / 1.759 GB, free: 13.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.277, allocations: 2.906 kB / 1.759 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/1.288, allocations: 3.046 MB / 1.762 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-05/1.288, allocations: 19.56 kB / 1.762 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008512/1.296, allocations: 1.218 MB / 1.763 GB, free: 12.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/1.299, allocations: 460.8 kB / 1.763 GB, free: 12.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/1.306, allocations: 3.151 MB / 1.767 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.31, allocations: 227 kB / 1.767 GB, free: 9.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005109/1.31, allocations: 95.06 kB / 1.767 GB, free: 9.902 MB / 0.823 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.002763/1.313, allocations: 1.093 MB / 1.768 GB, free: 9.551 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/1.314, allocations: 306.6 kB / 1.768 GB, free: 9.395 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/1.32, allocations: 2.303 MB / 1.77 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/1.32, allocations: 17.22 kB / 1.77 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.32, allocations: 4.125 kB / 1.77 GB, free: 8.812 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004606/1.325, allocations: 1.991 MB / 1.772 GB, free: 8.125 MB / 0.823 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.01944/1.344, allocations: 5.083 MB / 1.777 GB, free: 6.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.344, allocations: 4.156 kB / 1.777 GB, free: 6.504 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004086/1.349, allocations: 296.7 kB / 1.778 GB, free: 6.449 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/1.351, allocations: 280.3 kB / 1.778 GB, free: 6.328 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005238/1.351, allocations: 46.41 kB / 1.778 GB, free: 6.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.367, allocations: 8.661 MB / 1.786 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.178e-06/1.368, allocations: 2.75 kB / 1.786 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.382, allocations: 3.207 MB / 1.79 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004019/1.387, allocations: 0.6007 MB / 1.79 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/1.388, allocations: 42.27 kB / 1.79 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005946/1.394, allocations: 167.5 kB / 1.79 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/1.395, allocations: 105.5 kB / 1.79 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004812/1.395, allocations: 74.53 kB / 1.791 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.008134/1.404, allocations: 1.968 MB / 1.792 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.446e-06/1.404, allocations: 2.625 kB / 1.792 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01459/1.418, allocations: 1.594 MB / 1.794 GB, free: 12.53 MB / 0.8386 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 (140): * Single equations (assignments): 126 * 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.003125/1.421, allocations: 0.8584 MB / 1.795 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01599/1.437, allocations: 4.355 MB / 1.799 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.437, allocations: 5.5 kB / 1.799 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.441, allocations: 1.589 MB / 1.801 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01114/1.452, allocations: 1.688 MB / 1.802 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.47, allocations: 7.784 MB / 1.81 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.474, allocations: 2.443 MB / 1.812 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006123/1.48, allocations: 1.109 MB / 1.813 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.481, allocations: 250.9 kB / 1.814 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of SimCode: time 1.789e-06/1.481, allocations: 0 / 1.814 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.1646/1.646, allocations: 70.52 MB / 1.882 GB, free: 7.758 MB / 0.9167 GB