Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.00136, allocations: 179.7 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 99.83 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004722, allocations: 13.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.447/8.679, allocations: 2.528 GB / 3.428 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/8.679, allocations: 107.3 kB / 3.428 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 13.6/22.28, allocations: 2.453 GB / 5.88 GB, free: 50.36 MB / 0.9324 GB Notification: Performance of FrontEnd: time 3.216e-06/22.28, allocations: 0 / 5.88 GB, free: 50.36 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.002009/22.28, allocations: 267.6 kB / 5.881 GB, free: 50.32 MB / 0.9324 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.05029/22.33, allocations: 10.78 MB / 5.891 GB, free: 46.14 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/22.33, allocations: 9.312 kB / 5.891 GB, free: 46.14 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/22.35, allocations: 2.042 MB / 5.893 GB, free: 45.56 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04505/22.4, allocations: 11.25 MB / 5.904 GB, free: 44.27 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/22.4, allocations: 0.5947 MB / 5.905 GB, free: 44.25 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/22.4, allocations: 0.7979 MB / 5.905 GB, free: 44.24 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04397/22.45, allocations: 11.17 MB / 5.916 GB, free: 43.13 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006242/22.45, allocations: 26.73 kB / 5.916 GB, free: 43.13 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003915/22.45, allocations: 333.5 kB / 5.917 GB, free: 43.13 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004334/22.45, allocations: 334.7 kB / 5.917 GB, free: 43.11 MB / 0.9324 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0412/22.49, allocations: 10.31 MB / 5.927 GB, free: 43.05 MB / 0.9324 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.118/22.61, allocations: 44.86 MB / 5.971 GB, free: 26.02 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02544/22.64, allocations: 7.726 MB / 5.978 GB, free: 25.7 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0134/22.65, allocations: 4.049 MB / 5.982 GB, free: 25.65 MB / 0.9324 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.06066/22.71, allocations: 17.93 MB / 6 GB, free: 37.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01366/22.73, allocations: 3.549 MB / 6.003 GB, free: 36.99 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008044/22.73, allocations: 0.7275 MB / 6.004 GB, free: 36.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 2.742e-05/22.73, allocations: 0 / 6.004 GB, free: 36.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.04096/22.77, allocations: 9.386 MB / 6.013 GB, free: 36.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002253/22.77, allocations: 362.8 kB / 6.014 GB, free: 35.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02154/22.8, allocations: 7.434 MB / 6.021 GB, free: 35.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001996/22.8, allocations: 133.8 kB / 6.021 GB, free: 35.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007511/22.81, allocations: 4.36 MB / 6.025 GB, free: 33.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003701/22.81, allocations: 1.752 MB / 6.027 GB, free: 32.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/22.81, allocations: 127.3 kB / 6.027 GB, free: 32.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0007349/22.81, allocations: 0.5596 MB / 6.028 GB, free: 32.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01283/22.82, allocations: 3.302 MB / 6.031 GB, free: 32.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01557/22.84, allocations: 5.069 MB / 6.036 GB, free: 30.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/22.86, allocations: 4.18 MB / 6.04 GB, free: 30.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.039e-05/22.86, allocations: 11.06 kB / 6.04 GB, free: 30.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03813/22.89, allocations: 9.434 MB / 6.049 GB, free: 29.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00115/22.89, allocations: 1.492 MB / 6.051 GB, free: 27.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/22.89, allocations: 51.02 kB / 6.051 GB, free: 27.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/22.9, allocations: 164.9 kB / 6.051 GB, free: 27.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01485/22.91, allocations: 1.603 MB / 6.052 GB, free: 27.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/22.91, allocations: 0.7201 MB / 6.053 GB, free: 27.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/22.93, allocations: 0.6869 MB / 6.054 GB, free: 27.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002295/22.93, allocations: 310.9 kB / 6.054 GB, free: 27.01 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/22.93, allocations: 4.062 kB / 6.054 GB, free: 27.01 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03381/22.96, allocations: 8.725 MB / 6.063 GB, free: 26.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/22.96, allocations: 49.66 kB / 6.063 GB, free: 26.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/22.96, allocations: 164.3 kB / 6.063 GB, free: 26.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/22.98, allocations: 1.595 MB / 6.064 GB, free: 26.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/22.98, allocations: 0.7322 MB / 6.065 GB, free: 26.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/22.99, allocations: 0.6573 MB / 6.066 GB, free: 26.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/23, allocations: 307.9 kB / 6.066 GB, free: 26.15 MB / 0.948 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.01141/23.01, allocations: 3.222 MB / 6.069 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003473/23.01, allocations: 0.7642 MB / 6.07 GB, free: 25.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03545/23.05, allocations: 7.86 MB / 6.078 GB, free: 25.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.778e-05/23.05, allocations: 52.47 kB / 6.078 GB, free: 25.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/23.05, allocations: 0 / 6.078 GB, free: 25.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02533/23.07, allocations: 6.212 MB / 6.084 GB, free: 23.06 MB / 0.948 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.06268/23.14, allocations: 16.98 MB / 6.1 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.074e-05/23.14, allocations: 3.938 kB / 6.1 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01216/23.15, allocations: 1.16 MB / 6.101 GB, free: 16.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000579/23.15, allocations: 92.03 kB / 6.101 GB, free: 16.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/23.15, allocations: 154.9 kB / 6.102 GB, free: 16.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008831/23.15, allocations: 0.625 MB / 6.102 GB, free: 15.53 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/23.15, allocations: 8 kB / 6.102 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04144/23.19, allocations: 11.31 MB / 6.113 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008567/23.2, allocations: 1.813 MB / 6.115 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004111/23.2, allocations: 108 kB / 6.115 GB, free: 9.719 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01344/23.22, allocations: 0.5801 MB / 6.116 GB, free: 9.582 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/23.22, allocations: 305 kB / 6.116 GB, free: 9.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001336/23.22, allocations: 215.2 kB / 6.116 GB, free: 9.504 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0169/23.24, allocations: 5.199 MB / 6.121 GB, free: 5.945 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.42e-07/23.24, allocations: 0 / 6.121 GB, free: 5.945 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03132/23.27, allocations: 5.151 MB / 6.126 GB, free: 0.8203 MB / 0.948 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.008708/23.28, allocations: 2.372 MB / 6.129 GB, free: 15.08 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04537/23.32, allocations: 12.2 MB / 6.141 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/23.32, allocations: 9.562 kB / 6.141 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/23.34, allocations: 3.377 MB / 6.144 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04014/23.38, allocations: 4.215 MB / 6.148 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07596/23.45, allocations: 23.79 MB / 6.171 GB, free: 10.21 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/23.47, allocations: 5.998 MB / 6.177 GB, free: 5.668 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.03014/23.5, allocations: 4.137 MB / 6.181 GB, free: 2.965 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006227/23.5, allocations: 0.7096 MB / 6.182 GB, free: 2.336 MB / 0.9949 GB Notification: Performance of SimCode: time 1.242e-06/23.5, allocations: 0 / 6.182 GB, free: 2.336 MB / 0.9949 GB Notification: Performance of Templates: time 1.343/24.85, allocations: 168.2 MB / 6.346 GB, free: 86.93 MB / 0.9949 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)