Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Validation.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.932/4.932, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002493/0.002493, allocations: 355.1 kB / 0.6446 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 4.419/4.419, allocations: 410.7 MB / 1.113 GB, free: 5.949 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.001782/0.001781, allocations: 183.3 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005276, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7268, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.855/7.581, allocations: 2.358 GB / 3.819 GB, free: 57.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/7.582, allocations: 99.33 kB / 3.819 GB, free: 57.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.47/19.05, allocations: 2.088 GB / 5.907 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.384e-06/19.05, allocations: 0 / 5.907 GB, free: 136.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.002372/19.06, allocations: 309 kB / 5.908 GB, free: 136.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.05448/19.11, allocations: 11.69 MB / 5.919 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/19.11, allocations: 11.62 kB / 5.919 GB, free: 124.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/19.13, allocations: 2.042 MB / 5.921 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05544/19.18, allocations: 13.92 MB / 5.935 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/19.19, allocations: 0.6431 MB / 5.935 GB, free: 107.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004807/19.19, allocations: 0.8785 MB / 5.936 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05276/19.24, allocations: 13.31 MB / 5.949 GB, free: 93.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007432/19.24, allocations: 36.59 kB / 5.949 GB, free: 93.15 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004658/19.25, allocations: 388 kB / 5.949 GB, free: 92.77 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005367/19.25, allocations: 460.9 kB / 5.95 GB, free: 92.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0459/19.3, allocations: 11.85 MB / 5.961 GB, free: 80.45 MB / 0.9636 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.1283/19.42, allocations: 50.21 MB / 6.01 GB, free: 28.61 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02663/19.45, allocations: 8.118 MB / 6.018 GB, free: 20.54 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0145/19.46, allocations: 4.377 MB / 6.023 GB, free: 16.13 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00293/19.47, allocations: 1.506 MB / 6.024 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01683/19.48, allocations: 4.236 MB / 6.028 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=553): time 1.109e-05/19.48, allocations: 0 / 6.028 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of matching and sorting (n=553): time 1.566/21.05, allocations: 10.57 MB / 6.039 GB, free: 167.5 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/21.05, allocations: 346 kB / 6.039 GB, free: 167.2 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02706/21.08, allocations: 9.065 MB / 6.048 GB, free: 166.7 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.002122/21.08, allocations: 141.5 kB / 6.048 GB, free: 166.6 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.009135/21.09, allocations: 4.93 MB / 6.053 GB, free: 166.1 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.004316/21.09, allocations: 1.92 MB / 6.055 GB, free: 165.2 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/21.1, allocations: 140.2 kB / 6.055 GB, free: 165.2 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.0007817/21.1, allocations: 0.581 MB / 6.055 GB, free: 164.9 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01376/21.11, allocations: 3.564 MB / 6.059 GB, free: 164.9 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01565/21.13, allocations: 5.467 MB / 6.064 GB, free: 162.8 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/21.14, allocations: 4.561 MB / 6.069 GB, free: 162.7 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.803e-05/21.14, allocations: 21.97 kB / 6.069 GB, free: 162.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03932/21.18, allocations: 10.1 MB / 6.078 GB, free: 162 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001318/21.18, allocations: 1.721 MB / 6.08 GB, free: 160 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/21.18, allocations: 55 kB / 6.08 GB, free: 160 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/21.18, allocations: 97.5 kB / 6.08 GB, free: 160 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.016/21.2, allocations: 1.721 MB / 6.082 GB, free: 160 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002137/21.2, allocations: 118 kB / 6.082 GB, free: 160 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01783/21.22, allocations: 1.157 MB / 6.083 GB, free: 159.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/21.22, allocations: 338.4 kB / 6.084 GB, free: 159.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/21.22, allocations: 3.969 kB / 6.084 GB, free: 159.8 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03447/21.25, allocations: 9.341 MB / 6.093 GB, free: 159.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/21.25, allocations: 56.03 kB / 6.093 GB, free: 159.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001525/21.25, allocations: 96 kB / 6.093 GB, free: 159.6 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01656/21.27, allocations: 1.721 MB / 6.094 GB, free: 159.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002215/21.27, allocations: 120.3 kB / 6.095 GB, free: 159.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/21.29, allocations: 1.049 MB / 6.096 GB, free: 159.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/21.29, allocations: 336.7 kB / 6.096 GB, free: 159.3 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01295/21.3, allocations: 3.989 MB / 6.1 GB, free: 159.1 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004555/21.31, allocations: 0.8773 MB / 6.101 GB, free: 158.7 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03748/21.35, allocations: 8.695 MB / 6.109 GB, free: 158.3 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.789e-05/21.35, allocations: 55.8 kB / 6.109 GB, free: 158.3 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/21.35, allocations: 0.9375 kB / 6.109 GB, free: 158.3 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02862/21.37, allocations: 6.83 MB / 6.116 GB, free: 158 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06668/21.44, allocations: 19.83 MB / 6.135 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/21.44, allocations: 0 / 6.135 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01432/21.46, allocations: 1.378 MB / 6.137 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-05/21.46, allocations: 20.31 kB / 6.137 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001482/21.46, allocations: 179.5 kB / 6.137 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.115e-05/21.46, allocations: 18.56 kB / 6.137 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/21.46, allocations: 4.562 kB / 6.137 GB, free: 156.8 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/21.5, allocations: 12.7 MB / 6.149 GB, free: 155.9 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009443/21.51, allocations: 2.299 MB / 6.151 GB, free: 155.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004194/21.52, allocations: 124.5 kB / 6.152 GB, free: 155.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/21.53, allocations: 0.6967 MB / 6.152 GB, free: 155.2 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/21.53, allocations: 327.5 kB / 6.153 GB, free: 155.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001499/21.53, allocations: 292.1 kB / 6.153 GB, free: 155.2 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.0184/21.55, allocations: 6.354 MB / 6.159 GB, free: 154.9 MB / 0.9637 GB Notification: Performance of sort global known variables: time 8.12e-07/21.55, allocations: 0 / 6.159 GB, free: 154.9 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.02816/21.58, allocations: 5.549 MB / 6.164 GB, free: 154.2 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00633/21.59, allocations: 1.44 MB / 6.166 GB, free: 154.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.04536/21.63, allocations: 13.21 MB / 6.179 GB, free: 151.4 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/21.63, allocations: 9.031 kB / 6.179 GB, free: 151.4 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.01319/21.65, allocations: 3.796 MB / 6.182 GB, free: 150.2 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04892/21.7, allocations: 5.675 MB / 6.188 GB, free: 149.3 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06913/21.76, allocations: 27.14 MB / 6.215 GB, free: 136.3 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01579/21.78, allocations: 7.105 MB / 6.221 GB, free: 134.1 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.03793/21.82, allocations: 6.017 MB / 6.227 GB, free: 132.9 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006423/21.83, allocations: 0.8344 MB / 6.228 GB, free: 132.2 MB / 0.9637 GB Notification: Performance of SimCode: time 1.683e-06/21.83, allocations: 4 kB / 6.228 GB, free: 132.2 MB / 0.9637 GB Notification: Performance of Templates: time 1.245/23.07, allocations: 187 MB / 6.411 GB, free: 195.5 MB / 0.9949 GB