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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.2 MB / 303.2 MB, free: 8.188 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: 185 kB / 371.8 MB, free: 10.26 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.929/1.929, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.001093/0.001093, allocations: 98.84 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004588, allocations: 11.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3001, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.828/6.128, allocations: 2.359 GB / 3.339 GB, free: 329.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/6.128, allocations: 102.7 kB / 3.339 GB, free: 329.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 15.7/21.83, allocations: 4.168 GB / 7.507 GB, free: 100.5 MB / 1.011 GB Notification: Performance of FrontEnd: time 2.554e-06/21.83, allocations: 0 / 7.507 GB, free: 100.5 MB / 1.011 GB Notification: Performance of Transformations before backend: time 0.005056/21.83, allocations: 0.5654 MB / 7.508 GB, free: 100.4 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.09178/21.92, allocations: 22.27 MB / 7.53 GB, free: 92.32 MB / 1.011 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/21.92, allocations: 8.75 kB / 7.53 GB, free: 92.32 MB / 1.011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01421/21.94, allocations: 2.361 MB / 7.532 GB, free: 92.17 MB / 1.011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03042/21.97, allocations: 3.926 MB / 7.536 GB, free: 90.87 MB / 1.011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08664/22.06, allocations: 28.98 MB / 7.564 GB, free: 88.42 MB / 1.011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001631/22.06, allocations: 1.242 MB / 7.565 GB, free: 88.38 MB / 1.011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008464/22.07, allocations: 1.67 MB / 7.567 GB, free: 88.36 MB / 1.011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07862/22.14, allocations: 25.72 MB / 7.592 GB, free: 85.61 MB / 1.011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00109/22.15, allocations: 67.12 kB / 7.592 GB, free: 85.6 MB / 1.011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007505/22.15, allocations: 0.7243 MB / 7.593 GB, free: 85.6 MB / 1.011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/22.15, allocations: 0.8769 MB / 7.594 GB, free: 85.56 MB / 1.011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05913/22.21, allocations: 22.68 MB / 7.616 GB, free: 84.22 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.1798/22.39, allocations: 99.13 MB / 7.713 GB, free: 4.523 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6951/23.09, allocations: 16.08 MB / 7.728 GB, free: 106.9 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003331/23.09, allocations: 2.034 MB / 7.73 GB, free: 104.9 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02751/23.12, allocations: 8.048 MB / 7.738 GB, free: 104.7 MB / 1.011 GB Notification: Performance of pre-optimization done (n=1035): time 3.355e-05/23.12, allocations: 0 / 7.738 GB, free: 104.7 MB / 1.011 GB Notification: Performance of matching and sorting (n=1035): time 0.06978/23.19, allocations: 20.23 MB / 7.758 GB, free: 104.3 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002214/23.19, allocations: 412.9 kB / 7.758 GB, free: 103.9 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05205/23.24, allocations: 17.38 MB / 7.775 GB, free: 103.2 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.004176/23.25, allocations: 238.3 kB / 7.776 GB, free: 103.2 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01893/23.26, allocations: 9.766 MB / 7.785 GB, free: 101.8 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.007935/23.27, allocations: 3.619 MB / 7.789 GB, free: 99.98 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002629/23.27, allocations: 265.2 kB / 7.789 GB, free: 99.98 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001276/23.28, allocations: 0.8345 MB / 7.79 GB, free: 99.65 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01587/23.29, allocations: 6.913 MB / 7.797 GB, free: 99.62 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01961/23.31, allocations: 10.55 MB / 7.807 GB, free: 95.52 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/23.33, allocations: 8.868 MB / 7.816 GB, free: 95.39 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/23.33, allocations: 30.89 kB / 7.816 GB, free: 95.39 MB / 1.011 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.05379/23.38, allocations: 19.54 MB / 7.835 GB, free: 94.25 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.02834/23.41, allocations: 72.18 MB / 7.905 GB, free: 67.95 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006602/23.41, allocations: 106.3 kB / 7.905 GB, free: 67.95 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/23.41, allocations: 188.2 kB / 7.905 GB, free: 67.95 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02109/23.43, allocations: 3.534 MB / 7.909 GB, free: 67.95 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005094/23.44, allocations: 238 kB / 7.909 GB, free: 67.95 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02812/23.46, allocations: 2.397 MB / 7.911 GB, free: 67.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005056/23.47, allocations: 0.6283 MB / 7.912 GB, free: 67.09 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/23.47, allocations: 6.312 kB / 7.912 GB, free: 67.09 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0565/23.53, allocations: 18.11 MB / 7.93 GB, free: 66.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004317/23.53, allocations: 106 kB / 7.93 GB, free: 66.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/23.53, allocations: 190.3 kB / 7.93 GB, free: 66.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02765/23.55, allocations: 3.532 MB / 7.933 GB, free: 66.75 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/23.55, allocations: 250.9 kB / 7.934 GB, free: 66.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03313/23.59, allocations: 2.149 MB / 7.936 GB, free: 66.01 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003954/23.59, allocations: 0.6284 MB / 7.936 GB, free: 66.01 MB / 1.057 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.0189/23.61, allocations: 7.64 MB / 7.944 GB, free: 65.55 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006985/23.62, allocations: 1.682 MB / 7.946 GB, free: 64.7 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04785/23.67, allocations: 16.46 MB / 7.962 GB, free: 64.09 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.539e-05/23.67, allocations: 99.88 kB / 7.962 GB, free: 64.09 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/23.67, allocations: 0 / 7.962 GB, free: 64.09 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03342/23.7, allocations: 12.99 MB / 7.974 GB, free: 63.02 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1085/23.81, allocations: 38.47 MB / 8.012 GB, free: 48.34 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-05/23.81, allocations: 3.125 kB / 8.012 GB, free: 48.34 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01522/23.82, allocations: 2.497 MB / 8.014 GB, free: 48.17 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/23.82, allocations: 36.22 kB / 8.014 GB, free: 48.17 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002799/23.83, allocations: 331.9 kB / 8.015 GB, free: 48.02 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001286/23.83, allocations: 38.09 kB / 8.015 GB, free: 48.02 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/23.83, allocations: 0 / 8.015 GB, free: 48.02 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06375/23.89, allocations: 24.52 MB / 8.039 GB, free: 38.23 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02044/23.91, allocations: 4.578 MB / 8.043 GB, free: 35.85 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01114/23.92, allocations: 231.8 kB / 8.043 GB, free: 35.7 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02649/23.95, allocations: 1.344 MB / 8.045 GB, free: 35.47 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004215/23.95, allocations: 0.5877 MB / 8.045 GB, free: 35.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004438/23.96, allocations: 0.535 MB / 8.046 GB, free: 35.3 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.03621/23.99, allocations: 13.66 MB / 8.059 GB, free: 30.68 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.243e-06/23.99, allocations: 0 / 8.059 GB, free: 30.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05493/24.05, allocations: 10.74 MB / 8.07 GB, free: 22.05 MB / 1.057 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.07424/24.12, allocations: 27.09 MB / 8.096 GB, free: 15.33 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.6746/24.8, allocations: 27.29 MB / 8.123 GB, free: 166.9 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.39e-05/24.8, allocations: 18.61 kB / 8.123 GB, free: 166.8 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01855/24.82, allocations: 7.186 MB / 8.13 GB, free: 166.8 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05952/24.87, allocations: 10.91 MB / 8.14 GB, free: 166.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1679/25.04, allocations: 148 MB / 8.285 GB, free: 56.93 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0335/25.08, allocations: 13.21 MB / 8.298 GB, free: 55.55 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.05555/25.13, allocations: 11.3 MB / 8.309 GB, free: 53.65 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02607/25.16, allocations: 9.248 MB / 8.318 GB, free: 53.63 MB / 1.073 GB Notification: Performance of SimCode: time 1.502e-06/25.16, allocations: 0 / 8.318 GB, free: 53.63 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.303/26.46, allocations: 0.5233 GB / 8.841 GB, free: 47.45 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/26.46, allocations: 267.4 kB / 8.842 GB, free: 47.11 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.38/55.85, allocations: 0 / 8.842 GB, free: 47.11 MB / 1.089 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)