Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.638/4.638, allocations: 0.5623 GB / 0.5769 GB, free: 3.297 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.002411/0.002411, allocations: 359.9 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.794/3.794, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001729/0.001729, allocations: 178.8 kB / 1.225 GB, free: 35.97 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005335, allocations: 19.12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1522, allocations: 115.3 MB / 1.461 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.06386/0.2161, allocations: 49.88 MB / 1.509 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.7795/0.9956, allocations: 152.2 MB / 1.658 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.9995, allocations: 83.44 kB / 1.658 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/1.003, allocations: 0.8419 MB / 1.659 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/1.014, allocations: 2.781 MB / 1.662 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009239/1.023, allocations: 2.424 MB / 1.664 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.08488/1.108, allocations: 72.08 MB / 1.734 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04269/1.151, allocations: 22.48 MB / 1.756 GB, free: 9.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02995/1.181, allocations: 15.14 MB / 1.771 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03019/1.211, allocations: 15.94 MB / 1.787 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00526/1.216, allocations: 0.8516 MB / 1.788 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01261/1.229, allocations: 1.791 MB / 1.789 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00951/1.239, allocations: 4.466 MB / 1.794 GB, free: 3.152 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/1.25, allocations: 4.873 MB / 1.798 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.04515/1.295, allocations: 32.23 MB / 1.83 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.803e-06/1.295, allocations: 0 / 1.83 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.92e-06/1.295, allocations: 0 / 1.83 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0008541/1.296, allocations: 0 / 1.83 GB, free: 13.96 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4629 * Number of variables: 4629 Notification: Performance of Generate backend data structure: time 0.05668/1.353, allocations: 21.6 MB / 1.851 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/1.353, allocations: 8.031 kB / 1.851 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02644/1.379, allocations: 4.28 MB / 1.855 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07471/1.454, allocations: 27.31 MB / 1.882 GB, free: 8.492 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001678/1.456, allocations: 1.28 MB / 1.883 GB, free: 7.215 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005636/1.461, allocations: 1.73 MB / 1.885 GB, free: 5.484 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.188/2.649, allocations: 27.68 MB / 1.912 GB, free: 297.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006715/2.65, allocations: 67.45 kB / 1.912 GB, free: 297.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004184/2.654, allocations: 0.7393 MB / 1.913 GB, free: 297 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001126/2.655, allocations: 0.8952 MB / 1.913 GB, free: 296.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07168/2.727, allocations: 24.46 MB / 1.937 GB, free: 287.4 MB / 0.948 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.1643/2.891, allocations: 99.61 MB / 2.035 GB, free: 196.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03307/2.925, allocations: 16.02 MB / 2.05 GB, free: 180.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01895/2.944, allocations: 8.706 MB / 2.059 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/2.946, allocations: 2.093 MB / 2.061 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02072/2.967, allocations: 8.269 MB / 2.069 GB, free: 160.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 2.024e-05/2.967, allocations: 0 / 2.069 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.0539/3.021, allocations: 20.79 MB / 2.089 GB, free: 139.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/3.021, allocations: 365.1 kB / 2.09 GB, free: 139.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02985/3.051, allocations: 16.25 MB / 2.105 GB, free: 123.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002185/3.053, allocations: 241.7 kB / 2.106 GB, free: 123.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01093/3.064, allocations: 9.844 MB / 2.115 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0046/3.069, allocations: 3.615 MB / 2.119 GB, free: 109.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/3.07, allocations: 260 kB / 2.119 GB, free: 109.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007061/3.071, allocations: 0.8474 MB / 2.12 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01641/3.087, allocations: 7.013 MB / 2.127 GB, free: 101.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01984/3.107, allocations: 10.67 MB / 2.137 GB, free: 89.45 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02038/3.128, allocations: 8.972 MB / 2.146 GB, free: 80.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.839e-05/3.128, allocations: 35.84 kB / 2.146 GB, free: 80.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=1666) (initialization): time 0.05125/3.179, allocations: 19.78 MB / 2.165 GB, free: 60.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001545/3.181, allocations: 3.334 MB / 2.169 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001479/3.181, allocations: 104 kB / 2.169 GB, free: 55.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/3.181, allocations: 188 kB / 2.169 GB, free: 55.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01951/3.201, allocations: 3.303 MB / 2.172 GB, free: 52.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003291/3.201, allocations: 243.2 kB / 2.172 GB, free: 51.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02092/3.222, allocations: 1.954 MB / 2.174 GB, free: 49.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003009/3.225, allocations: 0.6404 MB / 2.175 GB, free: 49.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/3.225, allocations: 5.094 kB / 2.175 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04757/3.273, allocations: 18.33 MB / 2.193 GB, free: 30.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/3.273, allocations: 104 kB / 2.193 GB, free: 30.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/3.273, allocations: 188 kB / 2.193 GB, free: 30.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01904/3.292, allocations: 3.296 MB / 2.196 GB, free: 27.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003038/3.292, allocations: 243.2 kB / 2.196 GB, free: 27.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01905/3.312, allocations: 1.788 MB / 2.198 GB, free: 25.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002952/3.315, allocations: 0.6325 MB / 2.199 GB, free: 24.61 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * Number of states: 0 () * Number of discrete variables: 13 ($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,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 (1666): * Single equations (assignments): 1666 * 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.01564/3.33, allocations: 7.687 MB / 2.206 GB, free: 16.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004353/3.335, allocations: 1.691 MB / 2.208 GB, free: 15.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0468/3.381, allocations: 16.81 MB / 2.224 GB, free: 14.3 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001163/3.382, allocations: 108 kB / 2.224 GB, free: 14.19 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/3.382, allocations: 0 / 2.224 GB, free: 14.19 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03915/3.421, allocations: 13.32 MB / 2.237 GB, free: 0.7656 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.263/4.684, allocations: 36.72 MB / 2.273 GB, free: 300.5 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/4.684, allocations: 2.125 kB / 2.273 GB, free: 300.5 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01814/4.702, allocations: 2.564 MB / 2.276 GB, free: 300.3 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/4.703, allocations: 36.03 kB / 2.276 GB, free: 300.3 MB / 0.9794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002035/4.705, allocations: 337.5 kB / 2.276 GB, free: 300.2 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001268/4.705, allocations: 34.69 kB / 2.276 GB, free: 300.2 MB / 0.9794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/4.705, allocations: 5.25 kB / 2.276 GB, free: 300.2 MB / 0.9794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06687/4.772, allocations: 24.44 MB / 2.3 GB, free: 291.6 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01274/4.784, allocations: 3.821 MB / 2.304 GB, free: 290.2 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0056/4.79, allocations: 221.7 kB / 2.304 GB, free: 290.1 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02022/4.81, allocations: 1.318 MB / 2.305 GB, free: 289.9 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002163/4.813, allocations: 0.5825 MB / 2.306 GB, free: 289.8 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002406/4.815, allocations: 0.5433 MB / 2.306 GB, free: 289.7 MB / 0.9794 GB Notification: Performance of sorting global known variables: time 0.02578/4.841, allocations: 11.39 MB / 2.318 GB, free: 286 MB / 0.9794 GB Notification: Performance of sort global known variables: time 1.079e-06/4.841, allocations: 2.281 kB / 2.318 GB, free: 286 MB / 0.9794 GB Notification: Performance of remove unused functions: time 0.036/4.877, allocations: 9.861 MB / 2.327 GB, free: 284.5 MB / 0.9794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 60 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,solCol1.vol[28].dynBal.U,solCol1.vol[29].dynBal.U,solCol1.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 (1055): * Single equations (assignments): 1047 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006636/4.884, allocations: 1.53 MB / 2.329 GB, free: 284.1 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.0627/4.946, allocations: 25.83 MB / 2.354 GB, free: 263.4 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 2.156e-05/4.946, allocations: 18.3 kB / 2.354 GB, free: 263.3 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.01726/4.964, allocations: 7.295 MB / 2.361 GB, free: 256.1 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05634/5.02, allocations: 11.01 MB / 2.372 GB, free: 245.5 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.145/5.165, allocations: 53.05 MB / 2.424 GB, free: 192.4 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02201/5.187, allocations: 13.32 MB / 2.437 GB, free: 179 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.05041/5.238, allocations: 11.01 MB / 2.447 GB, free: 168 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007127/5.245, allocations: 1.503 MB / 2.449 GB, free: 166.5 MB / 0.9794 GB Notification: Performance of SimCode: time 1.816e-06/5.245, allocations: 0 / 2.449 GB, free: 166.5 MB / 0.9794 GB Notification: Performance of Templates: time 1.366/6.611, allocations: 347.2 MB / 2.788 GB, free: 199 MB / 0.995 GB