Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001497, allocations: 180.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001063, allocations: 97.64 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.367e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8289/0.829, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.161/7.99, allocations: 2.411 GB / 3.374 GB, free: 69.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/7.99, allocations: 96.75 kB / 3.374 GB, free: 68.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.56/21.55, allocations: 2.507 GB / 5.881 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.554e-06/21.55, allocations: 0 / 5.881 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002384/21.55, allocations: 261.9 kB / 5.882 GB, free: 117.1 MB / 0.9792 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.04307/21.59, allocations: 8.897 MB / 5.89 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/21.59, allocations: 10.62 kB / 5.89 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/21.61, allocations: 2.039 MB / 5.892 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04638/21.66, allocations: 11.77 MB / 5.904 GB, free: 105 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006178/21.66, allocations: 256.8 kB / 5.904 GB, free: 105 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004046/21.66, allocations: 475.2 kB / 5.905 GB, free: 105 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02848/21.69, allocations: 9.096 MB / 5.913 GB, free: 97.29 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/21.73, allocations: 9.656 MB / 5.923 GB, free: 87.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005885/21.73, allocations: 27.73 kB / 5.923 GB, free: 87.28 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003594/21.73, allocations: 12 kB / 5.923 GB, free: 87.27 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/21.73, allocations: 339 kB / 5.923 GB, free: 86.93 MB / 0.9792 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.1271/21.86, allocations: 43.83 MB / 5.966 GB, free: 41.71 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/21.88, allocations: 7.164 MB / 5.973 GB, free: 34.59 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008806/21.89, allocations: 3.57 MB / 5.976 GB, free: 31.01 MB / 0.9792 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.05901/21.95, allocations: 18.08 MB / 5.994 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008804/21.95, allocations: 3.214 MB / 5.997 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007166/21.96, allocations: 0.6197 MB / 5.998 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=509): time 3.895e-05/21.96, allocations: 0 / 5.998 GB, free: 8.465 MB / 0.9792 GB Notification: Performance of matching and sorting (n=509): time 0.141/22.1, allocations: 10.53 MB / 6.008 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002498/22.1, allocations: 360.4 kB / 6.009 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02161/22.13, allocations: 6.326 MB / 6.015 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002019/22.13, allocations: 33.7 kB / 6.015 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008653/22.14, allocations: 4.31 MB / 6.019 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004351/22.14, allocations: 1.686 MB / 6.021 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001918/22.14, allocations: 4 kB / 6.021 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0009432/22.14, allocations: 0.5589 MB / 6.021 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01041/22.15, allocations: 2.953 MB / 6.024 GB, free: 13.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/22.17, allocations: 4.647 MB / 6.029 GB, free: 8.191 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.333/23.5, allocations: 15.98 MB / 6.044 GB, free: 147.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.459e-05/23.5, allocations: 14.19 kB / 6.044 GB, free: 147.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.3706/23.87, allocations: 20.51 MB / 6.064 GB, free: 146.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.005017/23.87, allocations: 23.29 MB / 6.087 GB, free: 122 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/23.87, allocations: 46.06 kB / 6.087 GB, free: 122 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/23.88, allocations: 159.1 kB / 6.087 GB, free: 122 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0151/23.89, allocations: 1.681 MB / 6.089 GB, free: 122 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009681/23.89, allocations: 0.7319 MB / 6.09 GB, free: 121.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/23.91, allocations: 0.5543 MB / 6.09 GB, free: 121.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002566/23.91, allocations: 314.7 kB / 6.09 GB, free: 121.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/23.91, allocations: 3.719 kB / 6.09 GB, free: 121.5 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.373/24.28, allocations: 19.7 MB / 6.11 GB, free: 120.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002398/24.28, allocations: 48.36 kB / 6.11 GB, free: 120.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/24.28, allocations: 160.6 kB / 6.11 GB, free: 120.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01578/24.3, allocations: 1.673 MB / 6.111 GB, free: 120.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009886/24.3, allocations: 0.7306 MB / 6.112 GB, free: 119.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01449/24.31, allocations: 0.535 MB / 6.113 GB, free: 119.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002778/24.32, allocations: 308.2 kB / 6.113 GB, free: 119.9 MB / 1.01 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.004256/24.32, allocations: 279.4 kB / 6.113 GB, free: 119.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003911/24.33, allocations: 0.7238 MB / 6.114 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.157/24.48, allocations: 11.58 MB / 6.125 GB, free: 119 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.557e-05/24.48, allocations: 53.97 kB / 6.125 GB, free: 119 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-05/24.48, allocations: 1.031 kB / 6.125 GB, free: 119 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1451/24.63, allocations: 10.08 MB / 6.135 GB, free: 118.3 MB / 1.01 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.2004/24.83, allocations: 19.99 MB / 6.155 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/24.83, allocations: 2 kB / 6.155 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02666/24.85, allocations: 1.153 MB / 6.156 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005084/24.86, allocations: 77.59 kB / 6.156 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001559/24.86, allocations: 100.6 kB / 6.156 GB, free: 117.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008295/24.86, allocations: 0.6254 MB / 6.157 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/24.86, allocations: 0 / 6.157 GB, free: 116.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.15/25.01, allocations: 14.91 MB / 6.171 GB, free: 115.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008314/25.02, allocations: 1.89 MB / 6.173 GB, free: 114.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003979/25.02, allocations: 29.44 kB / 6.173 GB, free: 114.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01316/25.03, allocations: 488.5 kB / 6.173 GB, free: 114.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001621/25.04, allocations: 309 kB / 6.174 GB, free: 114.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001423/25.04, allocations: 231.5 kB / 6.174 GB, free: 114.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01354/25.05, allocations: 4.803 MB / 6.179 GB, free: 114.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.22e-07/25.05, allocations: 0 / 6.179 GB, free: 114.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0313/25.08, allocations: 5.028 MB / 6.184 GB, free: 114.2 MB / 1.01 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.008291/25.09, allocations: 2.256 MB / 6.186 GB, free: 113.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03166/25.12, allocations: 11.2 MB / 6.197 GB, free: 113.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.21e-05/25.12, allocations: 5.625 kB / 6.197 GB, free: 113.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009141/25.13, allocations: 3.042 MB / 6.2 GB, free: 113.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03106/25.16, allocations: 3.613 MB / 6.203 GB, free: 113.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05415/25.22, allocations: 16.44 MB / 6.219 GB, free: 109.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/25.23, allocations: 6.182 MB / 6.225 GB, free: 108.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03788/25.27, allocations: 5.703 MB / 6.231 GB, free: 107.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004667/25.27, allocations: 0.563 MB / 6.231 GB, free: 107.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.353e-06/25.27, allocations: 0 / 6.231 GB, free: 107.8 MB / 1.01 GB Notification: Performance of Templates: time 0.3701/25.64, allocations: 150 MB / 6.378 GB, free: 5.668 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)