Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.3 MB / 303.2 MB, free: 8.133 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.001246/0.001246, allocations: 192 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 98.94 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 11.84 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3245, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.048/7.373, allocations: 2.411 GB / 3.391 GB, free: 225.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/7.373, allocations: 101.2 kB / 3.391 GB, free: 225.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.73/18.1, allocations: 2.527 GB / 5.918 GB, free: 62.04 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.765e-06/18.1, allocations: 0 / 5.918 GB, free: 62.04 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001899/18.11, allocations: 265.4 kB / 5.918 GB, free: 62 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.0439/18.15, allocations: 10.79 MB / 5.929 GB, free: 57.82 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/18.15, allocations: 11 kB / 5.929 GB, free: 57.82 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/18.17, allocations: 2.046 MB / 5.931 GB, free: 57.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03681/18.2, allocations: 11.83 MB / 5.942 GB, free: 56.01 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008109/18.2, allocations: 0.5976 MB / 5.943 GB, free: 56 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004232/18.21, allocations: 0.8063 MB / 5.944 GB, free: 55.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03525/18.24, allocations: 11.2 MB / 5.955 GB, free: 54.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/18.24, allocations: 19.47 kB / 5.955 GB, free: 54.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003548/18.25, allocations: 340.6 kB / 5.955 GB, free: 54.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004127/18.25, allocations: 335.1 kB / 5.955 GB, free: 54.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/18.28, allocations: 10.32 MB / 5.965 GB, free: 54.81 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.09815/18.38, allocations: 45.27 MB / 6.009 GB, free: 37.81 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.017/18.4, allocations: 7.919 MB / 6.017 GB, free: 37.52 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.04437/18.44, allocations: 18.19 MB / 6.035 GB, free: 32.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007923/18.45, allocations: 3.619 MB / 6.039 GB, free: 32.79 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007036/18.46, allocations: 0.7679 MB / 6.039 GB, free: 32.51 MB / 1.01 GB Notification: Performance of pre-optimization done (n=511): time 3.333e-05/18.46, allocations: 3.281 kB / 6.039 GB, free: 32.51 MB / 1.01 GB Notification: Performance of matching and sorting (n=511): time 0.02669/18.48, allocations: 9.422 MB / 6.048 GB, free: 31.75 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002489/18.48, allocations: 372 kB / 6.049 GB, free: 31.37 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02173/18.5, allocations: 7.148 MB / 6.056 GB, free: 30.86 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002263/18.51, allocations: 130.5 kB / 6.056 GB, free: 30.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.007503/18.51, allocations: 4.35 MB / 6.06 GB, free: 29.32 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.004006/18.52, allocations: 1.764 MB / 6.062 GB, free: 28.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/18.52, allocations: 130.7 kB / 6.062 GB, free: 28.2 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0007082/18.52, allocations: 0.5592 MB / 6.063 GB, free: 27.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007655/18.53, allocations: 3.31 MB / 6.066 GB, free: 27.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008948/18.54, allocations: 5.052 MB / 6.071 GB, free: 25.95 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008978/18.55, allocations: 4.185 MB / 6.075 GB, free: 25.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.371e-05/18.55, allocations: 13.19 kB / 6.075 GB, free: 25.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02465/18.57, allocations: 9.462 MB / 6.084 GB, free: 25.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0129/18.58, allocations: 23.75 MB / 6.107 GB, free: 32.29 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004216/18.59, allocations: 53.41 kB / 6.107 GB, free: 32.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009363/18.59, allocations: 171.2 kB / 6.108 GB, free: 32.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/18.6, allocations: 1.688 MB / 6.109 GB, free: 32.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/18.6, allocations: 0.7184 MB / 6.11 GB, free: 31.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/18.61, allocations: 0.6961 MB / 6.111 GB, free: 31.66 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/18.61, allocations: 307.9 kB / 6.111 GB, free: 31.66 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/18.61, allocations: 7.188 kB / 6.111 GB, free: 31.66 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02064/18.63, allocations: 8.758 MB / 6.119 GB, free: 31.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/18.63, allocations: 47.28 kB / 6.119 GB, free: 31.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003989/18.63, allocations: 172.3 kB / 6.12 GB, free: 31.4 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008861/18.64, allocations: 1.676 MB / 6.121 GB, free: 31.39 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007858/18.64, allocations: 0.7338 MB / 6.122 GB, free: 30.87 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/18.65, allocations: 0.6699 MB / 6.123 GB, free: 30.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002324/18.66, allocations: 312.2 kB / 6.123 GB, free: 30.8 MB / 1.042 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.01017/18.67, allocations: 3.221 MB / 6.126 GB, free: 30.57 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003964/18.67, allocations: 0.758 MB / 6.127 GB, free: 30.18 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/18.69, allocations: 7.892 MB / 6.134 GB, free: 29.71 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-05/18.69, allocations: 58.25 kB / 6.135 GB, free: 29.71 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/18.69, allocations: 0 / 6.135 GB, free: 29.71 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01337/18.7, allocations: 6.238 MB / 6.141 GB, free: 29.23 MB / 1.042 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.05138/18.76, allocations: 17.25 MB / 6.157 GB, free: 26.82 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/18.76, allocations: 3.828 kB / 6.157 GB, free: 26.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006738/18.76, allocations: 1.155 MB / 6.159 GB, free: 26.78 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/18.76, allocations: 91.41 kB / 6.159 GB, free: 26.75 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001157/18.76, allocations: 154 kB / 6.159 GB, free: 26.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007227/18.76, allocations: 0.6333 MB / 6.159 GB, free: 26.11 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/18.76, allocations: 4.062 kB / 6.159 GB, free: 26.11 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/18.79, allocations: 11.49 MB / 6.171 GB, free: 21.24 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009241/18.8, allocations: 1.942 MB / 6.173 GB, free: 20.16 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004523/18.8, allocations: 111.9 kB / 6.173 GB, free: 20.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/18.82, allocations: 0.5895 MB / 6.173 GB, free: 19.95 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001852/18.82, allocations: 320.1 kB / 6.174 GB, free: 19.91 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002168/18.82, allocations: 228.2 kB / 6.174 GB, free: 19.87 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01703/18.84, allocations: 5.627 MB / 6.179 GB, free: 17.88 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.172e-06/18.84, allocations: 0 / 6.179 GB, free: 17.88 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.031/18.87, allocations: 5.242 MB / 6.184 GB, free: 16.66 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 (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.00828/18.88, allocations: 2.458 MB / 6.187 GB, free: 15.82 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.03245/18.91, allocations: 12.23 MB / 6.199 GB, free: 10.47 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.387e-05/18.91, allocations: 6.562 kB / 6.199 GB, free: 10.46 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.009775/18.92, allocations: 3.393 MB / 6.202 GB, free: 7.539 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02565/18.94, allocations: 4.121 MB / 6.206 GB, free: 4.602 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8444/19.79, allocations: 23.47 MB / 6.229 GB, free: 95.53 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01618/19.8, allocations: 6.183 MB / 6.235 GB, free: 94.6 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02573/19.83, allocations: 4.218 MB / 6.239 GB, free: 94.53 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006708/19.84, allocations: 0.7256 MB / 6.24 GB, free: 94.53 MB / 1.057 GB Notification: Performance of SimCode: time 1.724e-06/19.84, allocations: 0 / 6.24 GB, free: 94.53 MB / 1.057 GB Notification: Performance of Templates: time 0.3156/20.15, allocations: 172.2 MB / 6.408 GB, free: 85.19 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)