Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.438/2.438, allocations: 284.9 MB / 292.4 MB, free: 10.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.00149/0.00149, allocations: 180.8 kB / 360.6 MB, free: 7.316 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.112/2.112, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001079/0.001078, allocations: 83.73 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.3e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.829, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.087/7.916, allocations: 2.355 GB / 3.319 GB, free: 126.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/7.916, allocations: 91.2 kB / 3.319 GB, free: 126.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.85/30.76, allocations: 4.135 GB / 7.454 GB, free: 59.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.484e-06/30.76, allocations: 0 / 7.454 GB, free: 59.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004723/30.77, allocations: 0.5654 MB / 7.454 GB, free: 59.1 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.08056/30.85, allocations: 17.99 MB / 7.472 GB, free: 40.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/30.85, allocations: 8.031 kB / 7.472 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03496/30.88, allocations: 3.707 MB / 7.475 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1189/31, allocations: 28.74 MB / 7.503 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00125/31, allocations: 0.5273 MB / 7.504 GB, free: 8.047 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008492/31.01, allocations: 0.9724 MB / 7.505 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.871/31.88, allocations: 19.35 MB / 7.524 GB, free: 85.03 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08802/31.97, allocations: 22.31 MB / 7.546 GB, free: 82.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001477/31.97, allocations: 66.25 kB / 7.546 GB, free: 82.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008701/31.98, allocations: 38.33 kB / 7.546 GB, free: 82.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001291/31.98, allocations: 0.8807 MB / 7.546 GB, free: 82.45 MB / 0.9948 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.2581/32.24, allocations: 95.46 MB / 7.64 GB, free: 63.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0376/32.28, allocations: 14.53 MB / 7.654 GB, free: 63.03 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02/32.3, allocations: 7.506 MB / 7.661 GB, free: 62.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004059/32.3, allocations: 2.031 MB / 7.663 GB, free: 60.94 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02342/32.33, allocations: 7.517 MB / 7.671 GB, free: 60.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1020): time 2.328e-05/32.33, allocations: 1.875 kB / 7.671 GB, free: 60.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=1020): time 0.2829/32.61, allocations: 21.98 MB / 7.692 GB, free: 59.73 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/32.61, allocations: 416.2 kB / 7.692 GB, free: 59.35 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04368/32.65, allocations: 14.78 MB / 7.707 GB, free: 58.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003774/32.66, allocations: 46.16 kB / 7.707 GB, free: 58.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01696/32.67, allocations: 9.6 MB / 7.716 GB, free: 55.54 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00799/32.68, allocations: 3.443 MB / 7.72 GB, free: 53.29 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003345/32.69, allocations: 0 / 7.72 GB, free: 53.29 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00167/32.69, allocations: 0.8306 MB / 7.72 GB, free: 52.95 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01731/32.7, allocations: 6.018 MB / 7.726 GB, free: 52.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02047/32.72, allocations: 9.564 MB / 7.736 GB, free: 48.86 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2599/32.98, allocations: 17.48 MB / 7.753 GB, free: 47.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001736/32.99, allocations: 29.09 kB / 7.753 GB, free: 47.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.2942/33.28, allocations: 26.34 MB / 7.778 GB, free: 40.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.02881/33.31, allocations: 67.9 MB / 7.845 GB, free: 33.03 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004654/33.31, allocations: 109.4 kB / 7.845 GB, free: 33.03 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/33.31, allocations: 184.9 kB / 7.845 GB, free: 33.03 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03228/33.34, allocations: 3.466 MB / 7.848 GB, free: 32.89 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003599/33.34, allocations: 242.2 kB / 7.849 GB, free: 32.89 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03539/33.38, allocations: 1.935 MB / 7.851 GB, free: 32.05 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00467/33.38, allocations: 0.6187 MB / 7.851 GB, free: 31.95 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/33.38, allocations: 3.219 kB / 7.851 GB, free: 31.95 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2898/33.67, allocations: 24.81 MB / 7.875 GB, free: 26.16 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005889/33.67, allocations: 106.7 kB / 7.876 GB, free: 26.16 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/33.67, allocations: 190.5 kB / 7.876 GB, free: 26.16 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03207/33.7, allocations: 3.468 MB / 7.879 GB, free: 25.86 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003314/33.71, allocations: 240.2 kB / 7.879 GB, free: 25.81 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03206/33.74, allocations: 1.681 MB / 7.881 GB, free: 25.15 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004444/33.74, allocations: 0.6118 MB / 7.882 GB, free: 25.05 MB / 1.073 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * 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.007797/33.75, allocations: 484.5 kB / 7.882 GB, free: 24.64 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2826/34.03, allocations: 21.98 MB / 7.903 GB, free: 10.76 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008884/34.04, allocations: 1.521 MB / 7.905 GB, free: 9.219 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.18/35.22, allocations: 25.31 MB / 7.93 GB, free: 153.3 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/35.22, allocations: 98.22 kB / 7.93 GB, free: 153.3 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/35.22, allocations: 3.406 kB / 7.93 GB, free: 153.3 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2772/35.5, allocations: 20.67 MB / 7.95 GB, free: 152.9 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3733/35.87, allocations: 43.89 MB / 7.993 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001759/35.87, allocations: 19.02 kB / 7.993 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0393/35.91, allocations: 2.458 MB / 7.995 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/35.91, allocations: 52.09 kB / 7.995 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004331/35.92, allocations: 229.8 kB / 7.996 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003434/35.92, allocations: 59.58 kB / 7.996 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-05/35.92, allocations: 21.47 kB / 7.996 GB, free: 151.5 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3618/36.28, allocations: 36.74 MB / 8.031 GB, free: 143.8 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02067/36.3, allocations: 4.414 MB / 8.036 GB, free: 143.1 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009272/36.31, allocations: 81 kB / 8.036 GB, free: 143.1 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03117/36.34, allocations: 1.006 MB / 8.037 GB, free: 143 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003511/36.34, allocations: 0.6254 MB / 8.037 GB, free: 143 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004302/36.35, allocations: 0.5452 MB / 8.038 GB, free: 143 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03475/36.38, allocations: 11.35 MB / 8.049 GB, free: 142.6 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.81e-07/36.38, allocations: 6.281 kB / 8.049 GB, free: 142.6 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06026/36.44, allocations: 10.28 MB / 8.059 GB, free: 141.7 MB / 1.073 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * 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.3252/36.77, allocations: 39.46 MB / 8.098 GB, free: 131.9 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06157/36.83, allocations: 22.71 MB / 8.12 GB, free: 131.6 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-05/36.83, allocations: 17.73 kB / 8.12 GB, free: 131.6 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/36.85, allocations: 6.259 MB / 8.126 GB, free: 131.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1168/36.96, allocations: 9.284 MB / 8.135 GB, free: 130.9 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1453/37.11, allocations: 43.96 MB / 8.178 GB, free: 121.4 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03296/37.14, allocations: 13.19 MB / 8.191 GB, free: 116.1 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.1002/37.24, allocations: 16.27 MB / 8.207 GB, free: 105.3 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0275/37.27, allocations: 8.697 MB / 8.215 GB, free: 103.3 MB / 1.073 GB Notification: Performance of SimCode: time 1.784e-06/37.27, allocations: 0 / 8.215 GB, free: 103.3 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.971/40.24, allocations: 483.1 MB / 8.687 GB, free: 2.223 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/40.24, allocations: 189.7 kB / 8.687 GB, free: 2.027 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.58/71.82, allocations: 0 / 8.687 GB, free: 2.027 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)