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.699/1.699, allocations: 288.4 MB / 304.3 MB, free: 8.051 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.001284/0.001284, allocations: 178.7 kB / 372.9 MB, free: 10.15 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.885/1.885, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 106.1 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 12.03 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2773, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.665/5.942, allocations: 2.36 GB / 3.34 GB, free: 294.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/5.943, allocations: 99.94 kB / 3.34 GB, free: 294.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.02/21.97, allocations: 4.145 GB / 7.486 GB, free: 103.1 MB / 1.011 GB Notification: Performance of FrontEnd: time 3.657e-06/21.97, allocations: 0 / 7.486 GB, free: 103.1 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.00569/21.97, allocations: 0.5673 MB / 7.486 GB, free: 103 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.09373/22.07, allocations: 22.04 MB / 7.508 GB, free: 94.9 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/22.07, allocations: 6.844 kB / 7.508 GB, free: 94.9 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03301/22.1, allocations: 3.931 MB / 7.512 GB, free: 93.6 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09366/22.19, allocations: 27.81 MB / 7.539 GB, free: 90.34 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002027/22.2, allocations: 1.244 MB / 7.54 GB, free: 90.3 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01052/22.21, allocations: 1.678 MB / 7.542 GB, free: 90.29 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09495/22.3, allocations: 25.86 MB / 7.567 GB, free: 87.43 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001811/22.3, allocations: 66.03 kB / 7.567 GB, free: 87.4 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01254/22.32, allocations: 0.7213 MB / 7.568 GB, free: 87.4 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001628/22.32, allocations: 0.8782 MB / 7.569 GB, free: 87.34 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07141/22.39, allocations: 22.67 MB / 7.591 GB, free: 82.79 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 0.9708/23.36, allocations: 98.14 MB / 7.687 GB, free: 101.6 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0402/23.4, allocations: 15.81 MB / 7.702 GB, free: 100.9 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02093/23.42, allocations: 8.515 MB / 7.71 GB, free: 100.8 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003199/23.42, allocations: 2.032 MB / 7.712 GB, free: 98.8 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02349/23.45, allocations: 8.096 MB / 7.72 GB, free: 98.56 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 1.562e-05/23.45, allocations: 1.422 kB / 7.72 GB, free: 98.56 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.06908/23.52, allocations: 20.28 MB / 7.74 GB, free: 98.21 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002207/23.52, allocations: 423.1 kB / 7.74 GB, free: 97.82 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0533/23.57, allocations: 17.45 MB / 7.757 GB, free: 97.01 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.004354/23.57, allocations: 237 kB / 7.758 GB, free: 96.98 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01712/23.59, allocations: 9.752 MB / 7.767 GB, free: 95.72 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.009302/23.6, allocations: 3.613 MB / 7.771 GB, free: 93.91 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/23.6, allocations: 261.7 kB / 7.771 GB, free: 93.91 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001256/23.6, allocations: 0.841 MB / 7.772 GB, free: 93.58 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01711/23.62, allocations: 6.93 MB / 7.779 GB, free: 93.55 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02024/23.64, allocations: 10.61 MB / 7.789 GB, free: 89.45 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03915/23.68, allocations: 18.36 MB / 7.807 GB, free: 85.38 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003323/23.68, allocations: 32.88 kB / 7.807 GB, free: 85.38 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.06168/23.74, allocations: 19.58 MB / 7.826 GB, free: 84.25 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002817/23.75, allocations: 3.323 MB / 7.829 GB, free: 80.25 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/23.75, allocations: 114.7 kB / 7.829 GB, free: 80.25 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/23.75, allocations: 170.5 kB / 7.829 GB, free: 80.25 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/23.76, allocations: 3.302 MB / 7.833 GB, free: 80.25 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/23.77, allocations: 242.2 kB / 7.833 GB, free: 80.25 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02702/23.79, allocations: 2.256 MB / 7.835 GB, free: 79.48 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004892/23.8, allocations: 0.6283 MB / 7.836 GB, free: 79.48 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/23.8, allocations: 5.438 kB / 7.836 GB, free: 79.48 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0536/23.85, allocations: 18.14 MB / 7.853 GB, free: 79.21 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004383/23.85, allocations: 109.9 kB / 7.854 GB, free: 79.21 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/23.85, allocations: 173.4 kB / 7.854 GB, free: 79.21 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/23.87, allocations: 3.303 MB / 7.857 GB, free: 79.05 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004039/23.87, allocations: 242.6 kB / 7.857 GB, free: 79 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02513/23.9, allocations: 2.032 MB / 7.859 GB, free: 78.38 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004605/23.9, allocations: 0.626 MB / 7.86 GB, free: 78.38 MB / 1.011 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.02471/23.92, allocations: 7.638 MB / 7.867 GB, free: 77.92 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009369/23.93, allocations: 1.678 MB / 7.869 GB, free: 77.06 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05651/23.99, allocations: 16.45 MB / 7.885 GB, free: 76.49 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001789/23.99, allocations: 101.3 kB / 7.885 GB, free: 76.49 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001033/23.99, allocations: 7.406 kB / 7.885 GB, free: 76.49 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04495/24.04, allocations: 13.02 MB / 7.898 GB, free: 72.23 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1255/24.16, allocations: 38.03 MB / 7.935 GB, free: 57.73 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/24.16, allocations: 7.359 kB / 7.935 GB, free: 57.73 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01625/24.18, allocations: 2.613 MB / 7.937 GB, free: 57.56 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/24.18, allocations: 34.62 kB / 7.938 GB, free: 57.56 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003514/24.18, allocations: 336.3 kB / 7.938 GB, free: 57.41 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001664/24.18, allocations: 34 kB / 7.938 GB, free: 57.41 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/24.18, allocations: 4.562 kB / 7.938 GB, free: 57.41 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06828/24.25, allocations: 23.98 MB / 7.961 GB, free: 47.64 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02072/24.27, allocations: 4.315 MB / 7.966 GB, free: 43.94 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009866/24.28, allocations: 225 kB / 7.966 GB, free: 43.73 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02377/24.3, allocations: 1.325 MB / 7.967 GB, free: 42.86 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003657/24.31, allocations: 0.5839 MB / 7.968 GB, free: 42.48 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004641/24.31, allocations: 0.5397 MB / 7.968 GB, free: 42.09 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.03248/24.35, allocations: 12.24 MB / 7.98 GB, free: 32.21 MB / 1.011 GB Notification: Performance of sort global known variables: time 4e-07/24.35, allocations: 0 / 7.98 GB, free: 32.21 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05495/24.4, allocations: 10.62 MB / 7.99 GB, free: 21.64 MB / 1.011 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.008523/24.41, allocations: 1.902 MB / 7.992 GB, free: 20.58 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.06846/24.48, allocations: 25.92 MB / 8.018 GB, free: 0 / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-05/24.48, allocations: 32.3 kB / 8.018 GB, free: 15.98 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0203/24.5, allocations: 7.179 MB / 8.025 GB, free: 9.898 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08861/24.59, allocations: 10.97 MB / 8.035 GB, free: 2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.918/25.5, allocations: 54.04 MB / 8.088 GB, free: 123.7 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04342/25.55, allocations: 12.85 MB / 8.101 GB, free: 122.6 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.07019/25.62, allocations: 11.13 MB / 8.112 GB, free: 122.4 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01211/25.63, allocations: 1.58 MB / 8.113 GB, free: 122.4 MB / 1.057 GB Notification: Performance of SimCode: time 1.593e-06/25.63, allocations: 0 / 8.113 GB, free: 122.4 MB / 1.057 GB Notification: Performance of Templates: time 1.405/27.04, allocations: 366.7 MB / 8.471 GB, free: 193.7 MB / 1.12 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)