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 2.53/2.53, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 179.3 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 91.28 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 14.98 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1543, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.03366/0.188, allocations: 30.91 MB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7422/0.9302, allocations: 135.6 MB / 1.141 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.9335, allocations: 48.09 kB / 1.141 GB, free: 14.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.9367, allocations: 0.5203 MB / 1.142 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/0.9471, allocations: 1.684 MB / 1.144 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009274/0.9565, allocations: 1.798 MB / 1.145 GB, free: 13.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.968, allocations: 6.834 MB / 1.152 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008541/0.9766, allocations: 4.555 MB / 1.156 GB, free: 7.531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006818/0.9834, allocations: 2.775 MB / 1.159 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005304/0.9888, allocations: 2.303 MB / 1.161 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.9899, allocations: 176.5 kB / 1.162 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005175/0.9951, allocations: 0.992 MB / 1.163 GB, free: 4.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002149/0.9973, allocations: 0.9122 MB / 1.163 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.9999, allocations: 1.041 MB / 1.164 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/1.011, allocations: 6.85 MB / 1.171 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.806e-06/1.011, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.418e-06/1.011, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002026/1.011, allocations: 3.938 kB / 1.171 GB, free: 14.14 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.01315/1.025, allocations: 4.943 MB / 1.176 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/1.025, allocations: 10.25 kB / 1.176 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.035, allocations: 1.423 MB / 1.177 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/1.048, allocations: 4.638 MB / 1.182 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/1.048, allocations: 296.2 kB / 1.182 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/1.049, allocations: 397.8 kB / 1.183 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/1.066, allocations: 5.776 MB / 1.188 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/1.066, allocations: 15.78 kB / 1.188 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006872/1.066, allocations: 176 kB / 1.188 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/1.067, allocations: 181.6 kB / 1.189 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/1.087, allocations: 5.576 MB / 1.194 GB, free: 12.53 MB / 0.7292 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.04544/1.132, allocations: 20.51 MB / 1.214 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/1.143, allocations: 3.656 MB / 1.218 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003186/1.146, allocations: 1.907 MB / 1.219 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006698/1.153, allocations: 2.091 MB / 1.221 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 9.997e-06/1.153, allocations: 0 / 1.221 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.01897/1.172, allocations: 5.121 MB / 1.226 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/1.172, allocations: 239.7 kB / 1.227 GB, free: 9.711 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/1.181, allocations: 3.738 MB / 1.23 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006335/1.181, allocations: 77.7 kB / 1.23 GB, free: 5.906 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.184, allocations: 2.03 MB / 1.232 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001567/1.186, allocations: 0.9088 MB / 1.233 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000297/1.186, allocations: 52 kB / 1.233 GB, free: 2.887 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003423/1.187, allocations: 428 kB / 1.234 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005307/1.192, allocations: 1.548 MB / 1.235 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008631/1.201, allocations: 2.219 MB / 1.237 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/1.212, allocations: 1.883 MB / 1.239 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-05/1.212, allocations: 8 kB / 1.239 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.02794/1.24, allocations: 4.368 MB / 1.244 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.006329/1.247, allocations: 7.515 MB / 1.251 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.247, allocations: 16 kB / 1.251 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.248, allocations: 120.7 kB / 1.251 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/1.259, allocations: 0.8112 MB / 1.252 GB, free: 15 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/1.265, allocations: 2.161 MB / 1.254 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.275, allocations: 0.5236 MB / 1.254 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.276, allocations: 143.9 kB / 1.255 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.276, allocations: 5.562 kB / 1.255 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01762/1.294, allocations: 4.027 MB / 1.259 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.29e-05/1.294, allocations: 20.06 kB / 1.259 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/1.295, allocations: 116.7 kB / 1.259 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.3, allocations: 0.7957 MB / 1.259 GB, free: 7.008 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/1.303, allocations: 1.59 MB / 1.261 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005275/1.308, allocations: 492.8 kB / 1.261 GB, free: 4.801 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007409/1.309, allocations: 147.9 kB / 1.262 GB, free: 4.656 MB / 0.7917 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.004077/1.313, allocations: 1.532 MB / 1.263 GB, free: 3.113 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.314, allocations: 387.3 kB / 1.263 GB, free: 2.73 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01553/1.33, allocations: 4.389 MB / 1.268 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/1.33, allocations: 28 kB / 1.268 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.33, allocations: 4 kB / 1.268 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01189/1.342, allocations: 3.516 MB / 1.271 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/1.368, allocations: 8.957 MB / 1.28 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.368, allocations: 0 / 1.28 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004844/1.373, allocations: 0.6398 MB / 1.281 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006768/1.374, allocations: 88.78 kB / 1.281 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000517/1.374, allocations: 87.92 kB / 1.281 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003056/1.377, allocations: 2.165 MB / 1.283 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.401e-06/1.377, allocations: 0 / 1.283 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/1.397, allocations: 6.246 MB / 1.289 GB, free: 8.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/1.401, allocations: 1.081 MB / 1.29 GB, free: 6.984 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.402, allocations: 55.94 kB / 1.29 GB, free: 6.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005066/1.407, allocations: 324.6 kB / 1.29 GB, free: 6.613 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006578/1.408, allocations: 174 kB / 1.291 GB, free: 6.441 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005154/1.408, allocations: 131.9 kB / 1.291 GB, free: 6.312 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006137/1.415, allocations: 2.655 MB / 1.293 GB, free: 3.676 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.494e-06/1.415, allocations: 0 / 1.293 GB, free: 3.676 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009004/1.424, allocations: 2.306 MB / 1.295 GB, free: 1.363 MB / 0.823 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.003154/1.427, allocations: 0.8662 MB / 1.296 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02037/1.447, allocations: 6.148 MB / 1.302 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.637e-06/1.447, allocations: 5 kB / 1.302 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006319/1.454, allocations: 2.003 MB / 1.304 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/1.465, allocations: 2.016 MB / 1.306 GB, free: 6.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.492, allocations: 11.48 MB / 1.317 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005092/1.497, allocations: 3.182 MB / 1.321 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01162/1.508, allocations: 2.136 MB / 1.323 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/1.51, allocations: 399.2 kB / 1.323 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of SimCode: time 1.762e-06/1.511, allocations: 0 / 1.323 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of Templates: time 0.1883/1.699, allocations: 79.89 MB / 1.401 GB, free: 5.629 MB / 0.9323 GB