Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",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.334/2.334, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001561/0.00156, allocations: 182.4 kB / 315.4 MB, free: 4.016 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.255/2.255, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 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.001133/0.001133, allocations: 91.73 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.363e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.421/8.633, allocations: 2.528 GB / 3.412 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/8.633, allocations: 95.27 kB / 3.412 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.5/22.13, allocations: 2.447 GB / 5.859 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.925e-06/22.13, allocations: 0 / 5.859 GB, free: 87.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002041/22.13, allocations: 272.3 kB / 5.86 GB, free: 87.91 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.04007/22.17, allocations: 8.889 MB / 5.868 GB, free: 79.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.707e-05/22.17, allocations: 12.03 kB / 5.868 GB, free: 79.33 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/22.19, allocations: 2.035 MB / 5.87 GB, free: 77.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0469/22.24, allocations: 11.73 MB / 5.882 GB, free: 65.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005576/22.24, allocations: 252 kB / 5.882 GB, free: 65.45 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00395/22.24, allocations: 483.9 kB / 5.883 GB, free: 64.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03031/22.27, allocations: 9.085 MB / 5.891 GB, free: 55.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03718/22.31, allocations: 9.576 MB / 5.901 GB, free: 45.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006275/22.31, allocations: 27.73 kB / 5.901 GB, free: 45.96 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003707/22.32, allocations: 12 kB / 5.901 GB, free: 45.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003977/22.32, allocations: 335 kB / 5.901 GB, free: 45.62 MB / 0.9167 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.1104/22.43, allocations: 43.72 MB / 5.944 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/22.45, allocations: 7.165 MB / 5.951 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01065/22.46, allocations: 3.569 MB / 5.954 GB, free: 5.797 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 evalFunc (simulation): time 0.06751/22.53, allocations: 18 MB / 5.972 GB, free: 3.184 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01064/22.54, allocations: 3.134 MB / 5.975 GB, free: 40 kB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.8127/23.35, allocations: 0.6142 MB / 5.976 GB, free: 124.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 4.178e-05/23.35, allocations: 0 / 5.976 GB, free: 124.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.1584/23.51, allocations: 10.53 MB / 5.986 GB, free: 124.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/23.51, allocations: 365.8 kB / 5.986 GB, free: 123.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02266/23.53, allocations: 6.325 MB / 5.992 GB, free: 123.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001828/23.53, allocations: 33.73 kB / 5.992 GB, free: 123.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008228/23.54, allocations: 4.308 MB / 5.997 GB, free: 122.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004026/23.55, allocations: 1.689 MB / 5.998 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/23.55, allocations: 0 / 5.998 GB, free: 121.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008838/23.55, allocations: 0.5613 MB / 5.999 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009708/23.56, allocations: 2.95 MB / 6.002 GB, free: 121.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/23.57, allocations: 4.646 MB / 6.006 GB, free: 119.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3641/23.93, allocations: 15.99 MB / 6.022 GB, free: 119.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/23.93, allocations: 13.88 kB / 6.022 GB, free: 119.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.3973/24.33, allocations: 20.51 MB / 6.042 GB, free: 117.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005279/24.34, allocations: 23.29 MB / 6.065 GB, free: 92.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003246/24.34, allocations: 48.11 kB / 6.065 GB, free: 92.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/24.34, allocations: 156.7 kB / 6.065 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01523/24.35, allocations: 1.679 MB / 6.066 GB, free: 92.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009445/24.35, allocations: 0.728 MB / 6.067 GB, free: 92.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01539/24.37, allocations: 0.5596 MB / 6.068 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002328/24.37, allocations: 310.4 kB / 6.068 GB, free: 92.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/24.37, allocations: 3.562 kB / 6.068 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4071/24.78, allocations: 19.71 MB / 6.087 GB, free: 91.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/24.78, allocations: 53.06 kB / 6.087 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00043/24.78, allocations: 157.3 kB / 6.087 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/24.79, allocations: 1.669 MB / 6.089 GB, free: 91.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008878/24.8, allocations: 0.7289 MB / 6.09 GB, free: 90.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0144/24.81, allocations: 0.5351 MB / 6.09 GB, free: 90.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/24.81, allocations: 308.3 kB / 6.091 GB, free: 90.57 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 (819): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.004078/24.82, allocations: 285.4 kB / 6.091 GB, free: 90.44 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1428/24.96, allocations: 10.48 MB / 6.101 GB, free: 89.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00413/24.96, allocations: 0.7239 MB / 6.102 GB, free: 89.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1478/25.11, allocations: 11.57 MB / 6.113 GB, free: 88.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.039e-05/25.11, allocations: 53.12 kB / 6.113 GB, free: 88.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/25.11, allocations: 3.844 kB / 6.113 GB, free: 88.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1374/25.25, allocations: 10.07 MB / 6.123 GB, free: 87.8 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 postOpt removeSimpleEquations (simulation): time 0.176/25.43, allocations: 19.92 MB / 6.142 GB, free: 86.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/25.43, allocations: 3.812 kB / 6.142 GB, free: 86.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/25.44, allocations: 1.153 MB / 6.144 GB, free: 86.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003946/25.44, allocations: 79.45 kB / 6.144 GB, free: 86.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001431/25.44, allocations: 100.9 kB / 6.144 GB, free: 86.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006658/25.44, allocations: 0.6179 MB / 6.144 GB, free: 86.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/25.44, allocations: 11.72 kB / 6.144 GB, free: 86.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1502/25.59, allocations: 14.89 MB / 6.159 GB, free: 84.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008788/25.6, allocations: 1.852 MB / 6.161 GB, free: 84.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004089/25.6, allocations: 35.31 kB / 6.161 GB, free: 84.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01327/25.62, allocations: 492.1 kB / 6.161 GB, free: 84.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001652/25.62, allocations: 311 kB / 6.162 GB, free: 84.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001701/25.62, allocations: 215 kB / 6.162 GB, free: 84.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01421/25.63, allocations: 4.803 MB / 6.166 GB, free: 84.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.333e-06/25.63, allocations: 0 / 6.166 GB, free: 84.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03145/25.67, allocations: 5.006 MB / 6.171 GB, free: 83.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 27 (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,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * 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 (534): * Single equations (assignments): 523 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.1692/25.84, allocations: 17.73 MB / 6.189 GB, free: 80.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0533/25.89, allocations: 11.21 MB / 6.2 GB, free: 80.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.019e-05/25.89, allocations: 5.438 kB / 6.2 GB, free: 80.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009076/25.9, allocations: 3.043 MB / 6.203 GB, free: 79.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03073/25.93, allocations: 3.596 MB / 6.206 GB, free: 77.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08392/26.01, allocations: 19.08 MB / 6.225 GB, free: 63.76 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01816/26.03, allocations: 6.191 MB / 6.231 GB, free: 60.09 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.05426/26.09, allocations: 5.663 MB / 6.236 GB, free: 56.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01808/26.1, allocations: 4.006 MB / 6.24 GB, free: 56.15 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/26.1, allocations: 0 / 6.24 GB, free: 56.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.379/27.48, allocations: 225.2 MB / 6.46 GB, free: 142.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/27.48, allocations: 188.1 kB / 6.46 GB, free: 142 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/43.1, allocations: 0 / 6.46 GB, free: 142 MB / 0.9792 GB