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 2.503/2.503, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001444, allocations: 179.6 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 91.3 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004577, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels): time 0.05379/0.2385, allocations: 45.65 MB / 1.023 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.7702/1.009, allocations: 142 MB / 1.162 GB, free: 388 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/1.013, allocations: 74.28 kB / 1.162 GB, free: 356 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003827/1.017, allocations: 0.8999 MB / 1.163 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01105/1.028, allocations: 2.725 MB / 1.166 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009679/1.037, allocations: 2.439 MB / 1.168 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.05025/1.088, allocations: 35.28 MB / 1.202 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04359/1.131, allocations: 22.46 MB / 1.224 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02864/1.16, allocations: 13.18 MB / 1.237 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02291/1.183, allocations: 11.23 MB / 1.248 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.005222/1.188, allocations: 0.8477 MB / 1.249 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/1.202, allocations: 1.819 MB / 1.251 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0093/1.211, allocations: 4.288 MB / 1.255 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.01104/1.222, allocations: 4.869 MB / 1.26 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.04701/1.269, allocations: 32.09 MB / 1.291 GB, free: 9.168 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.59e-06/1.269, allocations: 0 / 1.291 GB, free: 9.168 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.633e-06/1.269, allocations: 0 / 1.291 GB, free: 9.168 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008815/1.27, allocations: 0 / 1.291 GB, free: 9.168 MB / 0.823 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.05855/1.329, allocations: 21.58 MB / 1.312 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.329, allocations: 19.91 kB / 1.312 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/1.356, allocations: 4.257 MB / 1.316 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06997/1.426, allocations: 23.68 MB / 1.339 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001783/1.428, allocations: 1.28 MB / 1.341 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005761/1.434, allocations: 1.726 MB / 1.342 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08206/1.516, allocations: 27.54 MB / 1.369 GB, free: 7.945 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007815/1.517, allocations: 63.44 kB / 1.369 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005079/1.522, allocations: 0.7421 MB / 1.37 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/1.523, allocations: 0.8961 MB / 1.371 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07394/1.597, allocations: 24.45 MB / 1.395 GB, free: 13.76 MB / 0.9323 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 1.365/2.962, allocations: 102.1 MB / 1.495 GB, free: 267.4 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04226/3.005, allocations: 16.37 MB / 1.511 GB, free: 260.9 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003128/3.008, allocations: 2.092 MB / 1.513 GB, free: 258.8 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02424/3.032, allocations: 8.196 MB / 1.521 GB, free: 254.1 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=1035): time 2.175e-05/3.032, allocations: 0 / 1.521 GB, free: 254.1 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1035): time 0.06448/3.097, allocations: 20.68 MB / 1.541 GB, free: 244.4 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/3.097, allocations: 372.8 kB / 1.541 GB, free: 244.1 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03952/3.136, allocations: 18.6 MB / 1.559 GB, free: 234.7 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.002452/3.139, allocations: 238.6 kB / 1.56 GB, free: 234.5 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01222/3.151, allocations: 9.823 MB / 1.569 GB, free: 225.6 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.005312/3.157, allocations: 3.608 MB / 1.573 GB, free: 222 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/3.159, allocations: 260 kB / 1.573 GB, free: 221.7 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001047/3.16, allocations: 0.8356 MB / 1.574 GB, free: 220.9 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01813/3.178, allocations: 6.96 MB / 1.581 GB, free: 213.9 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02066/3.199, allocations: 10.57 MB / 1.591 GB, free: 201.9 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02144/3.22, allocations: 8.912 MB / 1.6 GB, free: 192.9 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.14e-05/3.22, allocations: 32 kB / 1.6 GB, free: 192.9 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1658) (initialization): time 0.0535/3.274, allocations: 19.65 MB / 1.619 GB, free: 173.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.01313/3.287, allocations: 72.48 MB / 1.69 GB, free: 95.36 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002842/3.287, allocations: 108 kB / 1.69 GB, free: 95.25 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002245/3.287, allocations: 188 kB / 1.69 GB, free: 95.07 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02035/3.308, allocations: 3.498 MB / 1.693 GB, free: 91.57 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003185/3.308, allocations: 239.2 kB / 1.693 GB, free: 91.33 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02268/3.331, allocations: 2.411 MB / 1.696 GB, free: 88.91 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/3.334, allocations: 0.6208 MB / 1.696 GB, free: 88.29 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/3.334, allocations: 4 kB / 1.696 GB, free: 88.28 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04955/3.383, allocations: 18.21 MB / 1.714 GB, free: 70.01 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003157/3.384, allocations: 108 kB / 1.714 GB, free: 69.91 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/3.384, allocations: 188 kB / 1.714 GB, free: 69.72 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02047/3.405, allocations: 3.494 MB / 1.718 GB, free: 66.22 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003139/3.405, allocations: 247.2 kB / 1.718 GB, free: 65.98 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.023/3.428, allocations: 2.172 MB / 1.72 GB, free: 63.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003293/3.431, allocations: 0.6208 MB / 1.721 GB, free: 63.18 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 485 * 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 (1658): * Single equations (assignments): 1658 * 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.01762/3.449, allocations: 7.687 MB / 1.728 GB, free: 55.47 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006431/3.455, allocations: 1.683 MB / 1.73 GB, free: 53.77 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05229/3.508, allocations: 16.75 MB / 1.746 GB, free: 36.93 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.487e-05/3.508, allocations: 104 kB / 1.746 GB, free: 36.83 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/3.508, allocations: 3.953 kB / 1.746 GB, free: 36.82 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03919/3.547, allocations: 13.24 MB / 1.759 GB, free: 23.48 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1044/3.652, allocations: 37.9 MB / 1.796 GB, free: 1.551 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/3.652, allocations: 0 / 1.796 GB, free: 1.551 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01758/3.669, allocations: 2.442 MB / 1.799 GB, free: 15.11 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/3.669, allocations: 36 kB / 1.799 GB, free: 15.07 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002558/3.672, allocations: 335.7 kB / 1.799 GB, free: 14.74 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001217/3.672, allocations: 36 kB / 1.799 GB, free: 14.71 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.215e-06/3.672, allocations: 4 kB / 1.799 GB, free: 14.7 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.215/4.887, allocations: 24.96 MB / 1.824 GB, free: 321.2 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01528/4.903, allocations: 4.503 MB / 1.828 GB, free: 319.8 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006542/4.909, allocations: 231.5 kB / 1.828 GB, free: 319.7 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02088/4.93, allocations: 1.443 MB / 1.83 GB, free: 319.5 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00239/4.933, allocations: 0.5812 MB / 1.83 GB, free: 319.4 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003011/4.936, allocations: 0.5429 MB / 1.831 GB, free: 319.4 MB / 0.995 GB Notification: Performance of sorting global known variables: time 0.03071/4.966, allocations: 13.22 MB / 1.844 GB, free: 314.9 MB / 0.995 GB Notification: Performance of sort global known variables: time 1.51e-06/4.966, allocations: 1.438 kB / 1.844 GB, free: 314.9 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.04101/5.007, allocations: 10.26 MB / 1.854 GB, free: 314 MB / 0.995 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.007046/5.015, allocations: 1.552 MB / 1.855 GB, free: 313.6 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.06763/5.082, allocations: 25.68 MB / 1.88 GB, free: 305.3 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/5.082, allocations: 17.61 kB / 1.88 GB, free: 305.3 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.02034/5.103, allocations: 7.297 MB / 1.887 GB, free: 302.9 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05556/5.158, allocations: 10.9 MB / 1.898 GB, free: 297.3 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09875/5.257, allocations: 52.94 MB / 1.95 GB, free: 244.5 MB / 0.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0224/5.279, allocations: 13.32 MB / 1.963 GB, free: 231.1 MB / 0.995 GB Notification: Performance of simCode: alias equations: time 0.05377/5.333, allocations: 11.35 MB / 1.974 GB, free: 219.7 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008137/5.341, allocations: 1.612 MB / 1.975 GB, free: 218.1 MB / 0.995 GB Notification: Performance of SimCode: time 2.268e-06/5.341, allocations: 0 / 1.975 GB, free: 218.1 MB / 0.995 GB Notification: Performance of Templates: time 1.502/6.843, allocations: 361.4 MB / 2.328 GB, free: 221.6 MB / 0.995 GB