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.708/1.708, 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.001084/0.001084, allocations: 172.9 kB / 361.4 MB, free: 6.801 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.618/1.618, allocations: 205.3 MB / 0.62 GB, free: 11.59 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.0008751/0.0008757, allocations: 103.2 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.057e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7225, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.182/6.905, allocations: 2.359 GB / 3.323 GB, free: 168.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/6.905, allocations: 91.95 kB / 3.323 GB, free: 168.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.87/23.77, allocations: 4.138 GB / 7.461 GB, free: 93.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.655e-06/23.77, allocations: 3.938 kB / 7.461 GB, free: 93.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.004626/23.78, allocations: 0.5649 MB / 7.462 GB, free: 93.64 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.07115/23.85, allocations: 18.15 MB / 7.48 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/23.85, allocations: 9.062 kB / 7.48 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02682/23.87, allocations: 3.915 MB / 7.483 GB, free: 81.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08639/23.96, allocations: 28.87 MB / 7.512 GB, free: 52.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/23.96, allocations: 0.5331 MB / 7.512 GB, free: 52.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008687/23.97, allocations: 0.9764 MB / 7.513 GB, free: 51.25 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05247/24.02, allocations: 19.57 MB / 7.532 GB, free: 31.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0716/24.09, allocations: 22.36 MB / 7.554 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001255/24.09, allocations: 75.39 kB / 7.554 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008445/24.1, allocations: 36 kB / 7.554 GB, free: 8.359 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009574/24.1, allocations: 0.8757 MB / 7.555 GB, free: 7.48 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.8891/24.99, allocations: 95.73 MB / 7.649 GB, free: 68.75 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0301/25.02, allocations: 14.56 MB / 7.663 GB, free: 68.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01442/25.04, allocations: 7.584 MB / 7.67 GB, free: 68.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/25.04, allocations: 2.03 MB / 7.672 GB, free: 66.06 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01847/25.06, allocations: 7.138 MB / 7.679 GB, free: 65.85 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1035): time 1.562e-05/25.06, allocations: 0.8438 kB / 7.679 GB, free: 65.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1035): time 0.1455/25.21, allocations: 22.12 MB / 7.701 GB, free: 64.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/25.21, allocations: 417.1 kB / 7.701 GB, free: 64.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03309/25.24, allocations: 14.81 MB / 7.716 GB, free: 63.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003513/25.24, allocations: 44.02 kB / 7.716 GB, free: 63.54 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0141/25.26, allocations: 9.567 MB / 7.725 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006851/25.26, allocations: 3.485 MB / 7.728 GB, free: 58.82 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/25.26, allocations: 0 / 7.728 GB, free: 58.82 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001123/25.27, allocations: 0.8475 MB / 7.729 GB, free: 58.49 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/25.28, allocations: 6.074 MB / 7.735 GB, free: 58.46 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01422/25.29, allocations: 9.632 MB / 7.744 GB, free: 54.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3264/25.62, allocations: 31.9 MB / 7.776 GB, free: 53.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003056/25.62, allocations: 29.12 kB / 7.776 GB, free: 53.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.3508/25.97, allocations: 40.87 MB / 7.816 GB, free: 50.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02894/26, allocations: 68.2 MB / 7.882 GB, free: 42.73 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004758/26, allocations: 106.9 kB / 7.882 GB, free: 42.73 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/26, allocations: 188.8 kB / 7.882 GB, free: 42.73 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01811/26.02, allocations: 3.535 MB / 7.886 GB, free: 42.58 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002891/26.02, allocations: 241.7 kB / 7.886 GB, free: 42.58 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02377/26.04, allocations: 1.967 MB / 7.888 GB, free: 41.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004127/26.04, allocations: 0.6241 MB / 7.889 GB, free: 41.63 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/26.04, allocations: 3.812 kB / 7.889 GB, free: 41.63 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.344/26.39, allocations: 39.33 MB / 7.927 GB, free: 24.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003408/26.39, allocations: 104 kB / 7.927 GB, free: 24.66 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/26.39, allocations: 188 kB / 7.927 GB, free: 24.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01819/26.41, allocations: 3.534 MB / 7.931 GB, free: 21.57 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002655/26.41, allocations: 241.2 kB / 7.931 GB, free: 21.36 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02255/26.43, allocations: 1.725 MB / 7.933 GB, free: 19.95 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004788/26.44, allocations: 0.6262 MB / 7.933 GB, free: 19.39 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 () * 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.007459/26.44, allocations: 470.2 kB / 7.934 GB, free: 18.92 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1494/26.59, allocations: 22.11 MB / 7.955 GB, free: 1.523 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.7097/27.3, allocations: 1.526 MB / 7.957 GB, free: 157.2 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1578/27.46, allocations: 23.9 MB / 7.98 GB, free: 156.7 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.256e-05/27.46, allocations: 104.7 kB / 7.98 GB, free: 156.7 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.46e-05/27.46, allocations: 2.688 kB / 7.98 GB, free: 156.7 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1298/27.59, allocations: 20.8 MB / 8.001 GB, free: 156.4 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2013/27.79, allocations: 44.04 MB / 8.044 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/27.79, allocations: 9.141 kB / 8.044 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01366/27.8, allocations: 2.495 MB / 8.046 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/27.81, allocations: 31.62 kB / 8.046 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002068/27.81, allocations: 220 kB / 8.046 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-05/27.81, allocations: 33.59 kB / 8.046 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/27.81, allocations: 3.156 kB / 8.046 GB, free: 154.8 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1468/27.95, allocations: 31.43 MB / 8.077 GB, free: 153.1 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01621/27.97, allocations: 4.416 MB / 8.081 GB, free: 152.2 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007058/27.98, allocations: 55.62 kB / 8.081 GB, free: 152.2 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01988/28, allocations: 1.168 MB / 8.083 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00237/28, allocations: 0.5832 MB / 8.083 GB, free: 152 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002048/28, allocations: 0.5343 MB / 8.084 GB, free: 152 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02213/28.02, allocations: 11.36 MB / 8.095 GB, free: 151.6 MB / 1.057 GB Notification: Performance of sort global known variables: time 4.51e-07/28.02, allocations: 3.844 kB / 8.095 GB, free: 151.6 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04554/28.07, allocations: 10.33 MB / 8.105 GB, free: 150.7 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) * 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.1573/28.23, allocations: 33.62 MB / 8.138 GB, free: 147.3 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.04163/28.27, allocations: 23.12 MB / 8.16 GB, free: 147 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-05/28.27, allocations: 20.45 kB / 8.16 GB, free: 147 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01046/28.28, allocations: 6.414 MB / 8.167 GB, free: 147 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0512/28.33, allocations: 9.288 MB / 8.176 GB, free: 146.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.117/28.45, allocations: 43.82 MB / 8.218 GB, free: 118.9 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02324/28.47, allocations: 13.23 MB / 8.231 GB, free: 109.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.06789/28.54, allocations: 15.93 MB / 8.247 GB, free: 98.73 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02409/28.56, allocations: 8.805 MB / 8.255 GB, free: 90.66 MB / 1.057 GB Notification: Performance of SimCode: time 1.443e-06/28.56, allocations: 0 / 8.255 GB, free: 90.66 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.455/31.02, allocations: 486.8 MB / 8.731 GB, free: 13.04 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/31.02, allocations: 200.8 kB / 8.731 GB, free: 12.77 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.64/60.66, allocations: 0 / 8.731 GB, free: 12.77 MB / 1.12 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)