Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.581/4.581, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.00242/0.00242, allocations: 355.7 kB / 0.644 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.932/3.932, allocations: 410.7 MB / 1.112 GB, free: 5.941 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.001774/0.001774, allocations: 191.4 kB / 1.225 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 11.98 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5693, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.04197/0.6113, allocations: 41.52 MB / 1.501 GB, free: 242.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1482/0.7595, allocations: 147.6 MB / 1.645 GB, free: 95.19 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.7618, allocations: 55.62 kB / 1.645 GB, free: 95.14 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.7632, allocations: 456.7 kB / 1.646 GB, free: 94.69 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00952/0.7727, allocations: 3.398 MB / 1.649 GB, free: 91.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00745/0.7802, allocations: 2.477 MB / 1.652 GB, free: 88.87 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.7922, allocations: 13.77 MB / 1.665 GB, free: 75.07 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005744/0.798, allocations: 4.637 MB / 1.67 GB, free: 70.41 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009504/0.8075, allocations: 5.694 MB / 1.675 GB, free: 64.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/0.8123, allocations: 3.173 MB / 1.678 GB, free: 61.51 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006907/0.813, allocations: 180 kB / 1.678 GB, free: 61.33 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007782/0.8208, allocations: 3.51 MB / 1.682 GB, free: 57.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/0.8222, allocations: 0.9646 MB / 1.683 GB, free: 56.85 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.8238, allocations: 1.054 MB / 1.684 GB, free: 55.79 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008784/0.8326, allocations: 7.513 MB / 1.691 GB, free: 48.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.362e-06/0.8326, allocations: 0 / 1.691 GB, free: 48.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.166e-06/0.8326, allocations: 0 / 1.691 GB, free: 48.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001217/0.8327, allocations: 0 / 1.691 GB, free: 48.25 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01057/0.8433, allocations: 5.119 MB / 1.696 GB, free: 43.06 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.8434, allocations: 8.031 kB / 1.696 GB, free: 43.05 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.8574, allocations: 1.769 MB / 1.698 GB, free: 41.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/0.8714, allocations: 5.951 MB / 1.704 GB, free: 35.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.8717, allocations: 304 kB / 1.704 GB, free: 34.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.8727, allocations: 392 kB / 1.704 GB, free: 34.58 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/0.8865, allocations: 5.925 MB / 1.71 GB, free: 28.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-05/0.8866, allocations: 7.938 kB / 1.71 GB, free: 28.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005934/0.8872, allocations: 168 kB / 1.71 GB, free: 28.29 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/0.8874, allocations: 163.8 kB / 1.71 GB, free: 28.13 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.9029, allocations: 5.682 MB / 1.716 GB, free: 22.45 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.03408/0.937, allocations: 20.7 MB / 1.736 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5225/1.46, allocations: 3.829 MB / 1.74 GB, free: 262.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0053/1.465, allocations: 1.926 MB / 1.742 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003313/1.468, allocations: 2.995 MB / 1.745 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006508/1.475, allocations: 2.146 MB / 1.747 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=284): time 7.917e-06/1.475, allocations: 0 / 1.747 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=284): time 0.02327/1.498, allocations: 6.878 MB / 1.754 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/1.498, allocations: 240.1 kB / 1.754 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005851/1.504, allocations: 3.47 MB / 1.757 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005672/1.505, allocations: 79.67 kB / 1.757 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/1.506, allocations: 2.017 MB / 1.759 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009969/1.507, allocations: 0.9739 MB / 1.76 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.508, allocations: 58.66 kB / 1.76 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.508, allocations: 429.2 kB / 1.761 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004863/1.513, allocations: 1.625 MB / 1.762 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00534/1.518, allocations: 2.252 MB / 1.764 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005663/1.524, allocations: 1.96 MB / 1.766 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-05/1.524, allocations: 4.969 kB / 1.766 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.0136/1.538, allocations: 4.543 MB / 1.771 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/1.538, allocations: 0.544 MB / 1.771 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.538, allocations: 15.98 kB / 1.771 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/1.539, allocations: 112.6 kB / 1.771 GB, free: 244.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/1.543, allocations: 0.806 MB / 1.772 GB, free: 243.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/1.546, allocations: 2.152 MB / 1.774 GB, free: 241 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.551, allocations: 0.5044 MB / 1.775 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000409/1.551, allocations: 167.3 kB / 1.775 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/1.551, allocations: 4 kB / 1.775 GB, free: 240.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/1.562, allocations: 4.196 MB / 1.779 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/1.562, allocations: 12 kB / 1.779 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/1.562, allocations: 117.8 kB / 1.779 GB, free: 236 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/1.567, allocations: 0.7938 MB / 1.78 GB, free: 235.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.568, allocations: 1.568 MB / 1.782 GB, free: 233.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.573, allocations: 475.2 kB / 1.782 GB, free: 233.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/1.574, allocations: 163.9 kB / 1.782 GB, free: 232.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (387): * Single equations (assignments): 385 * 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.002924/1.576, allocations: 1.556 MB / 1.784 GB, free: 231.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/1.577, allocations: 395.2 kB / 1.784 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.592, allocations: 5.092 MB / 1.789 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/1.592, allocations: 28 kB / 1.789 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.121e-06/1.592, allocations: 0 / 1.789 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01322/1.605, allocations: 4.096 MB / 1.793 GB, free: 221.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/1.629, allocations: 9.607 MB / 1.802 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.629, allocations: 0 / 1.802 GB, free: 212 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004731/1.634, allocations: 0.6096 MB / 1.803 GB, free: 211.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004375/1.639, allocations: 0.656 MB / 1.804 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006106/1.639, allocations: 106.9 kB / 1.804 GB, free: 210.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005637/1.645, allocations: 7.536 MB / 1.811 GB, free: 202.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.311e-06/1.645, allocations: 3.938 kB / 1.811 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/1.664, allocations: 6.822 MB / 1.818 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002754/1.667, allocations: 1.028 MB / 1.819 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008069/1.668, allocations: 60 kB / 1.819 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/1.672, allocations: 311.2 kB / 1.819 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004675/1.672, allocations: 190.1 kB / 1.819 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003965/1.673, allocations: 139.9 kB / 1.819 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004095/1.677, allocations: 2.425 MB / 1.822 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.62e-07/1.677, allocations: 0 / 1.822 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008354/1.685, allocations: 2.534 MB / 1.824 GB, free: 189.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/1.688, allocations: 1.092 MB / 1.825 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01631/1.705, allocations: 6.405 MB / 1.832 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.705, allocations: 0.5625 kB / 1.832 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006622/1.711, allocations: 2.182 MB / 1.834 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/1.723, allocations: 1.938 MB / 1.836 GB, free: 178 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.745, allocations: 11.6 MB / 1.847 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/1.748, allocations: 3.204 MB / 1.85 GB, free: 163.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01079/1.759, allocations: 2.278 MB / 1.852 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/1.76, allocations: 415.1 kB / 1.853 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.701e-06/1.76, allocations: 4 kB / 1.853 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.153/1.913, allocations: 81.33 MB / 1.932 GB, free: 80.11 MB / 0.8542 GB