Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.577/1.577, allocations: 285.4 MB / 298 MB, free: 5.953 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.0009864/0.0009863, allocations: 180.8 kB / 366.4 MB, free: 2.074 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.438/1.438, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0007727/0.0007726, allocations: 83.8 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.814e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7669, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.152/6.919, allocations: 2.358 GB / 3.329 GB, free: 94.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/6.919, allocations: 88.27 kB / 3.329 GB, free: 94.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.892/15.81, allocations: 2.096 GB / 5.425 GB, free: 168.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.406e-06/15.81, allocations: 0 / 5.425 GB, free: 168.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002567/15.81, allocations: 301.1 kB / 5.425 GB, free: 168.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04067/15.85, allocations: 9.572 MB / 5.435 GB, free: 163.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/15.85, allocations: 11.88 kB / 5.435 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007672/15.86, allocations: 1.216 MB / 5.436 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/15.88, allocations: 2.04 MB / 5.438 GB, free: 162.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05025/15.93, allocations: 14.74 MB / 5.452 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/15.93, allocations: 0.6438 MB / 5.453 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005264/15.94, allocations: 0.8711 MB / 5.454 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04388/15.98, allocations: 12.75 MB / 5.466 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007252/15.98, allocations: 31.72 kB / 5.466 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005084/15.99, allocations: 389.5 kB / 5.467 GB, free: 142 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006299/15.99, allocations: 460.9 kB / 5.467 GB, free: 141.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03015/16.02, allocations: 11.02 MB / 5.478 GB, free: 130.5 MB / 0.948 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.1088/16.13, allocations: 50.73 MB / 5.527 GB, free: 78.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/16.14, allocations: 7.662 MB / 5.535 GB, free: 70.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008859/16.15, allocations: 4.073 MB / 5.539 GB, free: 66.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/16.15, allocations: 1.499 MB / 5.54 GB, free: 65.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01136/16.16, allocations: 3.924 MB / 5.544 GB, free: 61.06 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.372e-05/16.16, allocations: 0 / 5.544 GB, free: 61.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.02187/16.19, allocations: 6.963 MB / 5.551 GB, free: 54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/16.19, allocations: 343.1 kB / 5.551 GB, free: 53.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02475/16.21, allocations: 8.924 MB / 5.56 GB, free: 44.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00243/16.21, allocations: 137.7 kB / 5.56 GB, free: 44.56 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008993/16.22, allocations: 4.945 MB / 5.565 GB, free: 39.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004499/16.23, allocations: 1.928 MB / 5.567 GB, free: 37.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/16.23, allocations: 136 kB / 5.567 GB, free: 37.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001064/16.23, allocations: 0.5792 MB / 5.567 GB, free: 36.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007656/16.24, allocations: 3.258 MB / 5.571 GB, free: 33.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009147/16.25, allocations: 5.134 MB / 5.576 GB, free: 27.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008954/16.26, allocations: 4.289 MB / 5.58 GB, free: 23.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.966e-05/16.26, allocations: 16 kB / 5.58 GB, free: 23.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02615/16.28, allocations: 9.494 MB / 5.589 GB, free: 13.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.8046/17.09, allocations: 28.51 MB / 5.617 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/17.09, allocations: 55.62 kB / 5.617 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/17.09, allocations: 95.75 kB / 5.617 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/17.1, allocations: 1.836 MB / 5.619 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003568/17.1, allocations: 130.4 kB / 5.619 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/17.11, allocations: 1.233 MB / 5.62 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00316/17.12, allocations: 331.8 kB / 5.621 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/17.12, allocations: 5.828 kB / 5.621 GB, free: 182.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02327/17.14, allocations: 8.737 MB / 5.629 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/17.14, allocations: 54.47 kB / 5.629 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/17.14, allocations: 93.31 kB / 5.629 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/17.15, allocations: 1.839 MB / 5.631 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002247/17.15, allocations: 120.7 kB / 5.631 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01843/17.17, allocations: 1.111 MB / 5.632 GB, free: 182.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004324/17.17, allocations: 336.2 kB / 5.633 GB, free: 182.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (866): * Single equations (assignments): 866 * 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.008639/17.18, allocations: 0.5204 MB / 5.633 GB, free: 182.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009045/17.19, allocations: 0.88 MB / 5.634 GB, free: 182.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02962/17.22, allocations: 8.129 MB / 5.642 GB, free: 181.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/17.22, allocations: 55.5 kB / 5.642 GB, free: 181.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.718e-05/17.22, allocations: 7.438 kB / 5.642 GB, free: 181.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01867/17.24, allocations: 6.244 MB / 5.648 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06343/17.3, allocations: 19.47 MB / 5.667 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/17.3, allocations: 2.219 kB / 5.667 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008602/17.31, allocations: 1.318 MB / 5.668 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00018/17.31, allocations: 20.09 kB / 5.668 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001986/17.32, allocations: 181.4 kB / 5.669 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001276/17.32, allocations: 19.78 kB / 5.669 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/17.32, allocations: 1.125 kB / 5.669 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03947/17.36, allocations: 11.98 MB / 5.68 GB, free: 179.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/17.37, allocations: 2.441 MB / 5.683 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005977/17.37, allocations: 118.6 kB / 5.683 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01373/17.39, allocations: 0.7182 MB / 5.683 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00202/17.39, allocations: 323.1 kB / 5.684 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002439/17.39, allocations: 292 kB / 5.684 GB, free: 178.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01936/17.41, allocations: 6.976 MB / 5.691 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.91e-07/17.41, allocations: 6.797 kB / 5.691 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03205/17.44, allocations: 5.602 MB / 5.696 GB, free: 177.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (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) * 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 (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0407/17.48, allocations: 13.93 MB / 5.71 GB, free: 176.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0294/17.51, allocations: 12.59 MB / 5.722 GB, free: 175.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.263e-05/17.51, allocations: 7.125 kB / 5.722 GB, free: 175.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008564/17.52, allocations: 3.503 MB / 5.726 GB, free: 175.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03328/17.55, allocations: 5.574 MB / 5.731 GB, free: 175.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07201/17.63, allocations: 23.1 MB / 5.754 GB, free: 169.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01378/17.64, allocations: 7.129 MB / 5.761 GB, free: 167.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.04066/17.68, allocations: 9.595 MB / 5.77 GB, free: 165.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01385/17.7, allocations: 4.364 MB / 5.774 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of SimCode: time 1.593e-06/17.7, allocations: 3.938 kB / 5.774 GB, free: 161.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.148/18.84, allocations: 292.5 MB / 6.06 GB, free: 183.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/18.84, allocations: 210.4 kB / 6.06 GB, free: 183 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/31.24, allocations: 0 / 6.06 GB, free: 183 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_FlatPlate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)