Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.373/1.373, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 184 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 86.03 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.000381, allocations: 12.97 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.889/5.125, allocations: 2.476 GB / 3.378 GB, free: 76.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/5.125, allocations: 96.61 kB / 3.378 GB, free: 76.47 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 12.75/17.87, allocations: 4.049 GB / 7.427 GB, free: 86.8 MB / 0.9324 GB Notification: Performance of FrontEnd: time 4.198e-06/17.87, allocations: 0 / 7.427 GB, free: 86.8 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.004122/17.88, allocations: 0.5705 MB / 7.428 GB, free: 86.71 MB / 0.9324 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.07942/17.96, allocations: 22.01 MB / 7.449 GB, free: 78.58 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/17.96, allocations: 11.28 kB / 7.449 GB, free: 78.58 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02486/17.98, allocations: 3.91 MB / 7.453 GB, free: 77.29 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06945/18.05, allocations: 27.68 MB / 7.48 GB, free: 73.68 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/18.05, allocations: 1.251 MB / 7.481 GB, free: 73.64 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007857/18.06, allocations: 1.668 MB / 7.483 GB, free: 73.62 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07531/18.13, allocations: 25.52 MB / 7.508 GB, free: 66.83 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001271/18.14, allocations: 70.33 kB / 7.508 GB, free: 66.76 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007549/18.14, allocations: 0.7102 MB / 7.509 GB, free: 66.06 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000864/18.14, allocations: 0.8817 MB / 7.509 GB, free: 65.24 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05881/18.2, allocations: 22.68 MB / 7.532 GB, free: 46.17 MB / 0.9324 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.8451/19.05, allocations: 97.77 MB / 7.627 GB, free: 65.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02846/19.08, allocations: 15.83 MB / 7.643 GB, free: 64.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01603/19.09, allocations: 8.509 MB / 7.651 GB, free: 64.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002491/19.1, allocations: 2.033 MB / 7.653 GB, free: 62.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01925/19.11, allocations: 7.898 MB / 7.661 GB, free: 62.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.486e-05/19.11, allocations: 0 / 7.661 GB, free: 62.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.05993/19.17, allocations: 20.27 MB / 7.68 GB, free: 62.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/19.17, allocations: 419.1 kB / 7.681 GB, free: 61.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04559/19.22, allocations: 17.44 MB / 7.698 GB, free: 61.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003367/19.22, allocations: 226.6 kB / 7.698 GB, free: 61.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01543/19.24, allocations: 9.754 MB / 7.708 GB, free: 59.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006985/19.25, allocations: 3.62 MB / 7.711 GB, free: 57.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003193/19.25, allocations: 256.6 kB / 7.711 GB, free: 57.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001825/19.25, allocations: 0.8331 MB / 7.712 GB, free: 57.16 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01616/19.27, allocations: 6.936 MB / 7.719 GB, free: 57.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02034/19.29, allocations: 10.62 MB / 7.729 GB, free: 53.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03736/19.33, allocations: 18.36 MB / 7.747 GB, free: 48.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000253/19.33, allocations: 33.09 kB / 7.747 GB, free: 48.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.05428/19.38, allocations: 19.57 MB / 7.766 GB, free: 47.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002542/19.38, allocations: 3.327 MB / 7.77 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003158/19.38, allocations: 108.1 kB / 7.77 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002956/19.38, allocations: 173.2 kB / 7.77 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0186/19.4, allocations: 3.307 MB / 7.773 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006248/19.4, allocations: 238.4 kB / 7.773 GB, free: 43.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02483/19.43, allocations: 2.245 MB / 7.776 GB, free: 43.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00425/19.43, allocations: 0.6315 MB / 7.776 GB, free: 43.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/19.43, allocations: 3.656 kB / 7.776 GB, free: 43.03 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04768/19.48, allocations: 18.15 MB / 7.794 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004115/19.48, allocations: 106 kB / 7.794 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/19.48, allocations: 173 kB / 7.794 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0166/19.5, allocations: 3.305 MB / 7.797 GB, free: 42.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/19.5, allocations: 240.1 kB / 7.798 GB, free: 42.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02352/19.52, allocations: 2.036 MB / 7.8 GB, free: 41.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004215/19.53, allocations: 0.627 MB / 7.8 GB, free: 41.68 MB / 0.948 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.0214/19.55, allocations: 7.624 MB / 7.808 GB, free: 41.23 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008352/19.55, allocations: 1.667 MB / 7.809 GB, free: 40.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0521/19.61, allocations: 16.46 MB / 7.825 GB, free: 50.9 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-05/19.61, allocations: 98.03 kB / 7.825 GB, free: 50.9 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/19.61, allocations: 0.5 kB / 7.825 GB, free: 50.9 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03164/19.64, allocations: 13.03 MB / 7.838 GB, free: 46.41 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1017/19.74, allocations: 37.79 MB / 7.875 GB, free: 32 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/19.74, allocations: 0 / 7.875 GB, free: 32 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01313/19.75, allocations: 2.618 MB / 7.878 GB, free: 31.83 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/19.75, allocations: 36.62 kB / 7.878 GB, free: 31.83 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002277/19.76, allocations: 335.2 kB / 7.878 GB, free: 31.68 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00012/19.76, allocations: 34.41 kB / 7.878 GB, free: 31.68 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/19.76, allocations: 7.234 kB / 7.878 GB, free: 31.68 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05489/19.81, allocations: 23.96 MB / 7.901 GB, free: 14.14 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01562/19.83, allocations: 4.22 MB / 7.906 GB, free: 10.49 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007899/19.83, allocations: 225.5 kB / 7.906 GB, free: 10.29 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01968/19.85, allocations: 1.307 MB / 7.907 GB, free: 9.316 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003039/19.86, allocations: 0.5882 MB / 7.908 GB, free: 8.941 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003473/19.86, allocations: 499.5 kB / 7.908 GB, free: 8.578 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.03433/19.9, allocations: 12.35 MB / 7.92 GB, free: 14.92 MB / 0.9793 GB Notification: Performance of sort global known variables: time 5.81e-07/19.9, allocations: 0 / 7.92 GB, free: 14.92 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.05019/19.95, allocations: 10.58 MB / 7.93 GB, free: 4.391 MB / 0.9793 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.007801/19.95, allocations: 1.872 MB / 7.932 GB, free: 3.277 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.07325/20.03, allocations: 26.48 MB / 7.958 GB, free: 20 kB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 0.5954/20.62, allocations: 19.97 kB / 7.958 GB, free: 146.9 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.01818/20.64, allocations: 7.182 MB / 7.965 GB, free: 146.8 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07429/20.72, allocations: 10.91 MB / 7.976 GB, free: 146.7 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/20.83, allocations: 52.72 MB / 8.027 GB, free: 128.1 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03354/20.87, allocations: 12.84 MB / 8.04 GB, free: 126.7 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.05849/20.93, allocations: 11.05 MB / 8.051 GB, free: 124.8 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01156/20.94, allocations: 1.568 MB / 8.052 GB, free: 124.8 MB / 0.9949 GB Notification: Performance of SimCode: time 1.823e-06/20.94, allocations: 0.6562 kB / 8.052 GB, free: 124.8 MB / 0.9949 GB Notification: Performance of Templates: time 1.246/22.18, allocations: 362.7 MB / 8.406 GB, free: 170.1 MB / 1.026 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)