Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.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.FlatPlateNPanels,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.526/2.526, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001438/0.001438, allocations: 172.8 kB / 360.6 MB, free: 7.27 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.151/2.151, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001502/0.001501, allocations: 90.22 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.061e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8759, allocations: 115.3 MB / 0.9634 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.255/8.131, allocations: 2.359 GB / 3.322 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/8.132, allocations: 94.41 kB / 3.322 GB, free: 122.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 22.51/30.65, allocations: 4.138 GB / 7.46 GB, free: 65.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.484e-06/30.65, allocations: 0 / 7.46 GB, free: 65.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004793/30.65, allocations: 0.5692 MB / 7.461 GB, free: 64.8 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.07792/30.73, allocations: 18.14 MB / 7.478 GB, free: 46.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/30.73, allocations: 16.03 kB / 7.478 GB, free: 46.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03632/30.77, allocations: 3.91 MB / 7.482 GB, free: 42.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1141/30.88, allocations: 28.87 MB / 7.51 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/30.88, allocations: 0.5273 MB / 7.511 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008733/30.89, allocations: 0.9848 MB / 7.512 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.8602/31.75, allocations: 19.57 MB / 7.531 GB, free: 93.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08725/31.84, allocations: 22.37 MB / 7.553 GB, free: 91.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001373/31.84, allocations: 76.09 kB / 7.553 GB, free: 91.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008321/31.85, allocations: 34.66 kB / 7.553 GB, free: 91.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/31.85, allocations: 0.8779 MB / 7.554 GB, free: 91.14 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.2529/32.1, allocations: 95.72 MB / 7.647 GB, free: 72.25 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03677/32.14, allocations: 14.56 MB / 7.662 GB, free: 71.66 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01999/32.16, allocations: 7.588 MB / 7.669 GB, free: 71.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004212/32.16, allocations: 2.031 MB / 7.671 GB, free: 69.56 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02431/32.19, allocations: 7.143 MB / 7.678 GB, free: 69.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1035): time 1.566e-05/32.19, allocations: 0 / 7.678 GB, free: 69.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=1035): time 0.3045/32.49, allocations: 22.11 MB / 7.699 GB, free: 68.24 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/32.49, allocations: 417 kB / 7.7 GB, free: 67.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04223/32.53, allocations: 14.81 MB / 7.714 GB, free: 67.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003873/32.54, allocations: 43.84 kB / 7.714 GB, free: 67.03 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01751/32.56, allocations: 9.573 MB / 7.724 GB, free: 64.01 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.008275/32.56, allocations: 3.483 MB / 7.727 GB, free: 61.73 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002452/32.57, allocations: 2.562 kB / 7.727 GB, free: 61.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.00131/32.57, allocations: 0.8383 MB / 7.728 GB, free: 61.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01585/32.58, allocations: 6.076 MB / 7.734 GB, free: 61.36 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01956/32.6, allocations: 9.631 MB / 7.743 GB, free: 56.48 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7045/33.31, allocations: 31.9 MB / 7.774 GB, free: 51.65 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/33.31, allocations: 28.97 kB / 7.774 GB, free: 51.65 MB / 1.01 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.7751/34.08, allocations: 40.87 MB / 7.814 GB, free: 43.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.03692/34.12, allocations: 68.2 MB / 7.881 GB, free: 35.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007157/34.12, allocations: 106.1 kB / 7.881 GB, free: 35.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00047/34.12, allocations: 191.5 kB / 7.881 GB, free: 35.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03384/34.16, allocations: 3.534 MB / 7.885 GB, free: 35.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003589/34.16, allocations: 243.6 kB / 7.885 GB, free: 35.64 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03661/34.19, allocations: 1.965 MB / 7.887 GB, free: 34.8 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005672/34.2, allocations: 0.626 MB / 7.887 GB, free: 34.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/34.2, allocations: 3.875 kB / 7.887 GB, free: 34.7 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8075/35.01, allocations: 39.32 MB / 7.926 GB, free: 11.25 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004724/35.01, allocations: 109.1 kB / 7.926 GB, free: 11.14 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/35.01, allocations: 188 kB / 7.926 GB, free: 10.96 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03401/35.04, allocations: 3.532 MB / 7.93 GB, free: 8.051 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004294/35.04, allocations: 247.1 kB / 7.93 GB, free: 7.836 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03317/35.07, allocations: 1.721 MB / 7.932 GB, free: 6.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004902/35.08, allocations: 0.6263 MB / 7.932 GB, free: 5.871 MB / 1.073 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.007931/35.09, allocations: 470.7 kB / 7.933 GB, free: 5.402 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.22/36.31, allocations: 24.27 MB / 7.956 GB, free: 163.3 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01087/36.32, allocations: 1.531 MB / 7.958 GB, free: 163 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.306/36.62, allocations: 23.9 MB / 7.981 GB, free: 162.4 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001292/36.62, allocations: 103.3 kB / 7.981 GB, free: 162.4 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/36.62, allocations: 3.781 kB / 7.981 GB, free: 162.4 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2861/36.91, allocations: 20.81 MB / 8.002 GB, free: 162.1 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3725/37.28, allocations: 44.04 MB / 8.045 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/37.28, allocations: 2.531 kB / 8.045 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02714/37.31, allocations: 2.493 MB / 8.047 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/37.31, allocations: 35.31 kB / 8.047 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003214/37.31, allocations: 215.6 kB / 8.047 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001049/37.31, allocations: 36.05 kB / 8.047 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/37.31, allocations: 6.188 kB / 8.047 GB, free: 160.3 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3334/37.65, allocations: 31.42 MB / 8.078 GB, free: 158.1 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02199/37.67, allocations: 4.407 MB / 8.082 GB, free: 157.2 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009573/37.68, allocations: 60.45 kB / 8.082 GB, free: 157.2 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03343/37.71, allocations: 1.166 MB / 8.083 GB, free: 157.1 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003557/37.72, allocations: 0.5843 MB / 8.084 GB, free: 157 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00468/37.72, allocations: 0.5377 MB / 8.085 GB, free: 157 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03389/37.75, allocations: 11.37 MB / 8.096 GB, free: 156.6 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.02e-07/37.75, allocations: 4 kB / 8.096 GB, free: 156.6 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06131/37.82, allocations: 10.33 MB / 8.106 GB, free: 155.7 MB / 1.073 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.3183/38.13, allocations: 33.62 MB / 8.139 GB, free: 152.4 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06268/38.2, allocations: 23.13 MB / 8.161 GB, free: 152.1 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.814e-05/38.2, allocations: 19.3 kB / 8.161 GB, free: 152.1 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01843/38.22, allocations: 6.412 MB / 8.167 GB, free: 152 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07982/38.3, allocations: 9.302 MB / 8.177 GB, free: 151.4 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1591/38.45, allocations: 43.81 MB / 8.219 GB, free: 125.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03416/38.49, allocations: 13.24 MB / 8.232 GB, free: 115.9 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.09986/38.59, allocations: 15.92 MB / 8.248 GB, free: 105.3 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02916/38.62, allocations: 8.799 MB / 8.256 GB, free: 97.23 MB / 1.073 GB Notification: Performance of SimCode: time 1.423e-06/38.62, allocations: 0 / 8.256 GB, free: 97.23 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.8/42.42, allocations: 486.7 MB / 8.732 GB, free: 99.07 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/42.42, allocations: 188.7 kB / 8.732 GB, free: 98.88 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.85/74.27, allocations: 0 / 8.732 GB, free: 98.88 MB / 1.12 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlateNPanels.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.pipe 2>&1)