Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.375/2.375, allocations: 252.6 MB / 265.2 MB, free: 5.723 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001569/0.001568, allocations: 182.7 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001117/0.001116, allocations: 89.89 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.915e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.205, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.162/8.367, allocations: 2.475 GB / 3.37 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/8.367, allocations: 90.77 kB / 3.37 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 11.08/19.45, allocations: 2.049 GB / 5.419 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/19.45, allocations: 4 kB / 5.419 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002496/19.45, allocations: 302.8 kB / 5.419 GB, free: 139.3 MB / 0.8855 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.04236/19.5, allocations: 9.553 MB / 5.428 GB, free: 133 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/19.5, allocations: 8.031 kB / 5.428 GB, free: 133 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01911/19.51, allocations: 2.023 MB / 5.43 GB, free: 130.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05856/19.57, allocations: 14.67 MB / 5.445 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009746/19.57, allocations: 0.643 MB / 5.445 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004765/19.58, allocations: 0.872 MB / 5.446 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04612/19.62, allocations: 12.6 MB / 5.458 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000673/19.63, allocations: 31.72 kB / 5.458 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00435/19.63, allocations: 380.2 kB / 5.459 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005674/19.63, allocations: 457 kB / 5.459 GB, free: 101 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03718/19.67, allocations: 11.03 MB / 5.47 GB, free: 89.98 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.1321/19.8, allocations: 50.54 MB / 5.519 GB, free: 38.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/19.82, allocations: 7.661 MB / 5.527 GB, free: 30.59 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01106/19.83, allocations: 4.077 MB / 5.531 GB, free: 26.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002985/19.83, allocations: 1.496 MB / 5.532 GB, free: 24.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01219/19.85, allocations: 3.829 MB / 5.536 GB, free: 20.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 1.057e-05/19.85, allocations: 0 / 5.536 GB, free: 20.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.02456/19.87, allocations: 6.951 MB / 5.543 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/19.87, allocations: 351.1 kB / 5.543 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02643/19.9, allocations: 8.916 MB / 5.552 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001905/19.9, allocations: 141.7 kB / 5.552 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.7349/20.64, allocations: 4.93 MB / 5.557 GB, free: 146.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004932/20.64, allocations: 1.924 MB / 5.559 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/20.64, allocations: 138.5 kB / 5.559 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.001028/20.64, allocations: 0.5749 MB / 5.559 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/20.65, allocations: 3.263 MB / 5.563 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/20.67, allocations: 5.139 MB / 5.568 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/20.68, allocations: 4.28 MB / 5.572 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/20.68, allocations: 16.94 kB / 5.572 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.0358/20.72, allocations: 9.497 MB / 5.581 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.006387/20.72, allocations: 28.52 MB / 5.609 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000328/20.73, allocations: 53.59 kB / 5.609 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/20.73, allocations: 96.92 kB / 5.609 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/20.74, allocations: 1.84 MB / 5.611 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000315/20.74, allocations: 123.9 kB / 5.611 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01976/20.76, allocations: 1.237 MB / 5.612 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002544/20.77, allocations: 332.7 kB / 5.613 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/20.77, allocations: 4.094 kB / 5.613 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0322/20.8, allocations: 8.738 MB / 5.621 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/20.8, allocations: 52.31 kB / 5.621 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/20.8, allocations: 96.06 kB / 5.621 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01781/20.82, allocations: 1.835 MB / 5.623 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002778/20.82, allocations: 121.8 kB / 5.623 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01862/20.84, allocations: 1.115 MB / 5.624 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002528/20.84, allocations: 334.2 kB / 5.625 GB, free: 112.3 MB / 0.8855 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 () * 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.004746/20.84, allocations: 0.5217 MB / 5.625 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005031/20.85, allocations: 0.8687 MB / 5.626 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03113/20.88, allocations: 8.132 MB / 5.634 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/20.88, allocations: 58.38 kB / 5.634 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/20.88, allocations: 0 / 5.634 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02084/20.9, allocations: 6.25 MB / 5.64 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06922/20.97, allocations: 19.35 MB / 5.659 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-05/20.97, allocations: 7.406 kB / 5.659 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01467/20.99, allocations: 1.317 MB / 5.66 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.923e-05/20.99, allocations: 19.78 kB / 5.66 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001869/20.99, allocations: 179.3 kB / 5.66 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.768e-05/20.99, allocations: 19.5 kB / 5.66 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/20.99, allocations: 0 / 5.66 GB, free: 110 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03798/21.03, allocations: 11.96 MB / 5.672 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01096/21.04, allocations: 2.393 MB / 5.674 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005144/21.04, allocations: 124.1 kB / 5.675 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01741/21.06, allocations: 0.7135 MB / 5.675 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/21.06, allocations: 323.7 kB / 5.676 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002024/21.06, allocations: 266.6 kB / 5.676 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.02035/21.08, allocations: 6.974 MB / 5.683 GB, free: 108 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.12e-07/21.08, allocations: 0 / 5.683 GB, free: 108 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.03067/21.11, allocations: 5.594 MB / 5.688 GB, free: 107.3 MB / 0.8855 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) * 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.00616/21.12, allocations: 1.372 MB / 5.689 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03596/21.16, allocations: 12.59 MB / 5.702 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/21.16, allocations: 6.656 kB / 5.702 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/21.17, allocations: 3.503 MB / 5.705 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04574/21.21, allocations: 5.566 MB / 5.711 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0595/21.27, allocations: 19.93 MB / 5.73 GB, free: 98.83 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01427/21.29, allocations: 7.117 MB / 5.737 GB, free: 96.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.05495/21.34, allocations: 9.527 MB / 5.746 GB, free: 94.97 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005338/21.35, allocations: 0.67 MB / 5.747 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.683e-06/21.35, allocations: 0 / 5.747 GB, free: 94.91 MB / 0.8855 GB Notification: Performance of Templates: time 1.333/22.68, allocations: 201.9 MB / 5.944 GB, free: 169.4 MB / 0.9167 GB