Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.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.EN12975NPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels",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.633/1.633, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.00107/0.00107, allocations: 179.8 kB / 361.4 MB, free: 6.824 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.695/1.695, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008626/0.0008629, allocations: 94.27 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.348e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.779, allocations: 115.3 MB / 0.9644 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/7.003, allocations: 2.355 GB / 3.32 GB, free: 171.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/7.003, allocations: 87.95 kB / 3.32 GB, free: 171.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.34/23.34, allocations: 4.135 GB / 7.455 GB, free: 91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.785e-06/23.34, allocations: 2.344 kB / 7.455 GB, free: 91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004572/23.35, allocations: 0.5618 MB / 7.455 GB, free: 90.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: 4481 * Number of variables: 4481 Notification: Performance of Generate backend data structure: time 0.06309/23.41, allocations: 17.99 MB / 7.473 GB, free: 80.64 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/23.41, allocations: 10.31 kB / 7.473 GB, free: 80.64 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/23.44, allocations: 3.696 MB / 7.476 GB, free: 77.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07404/23.51, allocations: 28.74 MB / 7.505 GB, free: 49.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009134/23.51, allocations: 0.5273 MB / 7.505 GB, free: 49.02 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006356/23.52, allocations: 0.9686 MB / 7.506 GB, free: 48.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04488/23.56, allocations: 19.35 MB / 7.525 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05878/23.62, allocations: 22.31 MB / 7.547 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006841/23.62, allocations: 71.33 kB / 7.547 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005014/23.63, allocations: 39.95 kB / 7.547 GB, free: 5.453 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006411/23.63, allocations: 0.8834 MB / 7.548 GB, free: 4.566 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.9194/24.55, allocations: 95.45 MB / 7.641 GB, free: 64.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02644/24.57, allocations: 14.53 MB / 7.655 GB, free: 64.39 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01457/24.59, allocations: 7.496 MB / 7.662 GB, free: 64.28 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002982/24.59, allocations: 2.035 MB / 7.664 GB, free: 62.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01966/24.61, allocations: 7.515 MB / 7.672 GB, free: 62.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1020): time 5.53e-05/24.61, allocations: 0 / 7.672 GB, free: 62.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1020): time 0.1504/24.76, allocations: 21.99 MB / 7.693 GB, free: 61.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/24.76, allocations: 413.7 kB / 7.694 GB, free: 60.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03412/24.8, allocations: 14.78 MB / 7.708 GB, free: 59.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003488/24.8, allocations: 39.42 kB / 7.708 GB, free: 59.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01319/24.81, allocations: 9.608 MB / 7.717 GB, free: 57.39 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005909/24.82, allocations: 3.434 MB / 7.721 GB, free: 55.23 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/24.82, allocations: 1.969 kB / 7.721 GB, free: 55.23 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0009125/24.82, allocations: 0.8265 MB / 7.722 GB, free: 54.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/24.83, allocations: 6.024 MB / 7.727 GB, free: 54.87 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01369/24.85, allocations: 9.561 MB / 7.737 GB, free: 50.81 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1277/24.97, allocations: 17.48 MB / 7.754 GB, free: 50.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001891/24.97, allocations: 31 kB / 7.754 GB, free: 50.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1636) (initialization): time 0.1512/25.12, allocations: 26.34 MB / 7.78 GB, free: 49.06 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0297/25.15, allocations: 67.9 MB / 7.846 GB, free: 42.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004891/25.15, allocations: 106.3 kB / 7.846 GB, free: 42.29 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/25.15, allocations: 191.2 kB / 7.846 GB, free: 42.29 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/25.17, allocations: 3.467 MB / 7.85 GB, free: 42.24 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003208/25.17, allocations: 238.8 kB / 7.85 GB, free: 42.24 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02358/25.2, allocations: 1.937 MB / 7.852 GB, free: 41.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003642/25.2, allocations: 0.6211 MB / 7.852 GB, free: 41.4 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/25.2, allocations: 3.156 kB / 7.852 GB, free: 41.4 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1432/25.34, allocations: 24.81 MB / 7.877 GB, free: 36.38 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003518/25.35, allocations: 106.4 kB / 7.877 GB, free: 36.38 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/25.35, allocations: 188 kB / 7.877 GB, free: 36.38 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01708/25.36, allocations: 3.469 MB / 7.88 GB, free: 36.07 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002936/25.36, allocations: 239.5 kB / 7.88 GB, free: 36.02 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02102/25.38, allocations: 1.685 MB / 7.882 GB, free: 35.36 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003786/25.39, allocations: 0.6201 MB / 7.883 GB, free: 35.25 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 483 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1636): * Single equations (assignments): 1636 * 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.004565/25.39, allocations: 470.3 kB / 7.883 GB, free: 34.85 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1427/25.53, allocations: 21.97 MB / 7.905 GB, free: 28.93 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008375/25.54, allocations: 1.521 MB / 7.906 GB, free: 27.39 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1515/25.69, allocations: 23.75 MB / 7.929 GB, free: 9.375 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/25.7, allocations: 107.8 kB / 7.929 GB, free: 9.273 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/25.7, allocations: 2.625 kB / 7.929 GB, free: 9.273 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.943/26.64, allocations: 21.16 MB / 7.95 GB, free: 153.4 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2257/26.86, allocations: 43.89 MB / 7.993 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/26.86, allocations: 15.97 kB / 7.993 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01761/26.88, allocations: 2.456 MB / 7.995 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/26.88, allocations: 55.91 kB / 7.995 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003295/26.89, allocations: 224.9 kB / 7.996 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002265/26.89, allocations: 66.83 kB / 7.996 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.262e-05/26.89, allocations: 24.7 kB / 7.996 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1826/27.07, allocations: 36.74 MB / 8.032 GB, free: 144 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01916/27.09, allocations: 4.413 MB / 8.036 GB, free: 143.1 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00991/27.1, allocations: 82.34 kB / 8.036 GB, free: 143.1 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02342/27.12, allocations: 1.006 MB / 8.037 GB, free: 143.1 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003685/27.12, allocations: 0.6277 MB / 8.038 GB, free: 143 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004671/27.13, allocations: 0.5479 MB / 8.038 GB, free: 143 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0328/27.16, allocations: 11.35 MB / 8.049 GB, free: 142.6 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.51e-07/27.16, allocations: 1.812 kB / 8.049 GB, free: 142.6 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.05918/27.22, allocations: 10.3 MB / 8.059 GB, free: 141.7 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1040): * Single equations (assignments): 1034 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.1718/27.39, allocations: 39.46 MB / 8.098 GB, free: 132.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05608/27.45, allocations: 22.71 MB / 8.12 GB, free: 131.8 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-05/27.45, allocations: 22.64 kB / 8.12 GB, free: 131.8 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01317/27.46, allocations: 6.253 MB / 8.126 GB, free: 131.8 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06098/27.52, allocations: 9.291 MB / 8.135 GB, free: 131.5 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1472/27.67, allocations: 43.97 MB / 8.178 GB, free: 122 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03482/27.71, allocations: 13.18 MB / 8.191 GB, free: 120.1 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.08914/27.8, allocations: 16.26 MB / 8.207 GB, free: 109.3 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02489/27.82, allocations: 8.692 MB / 8.215 GB, free: 106 MB / 1.057 GB Notification: Performance of SimCode: time 1.513e-06/27.82, allocations: 0 / 8.215 GB, free: 106 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/30.21, allocations: 483.2 MB / 8.687 GB, free: 4.566 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/30.21, allocations: 190.4 kB / 8.687 GB, free: 4.355 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.55/59.76, allocations: 4.031 kB / 8.687 GB, free: 4.352 MB / 1.089 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_EN12975NPanels.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.EN12975NPanels.pipe 2>&1)