Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 293 MB / 309 MB, free: 4.805 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.001996/0.001995, allocations: 175.2 kB / 378.7 MB, free: 1.031 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.923/1.923, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0008388/0.0008386, allocations: 96.11 kB / 0.7527 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.0005976, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3176, allocations: 116.4 MB / 0.9904 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.494/6.811, allocations: 2.413 GB / 3.403 GB, free: 161.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/6.812, allocations: 104 kB / 3.403 GB, free: 161.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.918/16.73, allocations: 2.513 GB / 5.916 GB, free: 66.74 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.784e-06/16.73, allocations: 2.75 kB / 5.916 GB, free: 66.74 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002978/16.73, allocations: 269.1 kB / 5.917 GB, free: 66.7 MB / 1.01 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.05105/16.78, allocations: 10.68 MB / 5.927 GB, free: 62.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.195e-05/16.78, allocations: 10.62 kB / 5.927 GB, free: 62.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/16.8, allocations: 2.042 MB / 5.929 GB, free: 61.94 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0478/16.85, allocations: 11.53 MB / 5.94 GB, free: 60.38 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/16.85, allocations: 0.6053 MB / 5.941 GB, free: 60.37 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006046/16.86, allocations: 0.795 MB / 5.942 GB, free: 60.36 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04213/16.9, allocations: 11.27 MB / 5.953 GB, free: 59.26 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007811/16.9, allocations: 26.38 kB / 5.953 GB, free: 59.26 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004229/16.91, allocations: 336.3 kB / 5.953 GB, free: 59.26 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000456/16.91, allocations: 334.5 kB / 5.953 GB, free: 59.24 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03055/16.94, allocations: 10.31 MB / 5.963 GB, free: 59.18 MB / 1.01 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.1008/17.04, allocations: 44.98 MB / 6.007 GB, free: 42.11 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/17.05, allocations: 7.712 MB / 6.015 GB, free: 41.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009071/17.06, allocations: 4.053 MB / 6.019 GB, free: 41.73 MB / 1.01 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.05078/17.11, allocations: 18.01 MB / 6.036 GB, free: 37.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009775/17.12, allocations: 3.622 MB / 6.04 GB, free: 37.09 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007651/17.13, allocations: 0.7343 MB / 6.041 GB, free: 36.83 MB / 1.01 GB Notification: Performance of pre-optimization done (n=509): time 3.559e-05/17.13, allocations: 0 / 6.041 GB, free: 36.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=509): time 0.03127/17.16, allocations: 9.393 MB / 6.05 GB, free: 35.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000196/17.16, allocations: 371.8 kB / 6.05 GB, free: 35.61 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02198/17.19, allocations: 7.426 MB / 6.057 GB, free: 33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002137/17.19, allocations: 136.4 kB / 6.058 GB, free: 32.89 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00743/17.2, allocations: 4.357 MB / 6.062 GB, free: 29.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003659/17.2, allocations: 1.754 MB / 6.064 GB, free: 28.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/17.2, allocations: 130.9 kB / 6.064 GB, free: 28.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0008749/17.2, allocations: 0.558 MB / 6.064 GB, free: 27.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008484/17.21, allocations: 3.3 MB / 6.067 GB, free: 26.52 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/17.22, allocations: 5.069 MB / 6.072 GB, free: 23.25 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01752/17.24, allocations: 8.431 MB / 6.081 GB, free: 18.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-05/17.24, allocations: 13.5 kB / 6.081 GB, free: 18.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02832/17.27, allocations: 9.429 MB / 6.09 GB, free: 14.73 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/17.27, allocations: 1.497 MB / 6.091 GB, free: 12.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/17.27, allocations: 46.16 kB / 6.091 GB, free: 12.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007391/17.27, allocations: 164.8 kB / 6.092 GB, free: 12.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0085/17.28, allocations: 1.603 MB / 6.093 GB, free: 12.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009043/17.28, allocations: 0.7324 MB / 6.094 GB, free: 11.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/17.29, allocations: 0.683 MB / 6.094 GB, free: 11.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002313/17.29, allocations: 316.8 kB / 6.095 GB, free: 11.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/17.29, allocations: 4.812 kB / 6.095 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02531/17.32, allocations: 8.722 MB / 6.103 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002315/17.32, allocations: 51.78 kB / 6.103 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/17.32, allocations: 167.3 kB / 6.104 GB, free: 8.238 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00841/17.33, allocations: 1.584 MB / 6.105 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000877/17.33, allocations: 0.7329 MB / 6.106 GB, free: 7.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/17.34, allocations: 0.6608 MB / 6.106 GB, free: 7.324 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00243/17.34, allocations: 313 kB / 6.107 GB, free: 7.273 MB / 1.01 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 (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.01272/17.36, allocations: 3.224 MB / 6.11 GB, free: 5.754 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00482/17.36, allocations: 0.7635 MB / 6.111 GB, free: 5.348 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02727/17.39, allocations: 7.826 MB / 6.118 GB, free: 2.312 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/17.39, allocations: 66.2 kB / 6.118 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.633e-05/17.39, allocations: 0 / 6.118 GB, free: 2.305 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01567/17.4, allocations: 6.239 MB / 6.124 GB, free: 15.93 MB / 1.026 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.06023/17.46, allocations: 17.06 MB / 6.141 GB, free: 9.129 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/17.46, allocations: 0 / 6.141 GB, free: 9.129 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006789/17.47, allocations: 1.155 MB / 6.142 GB, free: 8.449 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/17.47, allocations: 95.34 kB / 6.142 GB, free: 8.367 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00155/17.47, allocations: 154.7 kB / 6.142 GB, free: 8.246 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007858/17.47, allocations: 0.6351 MB / 6.143 GB, free: 7.605 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/17.47, allocations: 6.375 kB / 6.143 GB, free: 7.602 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04115/17.51, allocations: 12.15 MB / 6.155 GB, free: 15.85 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01011/17.52, allocations: 1.852 MB / 6.157 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005037/17.53, allocations: 111 kB / 6.157 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01083/17.54, allocations: 0.5849 MB / 6.157 GB, free: 13.71 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001802/17.54, allocations: 306.6 kB / 6.158 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001903/17.54, allocations: 230.9 kB / 6.158 GB, free: 13.34 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01662/17.56, allocations: 5.191 MB / 6.163 GB, free: 9.094 MB / 1.042 GB Notification: Performance of sort global known variables: time 5.72e-07/17.56, allocations: 4 kB / 6.163 GB, free: 9.09 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.03396/17.6, allocations: 5.174 MB / 6.168 GB, free: 3.945 MB / 1.042 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 (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.009975/17.61, allocations: 2.401 MB / 6.17 GB, free: 2.121 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.03723/17.64, allocations: 12.2 MB / 6.182 GB, free: 7.586 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/17.64, allocations: 6.562 kB / 6.182 GB, free: 7.582 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.009625/17.65, allocations: 3.377 MB / 6.186 GB, free: 4.668 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04038/17.69, allocations: 4.167 MB / 6.19 GB, free: 1.68 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8634/18.56, allocations: 23.98 MB / 6.213 GB, free: 97.56 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02067/18.58, allocations: 6.002 MB / 6.219 GB, free: 96.63 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02952/18.61, allocations: 4.163 MB / 6.223 GB, free: 96.56 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005566/18.61, allocations: 0.7164 MB / 6.224 GB, free: 96.56 MB / 1.057 GB Notification: Performance of SimCode: time 1.523e-06/18.61, allocations: 5.094 kB / 6.224 GB, free: 96.56 MB / 1.057 GB Notification: Performance of Templates: time 0.3636/18.98, allocations: 171.6 MB / 6.391 GB, free: 86.17 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)