Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 293 MB / 309 MB, free: 4.809 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 168.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.898/1.898, allocations: 205.4 MB / 0.6383 GB, free: 8.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009328/0.0009332, allocations: 96.8 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004139, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3063, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.063/6.37, allocations: 2.361 GB / 3.351 GB, free: 218.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.37, allocations: 100.5 kB / 3.351 GB, free: 218.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 17.13/23.5, allocations: 4.145 GB / 7.496 GB, free: 76.22 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.274e-06/23.5, allocations: 0 / 7.496 GB, free: 76.22 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.006151/23.5, allocations: 0.5671 MB / 7.497 GB, free: 76.13 MB / 1.011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.09837/23.6, allocations: 22.04 MB / 7.519 GB, free: 67.99 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/23.6, allocations: 9.031 kB / 7.519 GB, free: 67.99 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02962/23.63, allocations: 3.921 MB / 7.522 GB, free: 66.7 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08657/23.72, allocations: 27.81 MB / 7.55 GB, free: 62.84 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002103/23.72, allocations: 1.247 MB / 7.551 GB, free: 62.8 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01256/23.73, allocations: 1.674 MB / 7.552 GB, free: 62.79 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09757/23.83, allocations: 25.86 MB / 7.578 GB, free: 54.95 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001606/23.83, allocations: 72.88 kB / 7.578 GB, free: 54.91 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01086/23.84, allocations: 0.7208 MB / 7.578 GB, free: 54.38 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001138/23.84, allocations: 0.8792 MB / 7.579 GB, free: 54.27 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06948/23.91, allocations: 22.67 MB / 7.601 GB, free: 41.03 MB / 1.011 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.098/25.01, allocations: 98.15 MB / 7.697 GB, free: 61.74 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03637/25.05, allocations: 15.81 MB / 7.713 GB, free: 61.07 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02452/25.07, allocations: 8.511 MB / 7.721 GB, free: 60.95 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003515/25.08, allocations: 2.032 MB / 7.723 GB, free: 58.97 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02399/25.1, allocations: 8.097 MB / 7.731 GB, free: 58.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1035): time 2.835e-05/25.1, allocations: 0 / 7.731 GB, free: 58.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=1035): time 0.06863/25.17, allocations: 20.29 MB / 7.751 GB, free: 58.38 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002886/25.17, allocations: 426.5 kB / 7.751 GB, free: 57.99 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06303/25.23, allocations: 17.44 MB / 7.768 GB, free: 57.18 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.004487/25.24, allocations: 238.6 kB / 7.768 GB, free: 57.14 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.02039/25.26, allocations: 9.753 MB / 7.778 GB, free: 55.23 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.009304/25.27, allocations: 3.616 MB / 7.781 GB, free: 53.33 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004145/25.27, allocations: 261.6 kB / 7.782 GB, free: 53.33 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.002566/25.27, allocations: 0.8344 MB / 7.782 GB, free: 53 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02025/25.29, allocations: 6.936 MB / 7.789 GB, free: 52.97 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02464/25.32, allocations: 10.62 MB / 7.8 GB, free: 48.87 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04375/25.36, allocations: 18.35 MB / 7.818 GB, free: 44.79 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/25.36, allocations: 33.75 kB / 7.818 GB, free: 44.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.07382/25.44, allocations: 19.57 MB / 7.837 GB, free: 43.66 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.003851/25.44, allocations: 3.329 MB / 7.84 GB, free: 39.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004635/25.44, allocations: 109.7 kB / 7.84 GB, free: 39.65 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/25.44, allocations: 173.5 kB / 7.84 GB, free: 39.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02044/25.46, allocations: 3.304 MB / 7.843 GB, free: 39.65 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008917/25.46, allocations: 241.4 kB / 7.844 GB, free: 39.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02985/25.49, allocations: 2.25 MB / 7.846 GB, free: 38.86 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006259/25.5, allocations: 0.6266 MB / 7.846 GB, free: 38.86 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/25.5, allocations: 3.719 kB / 7.846 GB, free: 38.86 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05954/25.56, allocations: 18.15 MB / 7.864 GB, free: 38.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006627/25.56, allocations: 105.4 kB / 7.864 GB, free: 38.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/25.56, allocations: 173.1 kB / 7.864 GB, free: 38.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/25.58, allocations: 3.306 MB / 7.868 GB, free: 38.59 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006668/25.58, allocations: 242.8 kB / 7.868 GB, free: 38.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02749/25.61, allocations: 2.033 MB / 7.87 GB, free: 37.97 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005852/25.61, allocations: 0.6274 MB / 7.871 GB, free: 37.97 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 484 * 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 (1657): * Single equations (assignments): 1657 * 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.0315/25.64, allocations: 7.633 MB / 7.878 GB, free: 37.37 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01175/25.66, allocations: 1.676 MB / 7.88 GB, free: 36.51 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06606/25.72, allocations: 16.47 MB / 7.896 GB, free: 30.62 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001878/25.72, allocations: 101 kB / 7.896 GB, free: 30.62 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.444e-05/25.72, allocations: 3.938 kB / 7.896 GB, free: 30.62 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04567/25.77, allocations: 13.02 MB / 7.909 GB, free: 26.11 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1407/25.91, allocations: 38.02 MB / 7.946 GB, free: 11.62 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-05/25.91, allocations: 3.906 kB / 7.946 GB, free: 11.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01586/25.93, allocations: 2.613 MB / 7.948 GB, free: 11.45 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/25.93, allocations: 36.81 kB / 7.948 GB, free: 11.45 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003666/25.93, allocations: 335.1 kB / 7.949 GB, free: 11.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001658/25.93, allocations: 35.44 kB / 7.949 GB, free: 11.3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/25.93, allocations: 8.656 kB / 7.949 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07431/26, allocations: 23.97 MB / 7.972 GB, free: 2.047 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02162/26.03, allocations: 4.365 MB / 7.976 GB, free: 0 / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01151/26.04, allocations: 265.2 kB / 7.977 GB, free: 0 / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0249/26.06, allocations: 1.333 MB / 7.978 GB, free: 15.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003811/26.07, allocations: 0.5802 MB / 7.978 GB, free: 14.83 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004912/26.07, allocations: 0.5446 MB / 7.979 GB, free: 14.43 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.03842/26.11, allocations: 12.24 MB / 7.991 GB, free: 4.547 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.81e-07/26.11, allocations: 0 / 7.991 GB, free: 4.547 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.06482/26.17, allocations: 10.63 MB / 8.001 GB, free: 9.984 MB / 1.057 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 (1059): * Single equations (assignments): 1051 * 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.01437/26.19, allocations: 1.907 MB / 8.003 GB, free: 8.812 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0877/26.28, allocations: 26.67 MB / 8.029 GB, free: 6.129 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.159e-05/26.28, allocations: 22.3 kB / 8.029 GB, free: 6.102 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.02158/26.3, allocations: 7.182 MB / 8.036 GB, free: 20 kB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.8645/27.16, allocations: 11.07 MB / 8.047 GB, free: 140.8 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1416/27.3, allocations: 52.71 MB / 8.099 GB, free: 122.3 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04259/27.35, allocations: 12.85 MB / 8.111 GB, free: 121 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.06753/27.41, allocations: 11.14 MB / 8.122 GB, free: 119.1 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01788/27.43, allocations: 1.581 MB / 8.123 GB, free: 119.1 MB / 1.073 GB Notification: Performance of SimCode: time 2.454e-06/27.43, allocations: 0 / 8.123 GB, free: 119.1 MB / 1.073 GB Notification: Performance of Templates: time 1.382/28.81, allocations: 366.7 MB / 8.482 GB, free: 167 MB / 1.104 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)