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.807/1.807, allocations: 289.7 MB / 302.2 MB, free: 2.227 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.001164/0.001164, allocations: 183.9 kB / 371.6 MB, free: 3.371 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.786/1.786, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0008874/0.0008875, allocations: 94.52 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.398e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2967, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.464/7.76, allocations: 2.412 GB / 3.392 GB, free: 142.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/7.761, allocations: 99.83 kB / 3.392 GB, free: 142.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.09/17.85, allocations: 2.52 GB / 5.912 GB, free: 72.06 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.635e-06/17.85, allocations: 1.688 kB / 5.912 GB, free: 72.06 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001545/17.85, allocations: 266.7 kB / 5.912 GB, free: 72.02 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.03018/17.88, allocations: 8.896 MB / 5.921 GB, free: 68.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/17.88, allocations: 11.16 kB / 5.921 GB, free: 68.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/17.89, allocations: 2.043 MB / 5.923 GB, free: 67.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.033/17.93, allocations: 11.77 MB / 5.935 GB, free: 66.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008582/17.93, allocations: 0.595 MB / 5.935 GB, free: 66.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004101/17.93, allocations: 0.8053 MB / 5.936 GB, free: 66.68 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03538/17.97, allocations: 10.8 MB / 5.946 GB, free: 65.58 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006294/17.97, allocations: 25.5 kB / 5.946 GB, free: 65.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003398/17.97, allocations: 340.3 kB / 5.947 GB, free: 65.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003877/17.97, allocations: 333.2 kB / 5.947 GB, free: 65.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02519/18, allocations: 9.608 MB / 5.956 GB, free: 65.46 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 preOpt removeSimpleEquations (simulation): time 0.0879/18.08, allocations: 45.28 MB / 6.001 GB, free: 48.02 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/18.1, allocations: 7.439 MB / 6.008 GB, free: 47.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006932/18.1, allocations: 3.719 MB / 6.012 GB, free: 46.99 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 preOpt evalFunc (simulation): time 0.0441/18.15, allocations: 18.35 MB / 6.03 GB, free: 36.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007791/18.16, allocations: 3.376 MB / 6.033 GB, free: 35.65 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006209/18.16, allocations: 0.7726 MB / 6.034 GB, free: 35.24 MB / 1.01 GB Notification: Performance of pre-optimization done (n=509): time 2.065e-05/18.16, allocations: 3.125 kB / 6.034 GB, free: 35.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=509): time 0.01501/18.18, allocations: 6.149 MB / 6.04 GB, free: 32.89 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/18.18, allocations: 366.9 kB / 6.04 GB, free: 32.51 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01583/18.19, allocations: 7.066 MB / 6.047 GB, free: 29.95 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001788/18.2, allocations: 137.4 kB / 6.047 GB, free: 29.84 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005582/18.2, allocations: 4.364 MB / 6.051 GB, free: 26.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002853/18.2, allocations: 1.754 MB / 6.053 GB, free: 25.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/18.21, allocations: 128 kB / 6.053 GB, free: 25.05 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0006878/18.21, allocations: 0.5625 MB / 6.054 GB, free: 24.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006213/18.21, allocations: 3.065 MB / 6.057 GB, free: 23.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/18.22, allocations: 4.799 MB / 6.061 GB, free: 20.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007333/18.23, allocations: 3.961 MB / 6.065 GB, free: 18.61 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.562e-05/18.23, allocations: 15.53 kB / 6.065 GB, free: 18.61 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02168/18.25, allocations: 8.944 MB / 6.074 GB, free: 15.15 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00972/18.26, allocations: 23.75 MB / 6.097 GB, free: 21.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/18.26, allocations: 53.3 kB / 6.097 GB, free: 21.75 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/18.26, allocations: 172.9 kB / 6.097 GB, free: 21.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008597/18.27, allocations: 1.678 MB / 6.099 GB, free: 21.56 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/18.27, allocations: 0.7174 MB / 6.1 GB, free: 20.97 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/18.28, allocations: 0.6877 MB / 6.1 GB, free: 20.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/18.28, allocations: 310.9 kB / 6.101 GB, free: 20.73 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/18.28, allocations: 2.906 kB / 6.101 GB, free: 20.73 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02127/18.3, allocations: 8.261 MB / 6.109 GB, free: 17.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002357/18.31, allocations: 55.38 kB / 6.109 GB, free: 17.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005267/18.31, allocations: 153.7 kB / 6.109 GB, free: 17.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00855/18.31, allocations: 1.679 MB / 6.111 GB, free: 17.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008298/18.32, allocations: 0.72 MB / 6.111 GB, free: 16.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/18.33, allocations: 0.6621 MB / 6.112 GB, free: 16.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/18.33, allocations: 308.6 kB / 6.112 GB, free: 16.59 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 () * 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.003614/18.33, allocations: 499.3 kB / 6.113 GB, free: 16.18 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003455/18.34, allocations: 0.7662 MB / 6.113 GB, free: 15.78 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01923/18.35, allocations: 7.403 MB / 6.121 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-05/18.35, allocations: 58.73 kB / 6.121 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/18.35, allocations: 3.781 kB / 6.121 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0108/18.37, allocations: 5.741 MB / 6.126 GB, free: 10.45 MB / 1.042 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.05095/18.42, allocations: 16.8 MB / 6.143 GB, free: 13.26 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/18.42, allocations: 0 / 6.143 GB, free: 13.26 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006819/18.42, allocations: 1.157 MB / 6.144 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003906/18.42, allocations: 86.75 kB / 6.144 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/18.43, allocations: 154.9 kB / 6.144 GB, free: 12.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005773/18.43, allocations: 0.6253 MB / 6.145 GB, free: 11.48 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/18.43, allocations: 0 / 6.145 GB, free: 11.48 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02602/18.45, allocations: 10.76 MB / 6.155 GB, free: 1.699 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009354/18.46, allocations: 1.933 MB / 6.157 GB, free: 48 kB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005945/18.47, allocations: 124.5 kB / 6.157 GB, free: 0 / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.8322/19.3, allocations: 0.6064 MB / 6.158 GB, free: 119.4 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002047/19.3, allocations: 310.8 kB / 6.158 GB, free: 119.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001516/19.3, allocations: 230.2 kB / 6.158 GB, free: 119.4 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02167/19.32, allocations: 5.551 MB / 6.164 GB, free: 119.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.81e-07/19.32, allocations: 0 / 6.164 GB, free: 119.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0402/19.37, allocations: 5.272 MB / 6.169 GB, free: 119.1 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) * 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.009765/19.37, allocations: 2.448 MB / 6.171 GB, free: 118.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03613/19.41, allocations: 11.73 MB / 6.183 GB, free: 118.4 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.811e-05/19.41, allocations: 6.047 kB / 6.183 GB, free: 118.4 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.009752/19.42, allocations: 3.149 MB / 6.186 GB, free: 118.4 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03337/19.45, allocations: 4.127 MB / 6.19 GB, free: 118.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/19.49, allocations: 16.82 MB / 6.206 GB, free: 115.3 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008257/19.5, allocations: 6.184 MB / 6.212 GB, free: 114.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02479/19.53, allocations: 5.916 MB / 6.218 GB, free: 114.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003162/19.53, allocations: 0.5841 MB / 6.219 GB, free: 114.2 MB / 1.057 GB Notification: Performance of SimCode: time 1.082e-06/19.53, allocations: 0 / 6.219 GB, free: 114.2 MB / 1.057 GB Notification: Performance of Templates: time 0.2944/19.82, allocations: 179 MB / 6.393 GB, free: 103 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)