Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") translateModel(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.837/1.837, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 192 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 99.3 kB / 0.7808 GB, free: 43.55 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 15.98 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.789, allocations: 120.3 MB / 1.026 GB, free: 56.06 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.781/6.57, allocations: 2.19 GB / 3.216 GB, free: 317.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/6.57, allocations: 96.81 kB / 3.216 GB, free: 317.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 16.5/23.07, allocations: 4.152 GB / 7.368 GB, free: 11.28 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.417e-06/23.07, allocations: 0 / 7.368 GB, free: 11.28 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.005116/23.08, allocations: 0.5658 MB / 7.368 GB, free: 10.71 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4512 * Number of variables: 4512 Notification: Performance of Generate backend data structure: time 1.524/24.6, allocations: 21.92 MB / 7.39 GB, free: 83.56 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/24.6, allocations: 9.531 kB / 7.39 GB, free: 83.56 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03034/24.63, allocations: 3.769 MB / 7.394 GB, free: 82.32 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08769/24.72, allocations: 27.69 MB / 7.421 GB, free: 79.44 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002787/24.72, allocations: 1.25 MB / 7.422 GB, free: 79.41 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01391/24.74, allocations: 1.675 MB / 7.423 GB, free: 79.39 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1036/24.84, allocations: 25.88 MB / 7.449 GB, free: 76.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002683/24.84, allocations: 71.06 kB / 7.449 GB, free: 76.76 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01248/24.85, allocations: 0.7253 MB / 7.449 GB, free: 76.76 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/24.86, allocations: 0.8768 MB / 7.45 GB, free: 76.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08124/24.94, allocations: 22.58 MB / 7.472 GB, free: 76.59 MB / 1.042 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.2251/25.16, allocations: 98.23 MB / 7.568 GB, free: 56.05 MB / 1.058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03374/25.2, allocations: 15.65 MB / 7.584 GB, free: 55.38 MB / 1.058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01917/25.22, allocations: 8.44 MB / 7.592 GB, free: 55.27 MB / 1.058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/25.22, allocations: 2.026 MB / 7.594 GB, free: 53.29 MB / 1.058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02387/25.24, allocations: 8.502 MB / 7.602 GB, free: 52.64 MB / 1.058 GB Notification: Performance of pre-optimization done (n=1022): time 2.076e-05/25.24, allocations: 0 / 7.602 GB, free: 52.64 MB / 1.058 GB Notification: Performance of matching and sorting (n=1022): time 0.07438/25.32, allocations: 20.13 MB / 7.622 GB, free: 45.69 MB / 1.058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003218/25.32, allocations: 417.3 kB / 7.622 GB, free: 45.3 MB / 1.058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07448/25.39, allocations: 17.5 MB / 7.639 GB, free: 39.55 MB / 1.058 GB Notification: Performance of collectPreVariables (initialization): time 0.0061/25.4, allocations: 232 kB / 7.639 GB, free: 39.38 MB / 1.058 GB Notification: Performance of collectInitialEqns (initialization): time 0.0252/25.42, allocations: 9.721 MB / 7.649 GB, free: 31.91 MB / 1.058 GB Notification: Performance of collectInitialBindings (initialization): time 0.011/25.44, allocations: 3.58 MB / 7.652 GB, free: 29.18 MB / 1.058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003906/25.44, allocations: 254 kB / 7.653 GB, free: 28.98 MB / 1.058 GB Notification: Performance of setup shared object (initialization): time 0.001879/25.44, allocations: 0.8264 MB / 7.654 GB, free: 28.45 MB / 1.058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02496/25.47, allocations: 6.879 MB / 7.66 GB, free: 26.18 MB / 1.058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03149/25.5, allocations: 10.55 MB / 7.671 GB, free: 19.55 MB / 1.058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04362/25.54, allocations: 18.25 MB / 7.688 GB, free: 10.01 MB / 1.058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002447/25.54, allocations: 31.12 kB / 7.688 GB, free: 10.01 MB / 1.058 GB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.06443/25.61, allocations: 19.43 MB / 7.707 GB, free: 3 MB / 1.058 GB Notification: Performance of prepare postOptimizeDAE: time 0.00419/25.61, allocations: 3.32 MB / 7.711 GB, free: 14.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003684/25.61, allocations: 105.5 kB / 7.711 GB, free: 14.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003822/25.61, allocations: 178.1 kB / 7.711 GB, free: 14.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01884/25.63, allocations: 3.255 MB / 7.714 GB, free: 14.17 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005874/25.63, allocations: 241.3 kB / 7.714 GB, free: 14.12 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02885/25.66, allocations: 2.246 MB / 7.716 GB, free: 13.02 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005144/25.67, allocations: 0.6237 MB / 7.717 GB, free: 12.92 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/25.67, allocations: 6.281 kB / 7.717 GB, free: 12.92 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05957/25.73, allocations: 18 MB / 7.735 GB, free: 3.602 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004374/25.73, allocations: 111.9 kB / 7.735 GB, free: 3.492 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003017/25.73, allocations: 172 kB / 7.735 GB, free: 3.324 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/25.74, allocations: 3.256 MB / 7.738 GB, free: 0.6172 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005/25.75, allocations: 241.6 kB / 7.738 GB, free: 412 kB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02665/25.77, allocations: 2.02 MB / 7.74 GB, free: 14.69 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005128/25.78, allocations: 0.6169 MB / 7.741 GB, free: 14.14 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1638): * Single equations (assignments): 1638 * 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.02739/25.8, allocations: 7.633 MB / 7.748 GB, free: 7.926 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01084/25.82, allocations: 1.671 MB / 7.75 GB, free: 6.234 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0707/25.89, allocations: 16.76 MB / 7.766 GB, free: 9.914 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001539/25.89, allocations: 100 kB / 7.767 GB, free: 9.816 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-05/25.89, allocations: 0 / 7.767 GB, free: 9.816 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.9527/26.84, allocations: 13.16 MB / 7.779 GB, free: 134.3 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1287/26.97, allocations: 38.12 MB / 7.817 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.327e-05/26.97, allocations: 17.72 kB / 7.817 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01594/26.98, allocations: 2.596 MB / 7.819 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/26.98, allocations: 50.16 kB / 7.819 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003613/26.99, allocations: 343.1 kB / 7.82 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001559/26.99, allocations: 60.36 kB / 7.82 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-05/26.99, allocations: 27.41 kB / 7.82 GB, free: 132.7 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06862/27.06, allocations: 24.23 MB / 7.843 GB, free: 130.9 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02055/27.08, allocations: 4.377 MB / 7.848 GB, free: 130.6 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01083/27.09, allocations: 241.3 kB / 7.848 GB, free: 130.6 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02695/27.12, allocations: 1.189 MB / 7.849 GB, free: 130.6 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004453/27.12, allocations: 0.6278 MB / 7.85 GB, free: 130.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003914/27.12, allocations: 0.5486 MB / 7.85 GB, free: 130.6 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.03768/27.16, allocations: 12.6 MB / 7.862 GB, free: 130.1 MB / 1.104 GB Notification: Performance of sort global known variables: time 4.11e-07/27.16, allocations: 1.156 kB / 7.862 GB, free: 130.1 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.06612/27.23, allocations: 10.55 MB / 7.873 GB, free: 129.3 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1043): * Single equations (assignments): 1037 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.007841/27.24, allocations: 1.656 MB / 7.874 GB, free: 129.1 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0654/27.3, allocations: 25.12 MB / 7.899 GB, free: 128.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 7.65e-05/27.3, allocations: 17.8 kB / 7.899 GB, free: 128.8 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.02019/27.32, allocations: 7.024 MB / 7.906 GB, free: 128.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1337/27.45, allocations: 11.47 MB / 7.917 GB, free: 128.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1093/27.56, allocations: 52.94 MB / 7.969 GB, free: 109.2 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0274/27.59, allocations: 12.82 MB / 7.981 GB, free: 107.9 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.05868/27.65, allocations: 11.21 MB / 7.992 GB, free: 105.9 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01065/27.66, allocations: 1.6 MB / 7.994 GB, free: 105.9 MB / 1.104 GB Notification: Performance of SimCode: time 2.675e-06/27.66, allocations: 0 / 7.994 GB, free: 105.9 MB / 1.104 GB Notification: Performance of Templates: time 1.477/29.14, allocations: 378.5 MB / 8.363 GB, free: 125.7 MB / 1.104 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)