Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.378/2.378, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001596/0.001596, allocations: 177.4 kB / 325.6 MB, free: 2.82 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.444/2.444, allocations: 205.4 MB / 0.5766 GB, free: 21.19 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.001185/0.001185, allocations: 100.1 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.000462, allocations: 10 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.04265/0.2482, allocations: 30.9 MB / 0.929 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9344/1.183, allocations: 135.6 MB / 1.061 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/1.186, allocations: 49.84 kB / 1.061 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/1.188, allocations: 0.5247 MB / 1.062 GB, free: 4.055 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007921/1.196, allocations: 1.688 MB / 1.064 GB, free: 4.035 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/1.206, allocations: 1.741 MB / 1.065 GB, free: 4.012 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02369/1.23, allocations: 6.807 MB / 1.072 GB, free: 4 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/1.247, allocations: 4.537 MB / 1.076 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01179/1.259, allocations: 2.759 MB / 1.079 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006976/1.266, allocations: 2.296 MB / 1.081 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00205/1.268, allocations: 174.4 kB / 1.082 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007691/1.276, allocations: 0.9902 MB / 1.083 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003124/1.279, allocations: 0.8981 MB / 1.083 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003997/1.283, allocations: 1.037 MB / 1.084 GB, free: 19.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0127/1.296, allocations: 6.789 MB / 1.091 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.296, allocations: 0 / 1.091 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.617e-06/1.296, allocations: 0 / 1.091 GB, free: 18.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003597/1.296, allocations: 4 kB / 1.091 GB, free: 18.94 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.0187/1.315, allocations: 4.949 MB / 1.096 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.315, allocations: 8.969 kB / 1.096 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.331, allocations: 1.425 MB / 1.097 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01776/1.348, allocations: 4.606 MB / 1.102 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004749/1.349, allocations: 300 kB / 1.102 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/1.351, allocations: 400.3 kB / 1.102 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02451/1.376, allocations: 5.734 MB / 1.108 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002544/1.376, allocations: 14.38 kB / 1.108 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001761/1.378, allocations: 175.6 kB / 1.108 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002983/1.378, allocations: 176.6 kB / 1.108 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02588/1.404, allocations: 5.591 MB / 1.114 GB, free: 12.49 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.05798/1.462, allocations: 20.19 MB / 1.134 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01461/1.477, allocations: 3.627 MB / 1.137 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003871/1.481, allocations: 1.909 MB / 1.139 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008473/1.489, allocations: 2.04 MB / 1.141 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=266): time 7.303e-06/1.489, allocations: 0 / 1.141 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=266): time 0.02555/1.515, allocations: 5.129 MB / 1.146 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001937/1.515, allocations: 235.2 kB / 1.146 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/1.526, allocations: 3.759 MB / 1.15 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0009697/1.527, allocations: 74.89 kB / 1.15 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.53, allocations: 2.048 MB / 1.152 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002121/1.533, allocations: 0.9065 MB / 1.153 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/1.533, allocations: 58.31 kB / 1.153 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003942/1.534, allocations: 431.4 kB / 1.153 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007437/1.541, allocations: 1.547 MB / 1.155 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008444/1.55, allocations: 2.239 MB / 1.157 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008406/1.558, allocations: 1.892 MB / 1.159 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.843e-05/1.558, allocations: 4 kB / 1.159 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.02152/1.58, allocations: 4.385 MB / 1.163 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.584, allocations: 7.626 MB / 1.171 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.009e-05/1.584, allocations: 16 kB / 1.171 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.585, allocations: 119.3 kB / 1.171 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008182/1.593, allocations: 0.7942 MB / 1.171 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/1.596, allocations: 1.582 MB / 1.173 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008007/1.605, allocations: 0.5292 MB / 1.174 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.606, allocations: 141.3 kB / 1.174 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.606, allocations: 4 kB / 1.174 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0189/1.625, allocations: 4.047 MB / 1.178 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.517e-05/1.625, allocations: 16 kB / 1.178 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.626, allocations: 121.6 kB / 1.178 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008107/1.634, allocations: 0.7986 MB / 1.179 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/1.637, allocations: 1.581 MB / 1.18 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007895/1.645, allocations: 0.4931 MB / 1.181 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/1.646, allocations: 141.6 kB / 1.181 GB, free: 340 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (372): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.00531/1.652, allocations: 1.531 MB / 1.182 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001738/1.653, allocations: 391.3 kB / 1.183 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/1.674, allocations: 4.483 MB / 1.187 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/1.674, allocations: 35.48 kB / 1.187 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/1.674, allocations: 0 / 1.187 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01556/1.69, allocations: 3.499 MB / 1.19 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0435/1.734, allocations: 9.305 MB / 1.199 GB, free: 2.773 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/1.734, allocations: 4 kB / 1.199 GB, free: 2.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009242/1.743, allocations: 0.6325 MB / 1.2 GB, free: 2.184 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/1.744, allocations: 94.08 kB / 1.2 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009321/1.745, allocations: 95.55 kB / 1.2 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/1.749, allocations: 1.583 MB / 1.202 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/1.749, allocations: 8 kB / 1.202 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03359/1.783, allocations: 6.717 MB / 1.208 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/1.787, allocations: 1.068 MB / 1.209 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.789, allocations: 61.86 kB / 1.209 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007284/1.796, allocations: 333.3 kB / 1.21 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009443/1.797, allocations: 186.5 kB / 1.21 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005914/1.798, allocations: 123.9 kB / 1.21 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.007438/1.805, allocations: 2.665 MB / 1.213 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.71e-07/1.805, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01171/1.817, allocations: 2.299 MB / 1.215 GB, free: 6.121 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (284): * Single equations (assignments): 275 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.00351/1.821, allocations: 0.8763 MB / 1.216 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02595/1.847, allocations: 6.162 MB / 1.222 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/1.847, allocations: 0.5625 kB / 1.222 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.008252/1.855, allocations: 2.014 MB / 1.224 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01685/1.872, allocations: 2.046 MB / 1.226 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/1.906, allocations: 11.53 MB / 1.237 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006535/1.913, allocations: 3.18 MB / 1.24 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01577/1.928, allocations: 2.072 MB / 1.242 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003164/1.932, allocations: 394.1 kB / 1.243 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/1.932, allocations: 0 / 1.243 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.329/2.261, allocations: 79.9 MB / 1.321 GB, free: 15.15 MB / 0.8855 GB