Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 171.8 kB / 326.5 MB, free: 2.27 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.163/2.163, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.0009587, allocations: 97.52 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 9.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2892, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.367/7.656, allocations: 2.528 GB / 3.428 GB, free: 19.63 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/7.656, allocations: 109 kB / 3.428 GB, free: 19.53 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.94/18.6, allocations: 2.466 GB / 5.894 GB, free: 68.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.567e-06/18.6, allocations: 0 / 5.894 GB, free: 68.38 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001923/18.6, allocations: 265.6 kB / 5.895 GB, free: 68.38 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: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.05417/18.65, allocations: 10.79 MB / 5.905 GB, free: 64.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/18.65, allocations: 9.688 kB / 5.905 GB, free: 64.72 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006865/18.66, allocations: 1.069 MB / 5.906 GB, free: 64.63 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/18.68, allocations: 2.045 MB / 5.908 GB, free: 64.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04093/18.72, allocations: 11.79 MB / 5.92 GB, free: 62.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009418/18.72, allocations: 0.5951 MB / 5.92 GB, free: 62.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004966/18.72, allocations: 0.8025 MB / 5.921 GB, free: 62.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04041/18.77, allocations: 11.11 MB / 5.932 GB, free: 61.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006017/18.77, allocations: 26.48 kB / 5.932 GB, free: 61.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003632/18.77, allocations: 340.7 kB / 5.932 GB, free: 61.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/18.77, allocations: 333 kB / 5.933 GB, free: 61.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/18.8, allocations: 10.31 MB / 5.943 GB, free: 61.61 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.09214/18.89, allocations: 45.15 MB / 5.987 GB, free: 44.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/18.91, allocations: 7.915 MB / 5.994 GB, free: 44.35 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04728/18.96, allocations: 18.12 MB / 6.012 GB, free: 39.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009403/18.97, allocations: 3.541 MB / 6.016 GB, free: 39.63 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007734/18.97, allocations: 0.7717 MB / 6.016 GB, free: 39.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=511): time 3.579e-05/18.97, allocations: 3.938 kB / 6.016 GB, free: 39.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=511): time 0.02624/19, allocations: 9.416 MB / 6.026 GB, free: 38.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/19, allocations: 366.9 kB / 6.026 GB, free: 38.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01628/19.02, allocations: 7.131 MB / 6.033 GB, free: 37.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001869/19.02, allocations: 136.6 kB / 6.033 GB, free: 37.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006321/19.03, allocations: 4.357 MB / 6.037 GB, free: 36.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003163/19.03, allocations: 1.764 MB / 6.039 GB, free: 35.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/19.03, allocations: 131.1 kB / 6.039 GB, free: 35.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005684/19.03, allocations: 0.5649 MB / 6.04 GB, free: 34.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007384/19.04, allocations: 3.31 MB / 6.043 GB, free: 34.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/19.05, allocations: 5.049 MB / 6.048 GB, free: 32.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009534/19.06, allocations: 4.187 MB / 6.052 GB, free: 32.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.475e-05/19.06, allocations: 14.47 kB / 6.052 GB, free: 32.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02664/19.09, allocations: 9.453 MB / 6.061 GB, free: 32.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007761/19.09, allocations: 23.76 MB / 6.084 GB, free: 23.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/19.09, allocations: 51.47 kB / 6.084 GB, free: 23.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007283/19.09, allocations: 167.2 kB / 6.085 GB, free: 23.19 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009503/19.1, allocations: 1.689 MB / 6.086 GB, free: 23.19 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009855/19.1, allocations: 0.7292 MB / 6.087 GB, free: 22.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/19.12, allocations: 0.6863 MB / 6.088 GB, free: 22.62 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/19.12, allocations: 310.4 kB / 6.088 GB, free: 22.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/19.12, allocations: 3.719 kB / 6.088 GB, free: 22.62 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0242/19.14, allocations: 8.759 MB / 6.096 GB, free: 22.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/19.14, allocations: 51.19 kB / 6.096 GB, free: 22.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/19.14, allocations: 167 kB / 6.097 GB, free: 22.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008889/19.15, allocations: 1.676 MB / 6.098 GB, free: 22.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009065/19.15, allocations: 0.7271 MB / 6.099 GB, free: 21.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/19.17, allocations: 0.6659 MB / 6.1 GB, free: 21.87 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/19.17, allocations: 318 kB / 6.1 GB, free: 21.87 MB / 0.9636 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (821): * Single equations (assignments): 817 * 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.01037/19.18, allocations: 3.221 MB / 6.103 GB, free: 21.65 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003542/19.18, allocations: 0.7604 MB / 6.104 GB, free: 21.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/19.2, allocations: 7.881 MB / 6.112 GB, free: 20.85 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/19.2, allocations: 58.09 kB / 6.112 GB, free: 20.85 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/19.2, allocations: 7.75 kB / 6.112 GB, free: 20.85 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01515/19.22, allocations: 6.227 MB / 6.118 GB, free: 20.41 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05114/19.27, allocations: 17.16 MB / 6.134 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/19.27, allocations: 1.906 kB / 6.134 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007083/19.28, allocations: 1.158 MB / 6.136 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/19.28, allocations: 93.5 kB / 6.136 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001459/19.28, allocations: 162.9 kB / 6.136 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007135/19.28, allocations: 0.6319 MB / 6.136 GB, free: 18.95 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/19.28, allocations: 2.516 kB / 6.136 GB, free: 18.95 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0283/19.31, allocations: 11.49 MB / 6.148 GB, free: 17.83 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01007/19.32, allocations: 1.899 MB / 6.149 GB, free: 17.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00677/19.33, allocations: 108 kB / 6.15 GB, free: 17.31 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01461/19.34, allocations: 0.5939 MB / 6.15 GB, free: 17.24 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/19.34, allocations: 313.3 kB / 6.15 GB, free: 17.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001575/19.34, allocations: 218.6 kB / 6.151 GB, free: 17.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01937/19.36, allocations: 5.621 MB / 6.156 GB, free: 16.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.042e-06/19.36, allocations: 0 / 6.156 GB, free: 16.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03982/19.4, allocations: 5.226 MB / 6.161 GB, free: 16.17 MB / 0.9636 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (536): * Single equations (assignments): 525 * 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.05214/19.45, allocations: 14.48 MB / 6.175 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0413/19.5, allocations: 12.23 MB / 6.187 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/19.5, allocations: 4.125 kB / 6.187 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/19.51, allocations: 3.4 MB / 6.191 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02153/19.53, allocations: 4.117 MB / 6.195 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7556/20.29, allocations: 61.88 MB / 6.255 GB, free: 115.9 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01429/20.3, allocations: 6.172 MB / 6.261 GB, free: 114.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02309/20.32, allocations: 4.195 MB / 6.265 GB, free: 114.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01132/20.33, allocations: 4.13 MB / 6.269 GB, free: 114.9 MB / 1.01 GB Notification: Performance of SimCode: time 3.126e-06/20.33, allocations: 0 / 6.269 GB, free: 114.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4113/20.75, allocations: 251.3 MB / 6.515 GB, free: 60.15 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/20.75, allocations: 277.6 kB / 6.515 GB, free: 59.78 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/33.33, allocations: 0 / 6.515 GB, free: 59.78 MB / 1.01 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)