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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001633/0.001633, allocations: 185 kB / 377.1 MB, free: 1.512 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.151/2.151, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009809/0.0009809, allocations: 96.89 kB / 0.751 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004071, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3473, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/8.037, allocations: 2.412 GB / 3.401 GB, free: 180.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/8.037, allocations: 104.6 kB / 3.401 GB, free: 180.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.63/18.67, allocations: 2.527 GB / 5.928 GB, free: 64.25 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.454e-06/18.67, allocations: 1.25 kB / 5.928 GB, free: 64.25 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002638/18.67, allocations: 264.9 kB / 5.928 GB, free: 64.21 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.06337/18.73, allocations: 10.79 MB / 5.939 GB, free: 60.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/18.73, allocations: 7.344 kB / 5.939 GB, free: 60.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/18.75, allocations: 2.051 MB / 5.941 GB, free: 59.45 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03941/18.79, allocations: 11.84 MB / 5.952 GB, free: 58.22 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008679/18.79, allocations: 0.5982 MB / 5.953 GB, free: 58.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004544/18.79, allocations: 0.7978 MB / 5.954 GB, free: 58.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/18.83, allocations: 11.2 MB / 5.964 GB, free: 57.09 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005181/18.83, allocations: 24.78 kB / 5.964 GB, free: 57.09 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/18.83, allocations: 342.8 kB / 5.965 GB, free: 57.09 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/18.83, allocations: 334.9 kB / 5.965 GB, free: 57.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02925/18.86, allocations: 10.31 MB / 5.975 GB, free: 57.01 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.1138/18.98, allocations: 45.29 MB / 6.019 GB, free: 39.97 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/19, allocations: 7.907 MB / 6.027 GB, free: 39.68 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.05796/19.06, allocations: 18.19 MB / 6.045 GB, free: 35.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.012/19.07, allocations: 3.621 MB / 6.048 GB, free: 34.96 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009437/19.08, allocations: 0.7771 MB / 6.049 GB, free: 34.67 MB / 1.01 GB Notification: Performance of pre-optimization done (n=511): time 4.727e-05/19.08, allocations: 5.094 kB / 6.049 GB, free: 34.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=511): time 0.03809/19.12, allocations: 9.422 MB / 6.058 GB, free: 33.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/19.12, allocations: 371.2 kB / 6.059 GB, free: 33.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02442/19.14, allocations: 7.131 MB / 6.066 GB, free: 33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002303/19.14, allocations: 138.9 kB / 6.066 GB, free: 32.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.007682/19.15, allocations: 4.357 MB / 6.07 GB, free: 31.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.004032/19.15, allocations: 1.764 MB / 6.072 GB, free: 30.07 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002234/19.16, allocations: 131.6 kB / 6.072 GB, free: 29.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001115/19.16, allocations: 0.5587 MB / 6.073 GB, free: 29.55 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009505/19.17, allocations: 3.315 MB / 6.076 GB, free: 28.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/19.18, allocations: 5.046 MB / 6.081 GB, free: 25.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/19.19, allocations: 4.186 MB / 6.085 GB, free: 23.37 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/19.19, allocations: 12.88 kB / 6.085 GB, free: 23.37 MB / 1.01 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03127/19.22, allocations: 9.455 MB / 6.094 GB, free: 19.85 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.01271/19.23, allocations: 23.75 MB / 6.117 GB, free: 26.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/19.23, allocations: 56.66 kB / 6.117 GB, free: 26.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008801/19.23, allocations: 166.9 kB / 6.117 GB, free: 26.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/19.25, allocations: 1.68 MB / 6.119 GB, free: 26.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/19.25, allocations: 0.7377 MB / 6.12 GB, free: 25.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01374/19.26, allocations: 0.6922 MB / 6.12 GB, free: 25.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00287/19.26, allocations: 311.7 kB / 6.121 GB, free: 25.42 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/19.26, allocations: 3.906 kB / 6.121 GB, free: 25.42 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03009/19.29, allocations: 8.762 MB / 6.129 GB, free: 22.04 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002724/19.29, allocations: 48.5 kB / 6.129 GB, free: 22.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006755/19.29, allocations: 171.1 kB / 6.13 GB, free: 22 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009759/19.3, allocations: 1.676 MB / 6.131 GB, free: 21.85 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/19.31, allocations: 0.7209 MB / 6.132 GB, free: 21.27 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/19.32, allocations: 0.6718 MB / 6.133 GB, free: 21.09 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/19.32, allocations: 309.4 kB / 6.133 GB, free: 21.04 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.01411/19.34, allocations: 3.227 MB / 6.136 GB, free: 19.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00529/19.34, allocations: 0.7635 MB / 6.137 GB, free: 19.11 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03161/19.37, allocations: 7.882 MB / 6.144 GB, free: 16.04 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-05/19.37, allocations: 54 kB / 6.144 GB, free: 16.04 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-05/19.37, allocations: 3.422 kB / 6.144 GB, free: 16.04 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01905/19.39, allocations: 6.242 MB / 6.151 GB, free: 13.54 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.06471/19.46, allocations: 17.23 MB / 6.167 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/19.46, allocations: 0 / 6.167 GB, free: 6.676 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007486/19.46, allocations: 1.161 MB / 6.169 GB, free: 6.578 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/19.46, allocations: 93.56 kB / 6.169 GB, free: 6.555 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001938/19.47, allocations: 151.4 kB / 6.169 GB, free: 6.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008311/19.47, allocations: 0.6433 MB / 6.169 GB, free: 5.906 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/19.47, allocations: 0 / 6.169 GB, free: 5.906 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04041/19.51, allocations: 11.81 MB / 6.181 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0111/19.52, allocations: 1.943 MB / 6.183 GB, free: 14.19 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006442/19.53, allocations: 115.3 kB / 6.183 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01227/19.54, allocations: 0.5871 MB / 6.183 GB, free: 13.65 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/19.54, allocations: 306.4 kB / 6.184 GB, free: 13.46 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002113/19.54, allocations: 232.8 kB / 6.184 GB, free: 13.28 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01826/19.56, allocations: 5.621 MB / 6.189 GB, free: 8.664 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.375e-06/19.56, allocations: 4 kB / 6.19 GB, free: 8.66 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.03777/19.6, allocations: 5.246 MB / 6.195 GB, free: 3.445 MB / 1.057 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.01122/19.61, allocations: 2.441 MB / 6.197 GB, free: 1.602 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.8623/20.47, allocations: 12.43 MB / 6.209 GB, free: 106.4 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-05/20.47, allocations: 7.062 kB / 6.209 GB, free: 106.4 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/20.48, allocations: 3.39 MB / 6.212 GB, free: 106.4 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02645/20.51, allocations: 4.121 MB / 6.216 GB, free: 106.4 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0566/20.57, allocations: 23.36 MB / 6.239 GB, free: 98.2 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01428/20.58, allocations: 6.18 MB / 6.245 GB, free: 97.27 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02814/20.61, allocations: 4.229 MB / 6.249 GB, free: 97.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006943/20.61, allocations: 0.7224 MB / 6.25 GB, free: 97.2 MB / 1.057 GB Notification: Performance of SimCode: time 2.365e-06/20.61, allocations: 3.75 kB / 6.25 GB, free: 97.2 MB / 1.057 GB Notification: Performance of Templates: time 0.3415/20.96, allocations: 172.1 MB / 6.418 GB, free: 86.24 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)