Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.555/4.555, allocations: 0.5623 GB / 0.577 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002382, allocations: 358.1 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.886/3.886, allocations: 410.7 MB / 1.112 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001763, allocations: 199.7 kB / 1.225 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004699, allocations: 12 kB / 1.348 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5699, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03325/0.6032, allocations: 33.66 MB / 1.494 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.7495, allocations: 145.3 MB / 1.635 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.7518, allocations: 47.69 kB / 1.636 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.7533, allocations: 0.4888 MB / 1.636 GB, free: 104.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.7588, allocations: 1.699 MB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/0.7644, allocations: 1.79 MB / 1.639 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.7762, allocations: 13.35 MB / 1.652 GB, free: 87.87 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005908/0.7822, allocations: 4.561 MB / 1.657 GB, free: 83.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.7874, allocations: 3.069 MB / 1.66 GB, free: 80.22 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/0.7919, allocations: 3.115 MB / 1.663 GB, free: 77.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.7926, allocations: 180 kB / 1.663 GB, free: 76.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003184/0.7958, allocations: 0.9708 MB / 1.664 GB, free: 75.94 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0009649/0.7968, allocations: 0.9412 MB / 1.665 GB, free: 75 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.7982, allocations: 1.042 MB / 1.666 GB, free: 73.95 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.8053, allocations: 6.889 MB / 1.673 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8053, allocations: 4 kB / 1.673 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.19e-06/0.8054, allocations: 0 / 1.673 GB, free: 67.04 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001134/0.8055, allocations: 0 / 1.673 GB, free: 67.04 MB / 0.8542 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.01023/0.8157, allocations: 4.937 MB / 1.678 GB, free: 62.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.8158, allocations: 8.031 kB / 1.678 GB, free: 62.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009055/0.8248, allocations: 1.43 MB / 1.679 GB, free: 60.58 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.8363, allocations: 5.126 MB / 1.684 GB, free: 55.39 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.8366, allocations: 299.9 kB / 1.684 GB, free: 55.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008058/0.8374, allocations: 395.9 kB / 1.685 GB, free: 54.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.85, allocations: 5.815 MB / 1.69 GB, free: 48.71 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001071/0.8501, allocations: 19.84 kB / 1.69 GB, free: 48.69 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005427/0.8507, allocations: 164 kB / 1.69 GB, free: 48.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001641/0.8508, allocations: 187.6 kB / 1.691 GB, free: 48.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.8651, allocations: 5.572 MB / 1.696 GB, free: 42.77 MB / 0.8542 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.03194/0.8971, allocations: 20.21 MB / 1.716 GB, free: 21.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00852/0.9056, allocations: 3.611 MB / 1.719 GB, free: 18.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004376/0.9101, allocations: 1.915 MB / 1.721 GB, free: 16.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002253/0.9123, allocations: 1.942 MB / 1.723 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005261/0.9176, allocations: 2.089 MB / 1.725 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=267): time 7.953e-06/0.9177, allocations: 0 / 1.725 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=267): time 0.01466/0.9324, allocations: 5.173 MB / 1.73 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.9325, allocations: 235.7 kB / 1.73 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005472/0.938, allocations: 3.41 MB / 1.734 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000552/0.9386, allocations: 81.7 kB / 1.734 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.9404, allocations: 2.038 MB / 1.736 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.5183/1.459, allocations: 0.9037 MB / 1.737 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/1.459, allocations: 58.59 kB / 1.737 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.459, allocations: 436.3 kB / 1.737 GB, free: 263.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004974/1.464, allocations: 1.58 MB / 1.739 GB, free: 263 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005628/1.47, allocations: 2.247 MB / 1.741 GB, free: 262.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005797/1.476, allocations: 1.91 MB / 1.743 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/1.476, allocations: 5.062 kB / 1.743 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01419/1.49, allocations: 4.449 MB / 1.747 GB, free: 260 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000345/1.49, allocations: 0.6095 MB / 1.748 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.012e-05/1.49, allocations: 17.22 kB / 1.748 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/1.491, allocations: 114.5 kB / 1.748 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/1.497, allocations: 0.7887 MB / 1.749 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/1.499, allocations: 2.16 MB / 1.751 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005361/1.504, allocations: 486.7 kB / 1.751 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/1.505, allocations: 152.1 kB / 1.751 GB, free: 257 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.505, allocations: 7.938 kB / 1.751 GB, free: 257 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01233/1.517, allocations: 4.11 MB / 1.755 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/1.517, allocations: 17.66 kB / 1.755 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/1.518, allocations: 114.2 kB / 1.756 GB, free: 255.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005087/1.523, allocations: 0.7706 MB / 1.756 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.525, allocations: 1.568 MB / 1.758 GB, free: 254 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/1.53, allocations: 444.1 kB / 1.758 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/1.531, allocations: 149.4 kB / 1.758 GB, free: 253.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 377 * 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.003178/1.534, allocations: 1.543 MB / 1.76 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008528/1.535, allocations: 389.7 kB / 1.76 GB, free: 252.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.548, allocations: 4.413 MB / 1.765 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.725e-05/1.549, allocations: 31.48 kB / 1.765 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.549, allocations: 0.625 kB / 1.765 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/1.559, allocations: 3.538 MB / 1.768 GB, free: 247.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/1.579, allocations: 8.831 MB / 1.777 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.579, allocations: 4 kB / 1.777 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/1.584, allocations: 0.6394 MB / 1.777 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00068/1.585, allocations: 96.42 kB / 1.777 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/1.585, allocations: 83.92 kB / 1.777 GB, free: 238 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.587, allocations: 2.166 MB / 1.78 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.587, allocations: 4.031 kB / 1.78 GB, free: 235.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/1.604, allocations: 6.083 MB / 1.786 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.606, allocations: 0.9754 MB / 1.786 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008063/1.607, allocations: 59.98 kB / 1.787 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004457/1.612, allocations: 337.7 kB / 1.787 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.612, allocations: 170 kB / 1.787 GB, free: 228 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003552/1.612, allocations: 131.9 kB / 1.787 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003854/1.616, allocations: 2.39 MB / 1.789 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.91e-07/1.616, allocations: 0 / 1.789 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006319/1.623, allocations: 2.258 MB / 1.792 GB, free: 223.3 MB / 0.8542 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.002506/1.625, allocations: 0.8627 MB / 1.793 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01512/1.64, allocations: 6.225 MB / 1.799 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.64, allocations: 5 kB / 1.799 GB, free: 216.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/1.645, allocations: 1.976 MB / 1.801 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.655, allocations: 2.07 MB / 1.803 GB, free: 212.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.675, allocations: 11.46 MB / 1.814 GB, free: 201 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/1.678, allocations: 3.172 MB / 1.817 GB, free: 197.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009308/1.687, allocations: 2.039 MB / 1.819 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.689, allocations: 387.2 kB / 1.819 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.645e-06/1.689, allocations: 0 / 1.819 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.146/1.835, allocations: 78.46 MB / 1.896 GB, free: 118 MB / 0.8542 GB