Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.FlatPlateNPanels,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.196/2.196, allocations: 248.7 MB / 256.2 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 176.8 kB / 315.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 0.5662 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001588/0.001587, allocations: 92.41 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.473e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2648, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.324/8.589, allocations: 2.476 GB / 3.36 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/8.59, allocations: 90.45 kB / 3.36 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 22.39/30.98, allocations: 4.042 GB / 7.403 GB, free: 92.93 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.454e-06/30.98, allocations: 0 / 7.403 GB, free: 92.93 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.005384/30.98, allocations: 0.5598 MB / 7.403 GB, free: 92.84 MB / 0.9323 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.08147/31.07, allocations: 18.13 MB / 7.421 GB, free: 86.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/31.07, allocations: 14.66 kB / 7.421 GB, free: 86.27 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03928/31.11, allocations: 3.898 MB / 7.425 GB, free: 84.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1194/31.22, allocations: 28.73 MB / 7.453 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/31.23, allocations: 0.534 MB / 7.453 GB, free: 82.52 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008687/31.23, allocations: 0.9797 MB / 7.454 GB, free: 82.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06564/31.3, allocations: 19.57 MB / 7.473 GB, free: 82.43 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08553/31.39, allocations: 22.06 MB / 7.495 GB, free: 79.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001301/31.39, allocations: 69.88 kB / 7.495 GB, free: 79.78 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007741/31.4, allocations: 30.16 kB / 7.495 GB, free: 79.78 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/31.4, allocations: 0.888 MB / 7.496 GB, free: 79.73 MB / 0.9323 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.2385/31.64, allocations: 95.38 MB / 7.589 GB, free: 42.39 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03584/31.67, allocations: 14.55 MB / 7.603 GB, free: 36.14 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01921/31.69, allocations: 7.584 MB / 7.611 GB, free: 33.25 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003949/31.69, allocations: 2.034 MB / 7.613 GB, free: 31.22 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02089/31.72, allocations: 6.954 MB / 7.619 GB, free: 28.46 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1035): time 1.579e-05/31.72, allocations: 192 / 7.619 GB, free: 28.46 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1035): time 0.2879/32, allocations: 22.1 MB / 7.641 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/32, allocations: 424 kB / 7.641 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07122/32.07, allocations: 15.07 MB / 7.656 GB, free: 14.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004463/32.08, allocations: 41.7 kB / 7.656 GB, free: 14.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02553/32.1, allocations: 9.564 MB / 7.666 GB, free: 5.801 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.009335/32.11, allocations: 3.494 MB / 7.669 GB, free: 2.578 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00364/32.12, allocations: 0 / 7.669 GB, free: 2.578 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001998/32.12, allocations: 0.8361 MB / 7.67 GB, free: 1.887 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8456/32.97, allocations: 7.139 MB / 7.677 GB, free: 118.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02579/32.99, allocations: 9.636 MB / 7.686 GB, free: 114.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7226/33.71, allocations: 31.91 MB / 7.717 GB, free: 114.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003832/33.71, allocations: 30.44 kB / 7.717 GB, free: 114.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=1657) (initialization): time 0.8065/34.52, allocations: 40.86 MB / 7.757 GB, free: 112.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02031/34.54, allocations: 68.2 MB / 7.824 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005491/34.54, allocations: 103.8 kB / 7.824 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003397/34.54, allocations: 190.2 kB / 7.824 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03241/34.57, allocations: 3.537 MB / 7.828 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003902/34.58, allocations: 243.5 kB / 7.828 GB, free: 73.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03435/34.61, allocations: 1.969 MB / 7.83 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00451/34.61, allocations: 0.6265 MB / 7.83 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/34.61, allocations: 3.625 kB / 7.83 GB, free: 73.48 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7368/35.35, allocations: 39.32 MB / 7.869 GB, free: 71.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005758/35.35, allocations: 106.4 kB / 7.869 GB, free: 71.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/35.35, allocations: 187.9 kB / 7.869 GB, free: 71.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03267/35.38, allocations: 3.533 MB / 7.872 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003883/35.39, allocations: 243.6 kB / 7.873 GB, free: 71.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.033/35.42, allocations: 1.72 MB / 7.874 GB, free: 71.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004623/35.42, allocations: 0.6222 MB / 7.875 GB, free: 71.23 MB / 0.9792 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.007834/35.43, allocations: 475.3 kB / 7.875 GB, free: 71.07 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.311/35.74, allocations: 22.09 MB / 7.897 GB, free: 69.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009517/35.75, allocations: 1.52 MB / 7.898 GB, free: 68.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2976/36.05, allocations: 23.9 MB / 7.922 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/36.05, allocations: 103.1 kB / 7.922 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.807e-05/36.05, allocations: 0 / 7.922 GB, free: 67.39 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2799/36.33, allocations: 20.8 MB / 7.942 GB, free: 66.46 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3615/36.69, allocations: 43.83 MB / 7.985 GB, free: 47.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/36.69, allocations: 3.75 kB / 7.985 GB, free: 47.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02745/36.72, allocations: 2.491 MB / 7.987 GB, free: 45.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/36.72, allocations: 39.69 kB / 7.988 GB, free: 45.07 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003516/36.72, allocations: 216.1 kB / 7.988 GB, free: 44.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001605/36.72, allocations: 36 kB / 7.988 GB, free: 44.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/36.72, allocations: 4 kB / 7.988 GB, free: 44.95 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3602/37.08, allocations: 31.4 MB / 8.018 GB, free: 26.66 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02098/37.1, allocations: 4.311 MB / 8.023 GB, free: 24.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00924/37.11, allocations: 63.92 kB / 8.023 GB, free: 24.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03223/37.15, allocations: 1.166 MB / 8.024 GB, free: 23.55 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003405/37.15, allocations: 0.5843 MB / 8.024 GB, free: 23.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004075/37.15, allocations: 496.7 kB / 8.025 GB, free: 22.96 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.03374/37.19, allocations: 11.37 MB / 8.036 GB, free: 13.41 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.193e-06/37.19, allocations: 3.938 kB / 8.036 GB, free: 13.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.06518/37.25, allocations: 10.3 MB / 8.046 GB, free: 3.574 MB / 0.9792 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 1.372/38.62, allocations: 33.69 MB / 8.079 GB, free: 138.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.07574/38.7, allocations: 23.12 MB / 8.102 GB, free: 138.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-05/38.7, allocations: 15.17 kB / 8.102 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.02613/38.73, allocations: 6.414 MB / 8.108 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08244/38.81, allocations: 9.274 MB / 8.117 GB, free: 138 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1607/38.97, allocations: 43.81 MB / 8.16 GB, free: 130.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03317/39, allocations: 13.24 MB / 8.173 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.09864/39.1, allocations: 15.84 MB / 8.188 GB, free: 126.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02712/39.13, allocations: 8.794 MB / 8.197 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of SimCode: time 1.914e-06/39.13, allocations: 0 / 8.197 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.705/41.83, allocations: 483 MB / 8.668 GB, free: 72.11 MB / 0.9949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/41.83, allocations: 184.3 kB / 8.668 GB, free: 71.92 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.27/73.1, allocations: 0 / 8.668 GB, free: 71.92 MB / 0.9949 GB