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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.701/1.701, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001439/0.001439, allocations: 188.9 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001141/0.001141, allocations: 86.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004058, allocations: 9.219 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.331/6.643, allocations: 2.476 GB / 3.376 GB, free: 31.16 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/6.644, allocations: 99.88 kB / 3.376 GB, free: 31.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 16.96/23.61, allocations: 4.073 GB / 7.449 GB, free: 80.85 MB / 0.9324 GB Notification: Performance of FrontEnd: time 2.685e-06/23.61, allocations: 0 / 7.449 GB, free: 80.85 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.004876/23.61, allocations: 0.5666 MB / 7.45 GB, free: 80.74 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.09222/23.7, allocations: 22.24 MB / 7.471 GB, free: 72.39 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/23.7, allocations: 11.78 kB / 7.471 GB, free: 72.39 MB / 0.9324 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01488/23.72, allocations: 2.348 MB / 7.474 GB, free: 72.24 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03064/23.75, allocations: 3.915 MB / 7.478 GB, free: 70.51 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08665/23.84, allocations: 28.85 MB / 7.506 GB, free: 44 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001667/23.84, allocations: 1.246 MB / 7.507 GB, free: 42.76 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01022/23.85, allocations: 1.677 MB / 7.509 GB, free: 41.1 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08424/23.93, allocations: 25.39 MB / 7.533 GB, free: 14.9 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001646/23.93, allocations: 63.48 kB / 7.533 GB, free: 14.84 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009642/23.94, allocations: 0.7137 MB / 7.534 GB, free: 14.14 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008416/23.95, allocations: 0.8757 MB / 7.535 GB, free: 13.26 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06939/24.01, allocations: 22.68 MB / 7.557 GB, free: 6.551 MB / 0.948 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.9321/24.95, allocations: 98.76 MB / 7.654 GB, free: 63.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0322/24.98, allocations: 16.08 MB / 7.669 GB, free: 62.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002854/24.98, allocations: 2.039 MB / 7.671 GB, free: 60.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02024/25, allocations: 7.84 MB / 7.679 GB, free: 60.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1035): time 1.279e-05/25, allocations: 2 kB / 7.679 GB, free: 60.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=1035): time 0.05889/25.06, allocations: 20.22 MB / 7.699 GB, free: 59.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/25.06, allocations: 417.7 kB / 7.699 GB, free: 58.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04448/25.11, allocations: 17.38 MB / 7.716 GB, free: 57.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003789/25.11, allocations: 227.6 kB / 7.716 GB, free: 57.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01563/25.13, allocations: 9.771 MB / 7.726 GB, free: 55.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006539/25.13, allocations: 3.614 MB / 7.729 GB, free: 53.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/25.13, allocations: 259.4 kB / 7.73 GB, free: 53.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0009852/25.13, allocations: 0.8369 MB / 7.73 GB, free: 53.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01536/25.15, allocations: 6.911 MB / 7.737 GB, free: 53.22 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01909/25.17, allocations: 10.55 MB / 7.747 GB, free: 49.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/25.19, allocations: 8.87 MB / 7.756 GB, free: 48.98 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/25.19, allocations: 30.03 kB / 7.756 GB, free: 48.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.04851/25.24, allocations: 19.54 MB / 7.775 GB, free: 44.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.03623/25.27, allocations: 72.19 MB / 7.846 GB, free: 49.23 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005214/25.27, allocations: 106.8 kB / 7.846 GB, free: 49.23 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/25.27, allocations: 193 kB / 7.846 GB, free: 49.23 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01928/25.29, allocations: 3.531 MB / 7.849 GB, free: 49.12 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003576/25.29, allocations: 242.4 kB / 7.85 GB, free: 49.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02297/25.32, allocations: 2.395 MB / 7.852 GB, free: 48.06 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003113/25.32, allocations: 0.6321 MB / 7.853 GB, free: 47.96 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/25.32, allocations: 3.594 kB / 7.853 GB, free: 47.96 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03752/25.36, allocations: 18.1 MB / 7.87 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002233/25.36, allocations: 109.2 kB / 7.87 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/25.36, allocations: 193.8 kB / 7.871 GB, free: 41.57 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01694/25.37, allocations: 3.532 MB / 7.874 GB, free: 41.22 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003053/25.37, allocations: 243.1 kB / 7.874 GB, free: 41.17 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02079/25.39, allocations: 2.149 MB / 7.876 GB, free: 40.16 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003286/25.4, allocations: 0.6248 MB / 7.877 GB, free: 40.06 MB / 1.026 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.01786/25.42, allocations: 7.631 MB / 7.884 GB, free: 36.91 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006151/25.42, allocations: 1.66 MB / 7.886 GB, free: 36.05 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03913/25.46, allocations: 16.46 MB / 7.902 GB, free: 29.99 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-05/25.46, allocations: 99.78 kB / 7.902 GB, free: 29.99 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/25.46, allocations: 3.781 kB / 7.902 GB, free: 29.99 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02638/25.49, allocations: 12.98 MB / 7.915 GB, free: 25.44 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1019/25.59, allocations: 38.25 MB / 7.952 GB, free: 1.586 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/25.59, allocations: 0 / 7.952 GB, free: 1.586 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01751/25.61, allocations: 2.668 MB / 7.955 GB, free: 0 / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003501/25.61, allocations: 53.64 kB / 7.955 GB, free: 0 / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004207/25.61, allocations: 424.9 kB / 7.955 GB, free: 0 / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003348/25.61, allocations: 57.17 kB / 7.955 GB, free: 0 / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-05/25.61, allocations: 4.531 kB / 7.955 GB, free: 0 / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8211/26.43, allocations: 24.5 MB / 7.979 GB, free: 176.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01976/26.45, allocations: 4.485 MB / 7.984 GB, free: 175.7 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00728/26.46, allocations: 224.1 kB / 7.984 GB, free: 175.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02115/26.48, allocations: 1.342 MB / 7.985 GB, free: 175.6 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002824/26.48, allocations: 0.5822 MB / 7.986 GB, free: 175.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002455/26.49, allocations: 498.9 kB / 7.986 GB, free: 175.6 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03353/26.52, allocations: 13.66 MB / 8 GB, free: 175.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.22e-07/26.52, allocations: 0 / 8 GB, free: 175.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05335/26.57, allocations: 10.7 MB / 8.01 GB, free: 174.4 MB / 1.026 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.05758/26.63, allocations: 26.95 MB / 8.036 GB, free: 171.7 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05393/26.69, allocations: 25.48 MB / 8.061 GB, free: 171.4 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-05/26.69, allocations: 16.02 kB / 8.061 GB, free: 171.4 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01615/26.7, allocations: 7.177 MB / 8.068 GB, free: 171.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05286/26.75, allocations: 10.9 MB / 8.079 GB, free: 171.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1586/26.91, allocations: 148 MB / 8.223 GB, free: 60.53 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.024/26.94, allocations: 13.22 MB / 8.236 GB, free: 59.14 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04525/26.98, allocations: 11.22 MB / 8.247 GB, free: 57.17 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02139/27, allocations: 9.233 MB / 8.256 GB, free: 57.15 MB / 1.026 GB Notification: Performance of SimCode: time 1.182e-06/27, allocations: 0 / 8.256 GB, free: 57.15 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.809/28.81, allocations: 0.5196 GB / 8.776 GB, free: 165.4 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/28.81, allocations: 247.6 kB / 8.776 GB, free: 165 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.99/56.8, allocations: 3.375 kB / 8.776 GB, free: 165 MB / 1.057 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)