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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001721/0.001721, allocations: 195.1 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.0009935/0.0009935, allocations: 91.84 kB / 0.751 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005075, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3431, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.748, allocations: 2.36 GB / 3.349 GB, free: 222.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/6.748, allocations: 99.95 kB / 3.349 GB, free: 222.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 18/24.75, allocations: 4.17 GB / 7.518 GB, free: 76.14 MB / 1.011 GB Notification: Performance of FrontEnd: time 1.793e-06/24.75, allocations: 0 / 7.518 GB, free: 76.14 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.004479/24.75, allocations: 0.5626 MB / 7.519 GB, free: 76.04 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.09399/24.85, allocations: 22.28 MB / 7.541 GB, free: 67.69 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/24.85, allocations: 7.188 kB / 7.541 GB, free: 67.69 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03231/24.88, allocations: 3.92 MB / 7.545 GB, free: 66.39 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0953/24.97, allocations: 28.98 MB / 7.573 GB, free: 61.39 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002/24.98, allocations: 1.249 MB / 7.574 GB, free: 60.82 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01085/24.99, allocations: 1.674 MB / 7.576 GB, free: 60.26 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0975/25.08, allocations: 25.72 MB / 7.601 GB, free: 40.25 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001592/25.09, allocations: 71.08 kB / 7.601 GB, free: 40.18 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009941/25.1, allocations: 0.7186 MB / 7.602 GB, free: 39.47 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008383/25.1, allocations: 0.8796 MB / 7.602 GB, free: 38.59 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06783/25.17, allocations: 22.67 MB / 7.625 GB, free: 15.89 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.162/26.33, allocations: 99.11 MB / 7.721 GB, free: 63.91 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03609/26.36, allocations: 16.1 MB / 7.737 GB, free: 63.28 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003712/26.37, allocations: 2.032 MB / 7.739 GB, free: 61.3 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0274/26.39, allocations: 8.054 MB / 7.747 GB, free: 61.05 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1035): time 1.541e-05/26.39, allocations: 0 / 7.747 GB, free: 61.05 MB / 1.026 GB Notification: Performance of matching and sorting (n=1035): time 0.08239/26.48, allocations: 20.22 MB / 7.767 GB, free: 59.84 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004607/26.48, allocations: 419.5 kB / 7.767 GB, free: 59.45 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07292/26.55, allocations: 17.38 MB / 7.784 GB, free: 58.64 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.006106/26.56, allocations: 241.8 kB / 7.784 GB, free: 58.61 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01891/26.58, allocations: 9.773 MB / 7.794 GB, free: 56.31 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.008391/26.58, allocations: 3.617 MB / 7.797 GB, free: 54.46 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/26.59, allocations: 263.9 kB / 7.798 GB, free: 54.46 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.00124/26.59, allocations: 0.8319 MB / 7.798 GB, free: 54.12 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01683/26.6, allocations: 6.912 MB / 7.805 GB, free: 54.09 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02466/26.63, allocations: 10.55 MB / 7.815 GB, free: 49.99 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/26.65, allocations: 8.87 MB / 7.824 GB, free: 49.85 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002196/26.65, allocations: 30.78 kB / 7.824 GB, free: 49.85 MB / 1.026 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.06646/26.72, allocations: 19.54 MB / 7.843 GB, free: 48.72 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.03894/26.76, allocations: 72.18 MB / 7.914 GB, free: 38.41 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007145/26.76, allocations: 106.6 kB / 7.914 GB, free: 38.41 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/26.76, allocations: 189.9 kB / 7.914 GB, free: 38.41 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02191/26.78, allocations: 3.536 MB / 7.917 GB, free: 38.41 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006013/26.78, allocations: 246 kB / 7.918 GB, free: 38.41 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03054/26.81, allocations: 2.393 MB / 7.92 GB, free: 37.55 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005612/26.82, allocations: 0.6316 MB / 7.921 GB, free: 37.55 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/26.82, allocations: 3.688 kB / 7.921 GB, free: 37.55 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05196/26.87, allocations: 18.1 MB / 7.938 GB, free: 36.91 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005103/26.87, allocations: 107.4 kB / 7.938 GB, free: 36.91 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/26.87, allocations: 192.5 kB / 7.939 GB, free: 36.91 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02029/26.89, allocations: 3.533 MB / 7.942 GB, free: 36.66 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004451/26.89, allocations: 239.6 kB / 7.942 GB, free: 36.62 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02909/26.92, allocations: 2.151 MB / 7.944 GB, free: 35.68 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006671/26.93, allocations: 0.6254 MB / 7.945 GB, free: 35.58 MB / 1.089 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.03047/26.96, allocations: 7.646 MB / 7.952 GB, free: 32.41 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0109/26.97, allocations: 1.672 MB / 7.954 GB, free: 31.55 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05782/27.03, allocations: 16.46 MB / 7.97 GB, free: 25.51 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001603/27.03, allocations: 105.6 kB / 7.97 GB, free: 25.51 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.195e-05/27.03, allocations: 4 kB / 7.97 GB, free: 25.5 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0452/27.07, allocations: 12.98 MB / 7.983 GB, free: 20.95 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1429/27.21, allocations: 38.47 MB / 8.021 GB, free: 22.18 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-05/27.22, allocations: 0 / 8.021 GB, free: 22.18 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01831/27.23, allocations: 2.492 MB / 8.023 GB, free: 21.96 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/27.23, allocations: 38.62 kB / 8.023 GB, free: 21.96 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004276/27.24, allocations: 336.3 kB / 8.023 GB, free: 21.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001975/27.24, allocations: 37.72 kB / 8.023 GB, free: 21.8 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/27.24, allocations: 0 / 8.023 GB, free: 21.8 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07693/27.32, allocations: 24.52 MB / 8.047 GB, free: 7.047 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02821/27.34, allocations: 4.574 MB / 8.052 GB, free: 3.176 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01226/27.36, allocations: 230.1 kB / 8.052 GB, free: 2.965 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02702/27.38, allocations: 1.354 MB / 8.053 GB, free: 1.961 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004037/27.39, allocations: 0.5853 MB / 8.054 GB, free: 1.586 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005293/27.39, allocations: 0.5419 MB / 8.054 GB, free: 1.191 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.977/28.37, allocations: 16.8 MB / 8.071 GB, free: 180.6 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.162e-06/28.37, allocations: 0 / 8.071 GB, free: 180.6 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.07081/28.44, allocations: 10.73 MB / 8.081 GB, free: 180.6 MB / 1.104 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.008781/28.45, allocations: 1.91 MB / 8.083 GB, free: 180.4 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.06896/28.52, allocations: 25.47 MB / 8.108 GB, free: 180.1 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-05/28.52, allocations: 19.3 kB / 8.108 GB, free: 180.1 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.01957/28.54, allocations: 7.181 MB / 8.115 GB, free: 180.1 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06282/28.6, allocations: 10.92 MB / 8.126 GB, free: 179.8 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1488/28.75, allocations: 52.43 MB / 8.177 GB, free: 160.9 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04463/28.79, allocations: 13.22 MB / 8.19 GB, free: 159.6 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.06698/28.86, allocations: 11.28 MB / 8.201 GB, free: 157.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01392/28.87, allocations: 1.613 MB / 8.202 GB, free: 157.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.503e-06/28.88, allocations: 3 kB / 8.202 GB, free: 157.6 MB / 1.104 GB Notification: Performance of Templates: time 1.413/30.29, allocations: 366.9 MB / 8.561 GB, free: 174.2 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)