Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 178.2 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.549/2.549, allocations: 205.4 MB / 0.5766 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 103.1 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 16.25 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2394, allocations: 106.2 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.04412/0.2836, allocations: 30.91 MB / 0.929 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9763/1.26, allocations: 135.6 MB / 1.061 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/1.263, allocations: 47.94 kB / 1.062 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002861/1.266, allocations: 0.5219 MB / 1.062 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007795/1.274, allocations: 1.687 MB / 1.064 GB, free: 4.098 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007963/1.282, allocations: 1.74 MB / 1.065 GB, free: 4.074 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01566/1.297, allocations: 6.819 MB / 1.072 GB, free: 4.062 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01404/1.311, allocations: 4.53 MB / 1.076 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008755/1.32, allocations: 2.764 MB / 1.079 GB, free: 19.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006891/1.327, allocations: 2.298 MB / 1.081 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.329, allocations: 173.2 kB / 1.082 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006885/1.336, allocations: 0.9832 MB / 1.083 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00267/1.338, allocations: 0.903 MB / 1.083 GB, free: 19.44 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003525/1.342, allocations: 1.041 MB / 1.084 GB, free: 19.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01203/1.354, allocations: 6.789 MB / 1.091 GB, free: 19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.354, allocations: 1.75 kB / 1.091 GB, free: 19 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.627e-06/1.354, allocations: 0 / 1.091 GB, free: 19 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002896/1.354, allocations: 0 / 1.091 GB, free: 19 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.01927/1.374, allocations: 4.944 MB / 1.096 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.374, allocations: 11 kB / 1.096 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0326/1.406, allocations: 1.417 MB / 1.097 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03832/1.445, allocations: 4.61 MB / 1.102 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005261/1.445, allocations: 304.7 kB / 1.102 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002396/1.448, allocations: 399.6 kB / 1.102 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02504/1.473, allocations: 5.731 MB / 1.108 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/1.473, allocations: 18.52 kB / 1.108 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001535/1.475, allocations: 171.1 kB / 1.108 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002547/1.475, allocations: 178.4 kB / 1.108 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/1.499, allocations: 5.571 MB / 1.114 GB, free: 12.54 MB / 0.7136 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.05429/1.554, allocations: 20.45 MB / 1.134 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.568, allocations: 3.668 MB / 1.137 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00424/1.572, allocations: 1.908 MB / 1.139 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008921/1.581, allocations: 2.044 MB / 1.141 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=267): time 6.913e-06/1.581, allocations: 0 / 1.141 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=267): time 0.02318/1.604, allocations: 5.122 MB / 1.146 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/1.604, allocations: 234.9 kB / 1.146 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.615, allocations: 3.735 MB / 1.15 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000963/1.616, allocations: 75.64 kB / 1.15 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.619, allocations: 2.035 MB / 1.152 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.621, allocations: 0.9042 MB / 1.153 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/1.621, allocations: 57.88 kB / 1.153 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003659/1.622, allocations: 428.5 kB / 1.154 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007148/1.629, allocations: 1.542 MB / 1.155 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008044/1.637, allocations: 2.22 MB / 1.157 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008084/1.645, allocations: 1.894 MB / 1.159 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-05/1.645, allocations: 4 kB / 1.159 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01969/1.665, allocations: 4.365 MB / 1.163 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003619/1.669, allocations: 7.523 MB / 1.171 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.526e-05/1.669, allocations: 20 kB / 1.171 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.67, allocations: 115.3 kB / 1.171 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008276/1.678, allocations: 0.8096 MB / 1.172 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/1.682, allocations: 2.176 MB / 1.174 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007801/1.69, allocations: 0.5231 MB / 1.174 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001031/1.691, allocations: 143.2 kB / 1.174 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.691, allocations: 4 kB / 1.174 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01891/1.71, allocations: 4.026 MB / 1.178 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/1.71, allocations: 16 kB / 1.178 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/1.711, allocations: 119.2 kB / 1.178 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00808/1.719, allocations: 0.797 MB / 1.179 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/1.722, allocations: 1.583 MB / 1.181 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007605/1.73, allocations: 500 kB / 1.181 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.731, allocations: 148.8 kB / 1.181 GB, free: 15.65 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005431/1.737, allocations: 1.524 MB / 1.183 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.739, allocations: 383.3 kB / 1.183 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02112/1.76, allocations: 4.39 MB / 1.187 GB, free: 11.22 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/1.76, allocations: 32 kB / 1.188 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.76, allocations: 0 / 1.188 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01611/1.776, allocations: 3.503 MB / 1.191 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03387/1.81, allocations: 8.919 MB / 1.2 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.81, allocations: 0 / 1.2 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00724/1.817, allocations: 0.6388 MB / 1.2 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009838/1.818, allocations: 88.53 kB / 1.2 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008091/1.819, allocations: 94.59 kB / 1.2 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/1.823, allocations: 2.167 MB / 1.203 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.823, allocations: 1.969 kB / 1.203 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/1.849, allocations: 6.246 MB / 1.209 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004446/1.853, allocations: 1.057 MB / 1.21 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/1.855, allocations: 59.73 kB / 1.21 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007575/1.863, allocations: 333.8 kB / 1.21 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009976/1.864, allocations: 176.2 kB / 1.21 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006766/1.864, allocations: 121.6 kB / 1.21 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007633/1.872, allocations: 2.64 MB / 1.213 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.81e-07/1.872, allocations: 0 / 1.213 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01233/1.885, allocations: 2.31 MB / 1.215 GB, free: 6.008 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003455/1.888, allocations: 0.8658 MB / 1.216 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02527/1.913, allocations: 6.143 MB / 1.222 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.913, allocations: 0.5625 kB / 1.222 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.008219/1.922, allocations: 2.004 MB / 1.224 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01719/1.939, allocations: 2.018 MB / 1.226 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03515/1.974, allocations: 11.48 MB / 1.237 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006211/1.98, allocations: 3.178 MB / 1.24 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01523/1.996, allocations: 2.13 MB / 1.242 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/1.999, allocations: 394.8 kB / 1.243 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/1.999, allocations: 0 / 1.243 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.2158/2.215, allocations: 79.32 MB / 1.32 GB, free: 15.68 MB / 0.8855 GB