Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.908/1.908, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001076/0.001076, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.669/1.669, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009412/0.0009411, allocations: 94 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.846e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7179, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.791, allocations: 2.36 GB / 3.333 GB, free: 130.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.792, allocations: 93.64 kB / 3.333 GB, free: 130.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.35/23.14, allocations: 4.138 GB / 7.471 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.693e-06/23.14, allocations: 0 / 7.471 GB, free: 41.44 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004238/23.15, allocations: 0.5647 MB / 7.472 GB, free: 40.88 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: 4497 * Number of variables: 4497 Notification: Performance of Generate backend data structure: time 0.06518/23.21, allocations: 18.15 MB / 7.489 GB, free: 22.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/23.21, allocations: 12.03 kB / 7.489 GB, free: 22.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/23.24, allocations: 3.918 MB / 7.493 GB, free: 18.65 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08008/23.32, allocations: 28.87 MB / 7.521 GB, free: 5.836 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/23.32, allocations: 0.5312 MB / 7.522 GB, free: 5.305 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008309/23.33, allocations: 0.9801 MB / 7.523 GB, free: 4.324 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7369/24.07, allocations: 19.57 MB / 7.542 GB, free: 106 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06953/24.14, allocations: 22.37 MB / 7.564 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001066/24.14, allocations: 62.11 kB / 7.564 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007118/24.15, allocations: 39.08 kB / 7.564 GB, free: 103.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008298/24.15, allocations: 0.8826 MB / 7.565 GB, free: 103.4 MB / 1.01 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.1885/24.33, allocations: 95.73 MB / 7.658 GB, free: 68.47 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02606/24.36, allocations: 14.55 MB / 7.673 GB, free: 67.89 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01245/24.37, allocations: 7.585 MB / 7.68 GB, free: 67.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/24.38, allocations: 2.035 MB / 7.682 GB, free: 65.79 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01659/24.39, allocations: 7.14 MB / 7.689 GB, free: 65.57 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1035): time 1.421e-05/24.39, allocations: 0 / 7.689 GB, free: 65.57 MB / 1.01 GB Notification: Performance of matching and sorting (n=1035): time 0.1438/24.54, allocations: 22.12 MB / 7.711 GB, free: 64.47 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/24.54, allocations: 420.6 kB / 7.711 GB, free: 64.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0428/24.58, allocations: 14.82 MB / 7.725 GB, free: 63.29 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.004795/24.58, allocations: 39.67 kB / 7.725 GB, free: 63.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01308/24.6, allocations: 9.571 MB / 7.735 GB, free: 60.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006853/24.6, allocations: 3.475 MB / 7.738 GB, free: 58.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/24.61, allocations: 0 / 7.738 GB, free: 58.02 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0009555/24.61, allocations: 0.8354 MB / 7.739 GB, free: 57.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009492/24.62, allocations: 6.079 MB / 7.745 GB, free: 56.59 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01421/24.63, allocations: 9.642 MB / 7.754 GB, free: 49.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3128/24.94, allocations: 31.9 MB / 7.785 GB, free: 45.12 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002001/24.94, allocations: 29.59 kB / 7.786 GB, free: 45.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.3443/25.29, allocations: 40.87 MB / 7.825 GB, free: 36.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.03158/25.32, allocations: 68.2 MB / 7.892 GB, free: 45.27 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004402/25.32, allocations: 107.9 kB / 7.892 GB, free: 45.27 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/25.32, allocations: 191.6 kB / 7.892 GB, free: 45.27 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01898/25.34, allocations: 3.533 MB / 7.896 GB, free: 45.11 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004199/25.34, allocations: 239.9 kB / 7.896 GB, free: 44.96 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02504/25.36, allocations: 1.967 MB / 7.898 GB, free: 43.32 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004313/25.37, allocations: 0.6238 MB / 7.899 GB, free: 42.76 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/25.37, allocations: 4 kB / 7.899 GB, free: 42.76 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3393/25.71, allocations: 39.33 MB / 7.937 GB, free: 14 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003474/25.71, allocations: 105 kB / 7.937 GB, free: 13.9 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/25.71, allocations: 190.9 kB / 7.937 GB, free: 13.71 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01908/25.73, allocations: 3.536 MB / 7.941 GB, free: 10.8 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004424/25.73, allocations: 242.6 kB / 7.941 GB, free: 10.59 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0292/25.76, allocations: 1.719 MB / 7.943 GB, free: 9.184 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005893/25.76, allocations: 0.6313 MB / 7.943 GB, free: 8.621 MB / 1.089 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.009227/25.77, allocations: 472.7 kB / 7.944 GB, free: 8.148 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.9471/26.72, allocations: 23.03 MB / 7.966 GB, free: 170.2 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01003/26.73, allocations: 1.535 MB / 7.968 GB, free: 169.9 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.149/26.88, allocations: 23.9 MB / 7.991 GB, free: 169.3 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.43e-05/26.88, allocations: 97.66 kB / 7.991 GB, free: 169.3 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/26.88, allocations: 1.203 kB / 7.991 GB, free: 169.3 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1401/27.02, allocations: 20.8 MB / 8.011 GB, free: 168.9 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2091/27.23, allocations: 44.04 MB / 8.054 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/27.23, allocations: 5.094 kB / 8.054 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01526/27.24, allocations: 2.489 MB / 8.057 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/27.24, allocations: 41.19 kB / 8.057 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003245/27.25, allocations: 217.2 kB / 8.057 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001182/27.25, allocations: 34.5 kB / 8.057 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/27.25, allocations: 3.219 kB / 8.057 GB, free: 167.2 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1541/27.4, allocations: 31.42 MB / 8.088 GB, free: 165 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01733/27.42, allocations: 4.417 MB / 8.092 GB, free: 164.1 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008815/27.43, allocations: 60.3 kB / 8.092 GB, free: 164.1 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02325/27.45, allocations: 1.158 MB / 8.093 GB, free: 164 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003247/27.45, allocations: 0.5862 MB / 8.094 GB, free: 163.9 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003369/27.46, allocations: 0.54 MB / 8.094 GB, free: 163.9 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.02859/27.49, allocations: 11.37 MB / 8.105 GB, free: 163.6 MB / 1.089 GB Notification: Performance of sort global known variables: time 7.71e-07/27.49, allocations: 0 / 8.105 GB, free: 163.6 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.05481/27.54, allocations: 10.33 MB / 8.116 GB, free: 162.6 MB / 1.089 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.1601/27.7, allocations: 33.63 MB / 8.148 GB, free: 159.2 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.04568/27.75, allocations: 23.13 MB / 8.171 GB, free: 158.9 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.77e-05/27.75, allocations: 16.8 kB / 8.171 GB, free: 158.9 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.01329/27.76, allocations: 6.415 MB / 8.177 GB, free: 158.9 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05545/27.82, allocations: 9.302 MB / 8.186 GB, free: 158.2 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1354/27.95, allocations: 43.81 MB / 8.229 GB, free: 135.1 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03255/27.98, allocations: 13.23 MB / 8.242 GB, free: 125.4 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.07/28.05, allocations: 15.94 MB / 8.258 GB, free: 114.8 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02408/28.08, allocations: 8.801 MB / 8.266 GB, free: 106.7 MB / 1.089 GB Notification: Performance of SimCode: time 1.312e-06/28.08, allocations: 0 / 8.266 GB, free: 106.7 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.098/30.18, allocations: 486.7 MB / 8.742 GB, free: 0.582 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/30.18, allocations: 188.2 kB / 8.742 GB, free: 396 kB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.23/59.41, allocations: 0 / 8.742 GB, free: 396 kB / 1.12 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)