Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 285.4 MB / 298 MB, free: 6 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.001149/0.00115, allocations: 173 kB / 366.4 MB, free: 2.121 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.46/1.46, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0008165/0.0008166, allocations: 78.88 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.992e-05, allocations: 7.984 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6339, allocations: 115.3 MB / 0.9709 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.549/6.183, allocations: 2.359 GB / 3.33 GB, free: 93.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/6.183, allocations: 91.66 kB / 3.33 GB, free: 93.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 17.92/24.1, allocations: 4.159 GB / 7.489 GB, free: 3.852 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.435e-06/24.1, allocations: 0 / 7.489 GB, free: 3.852 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.005189/24.1, allocations: 0.558 MB / 7.49 GB, free: 3.293 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.7836/24.89, allocations: 18.14 MB / 7.508 GB, free: 108.2 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/24.89, allocations: 10.09 kB / 7.508 GB, free: 108.2 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03172/24.92, allocations: 3.916 MB / 7.511 GB, free: 107 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0853/25.01, allocations: 28.87 MB / 7.54 GB, free: 104.6 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00219/25.01, allocations: 1.244 MB / 7.541 GB, free: 104.6 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01106/25.02, allocations: 1.675 MB / 7.543 GB, free: 104.6 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09145/25.11, allocations: 24.8 MB / 7.567 GB, free: 101.9 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001503/25.11, allocations: 72.28 kB / 7.567 GB, free: 101.9 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009003/25.12, allocations: 0.7173 MB / 7.568 GB, free: 101.9 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/25.12, allocations: 0.8769 MB / 7.568 GB, free: 101.9 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05959/25.18, allocations: 21.07 MB / 7.589 GB, free: 101.7 MB / 1.011 GB Warning: The model contains alias variables with conflicting start and/or 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.204/25.39, allocations: 99.12 MB / 7.686 GB, free: 65.02 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02618/25.41, allocations: 15.08 MB / 7.7 GB, free: 64.36 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01444/25.43, allocations: 7.913 MB / 7.708 GB, free: 63.78 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/25.43, allocations: 2.032 MB / 7.71 GB, free: 61.75 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01693/25.45, allocations: 7.484 MB / 7.717 GB, free: 59.15 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 1.424e-05/25.45, allocations: 0 / 7.717 GB, free: 59.15 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.03762/25.48, allocations: 13.29 MB / 7.73 GB, free: 54.2 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002238/25.48, allocations: 422.2 kB / 7.731 GB, free: 53.81 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04197/25.53, allocations: 17.22 MB / 7.748 GB, free: 47.95 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.004123/25.53, allocations: 245.9 kB / 7.748 GB, free: 47.77 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01353/25.54, allocations: 9.769 MB / 7.757 GB, free: 40.26 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.007986/25.55, allocations: 3.624 MB / 7.761 GB, free: 37.49 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002052/25.55, allocations: 261.2 kB / 7.761 GB, free: 37.29 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001184/25.56, allocations: 0.8378 MB / 7.762 GB, free: 36.75 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01124/25.57, allocations: 6.329 MB / 7.768 GB, free: 34.45 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01604/25.58, allocations: 9.96 MB / 7.778 GB, free: 27.78 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/25.6, allocations: 8.325 MB / 7.786 GB, free: 24.93 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001175/25.6, allocations: 34.44 kB / 7.786 GB, free: 24.93 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.04679/25.65, allocations: 18.37 MB / 7.804 GB, free: 18.43 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.02551/25.67, allocations: 72.17 MB / 7.875 GB, free: 7.102 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003855/25.67, allocations: 110.2 kB / 7.875 GB, free: 6.996 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/25.67, allocations: 192 kB / 7.875 GB, free: 6.809 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01846/25.69, allocations: 3.531 MB / 7.878 GB, free: 3.941 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/25.69, allocations: 243 kB / 7.879 GB, free: 3.727 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02775/25.72, allocations: 2.402 MB / 7.881 GB, free: 1.688 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004577/25.72, allocations: 0.6259 MB / 7.881 GB, free: 1.129 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/25.72, allocations: 4 kB / 7.881 GB, free: 1.125 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.9454/26.67, allocations: 18.71 MB / 7.9 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003261/26.67, allocations: 106.7 kB / 7.9 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/26.67, allocations: 186.2 kB / 7.9 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/26.69, allocations: 3.533 MB / 7.903 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000409/26.69, allocations: 241.7 kB / 7.904 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02682/26.72, allocations: 2.15 MB / 7.906 GB, free: 162.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00448/26.72, allocations: 0.6266 MB / 7.906 GB, free: 162.8 MB / 1.073 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 () * 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.007366/26.73, allocations: 0.8993 MB / 7.907 GB, free: 162.7 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01067/26.74, allocations: 1.681 MB / 7.909 GB, free: 162.7 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07369/26.81, allocations: 15.34 MB / 7.924 GB, free: 162.2 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001648/26.81, allocations: 104.9 kB / 7.924 GB, free: 162.2 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-05/26.81, allocations: 0 / 7.924 GB, free: 162.2 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03848/26.85, allocations: 11.87 MB / 7.936 GB, free: 161.9 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1094/26.96, allocations: 37.35 MB / 7.972 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/26.96, allocations: 2.688 kB / 7.972 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01331/26.97, allocations: 2.496 MB / 7.975 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/26.97, allocations: 35.59 kB / 7.975 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002157/26.98, allocations: 335 kB / 7.975 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.616e-05/26.98, allocations: 38.7 kB / 7.975 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/26.98, allocations: 0.6094 kB / 7.975 GB, free: 160.2 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04741/27.02, allocations: 22.85 MB / 7.997 GB, free: 158 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01948/27.04, allocations: 4.582 MB / 8.002 GB, free: 157 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01101/27.05, allocations: 225.2 kB / 8.002 GB, free: 157 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02737/27.08, allocations: 1.345 MB / 8.003 GB, free: 156.9 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003527/27.08, allocations: 0.5806 MB / 8.004 GB, free: 156.9 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004477/27.09, allocations: 0.5389 MB / 8.004 GB, free: 156.9 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03489/27.12, allocations: 13.49 MB / 8.018 GB, free: 156.4 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.773e-06/27.12, allocations: 0 / 8.018 GB, free: 156.4 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06013/27.18, allocations: 10.74 MB / 8.028 GB, free: 155.1 MB / 1.073 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) * 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.009908/27.19, allocations: 1.849 MB / 8.03 GB, free: 154.9 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06135/27.26, allocations: 24.29 MB / 8.054 GB, free: 154.5 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.674e-05/27.26, allocations: 20.23 kB / 8.054 GB, free: 154.5 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01464/27.27, allocations: 6.62 MB / 8.06 GB, free: 154.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06644/27.34, allocations: 10.91 MB / 8.071 GB, free: 154.2 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09975/27.44, allocations: 39.11 MB / 8.109 GB, free: 146 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02732/27.46, allocations: 13.24 MB / 8.122 GB, free: 144 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.08048/27.54, allocations: 17.77 MB / 8.139 GB, free: 133 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007573/27.55, allocations: 1.267 MB / 8.14 GB, free: 131.9 MB / 1.073 GB Notification: Performance of SimCode: time 1.203e-06/27.55, allocations: 1.781 kB / 8.14 GB, free: 131.9 MB / 1.073 GB Notification: Performance of Templates: time 1.618/29.17, allocations: 392.9 MB / 8.524 GB, free: 105.1 MB / 1.073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)