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.561/1.561, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001068/0.001068, allocations: 180.8 kB / 366.7 MB, free: 1.688 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.497/1.497, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0007994/0.0007995, allocations: 90.91 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.272e-05/1.274e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5803, allocations: 116.3 MB / 0.9732 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.657/6.237, allocations: 2.412 GB / 3.385 GB, free: 74.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/6.238, allocations: 91.95 kB / 3.385 GB, free: 74.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.672/15.91, allocations: 2.507 GB / 5.892 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.467e-06/15.91, allocations: 3.312 kB / 5.892 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001838/15.91, allocations: 268 kB / 5.893 GB, free: 121.3 MB / 0.9948 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.03022/15.94, allocations: 8.894 MB / 5.901 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/15.94, allocations: 9.875 kB / 5.901 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/15.96, allocations: 2.041 MB / 5.903 GB, free: 117 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03392/15.99, allocations: 11.77 MB / 5.915 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005434/15.99, allocations: 253.9 kB / 5.915 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/15.99, allocations: 477.9 kB / 5.915 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02037/16.01, allocations: 9.092 MB / 5.924 GB, free: 112.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/16.05, allocations: 9.661 MB / 5.934 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007221/16.05, allocations: 19.5 kB / 5.934 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003606/16.05, allocations: 16.56 kB / 5.934 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003274/16.05, allocations: 336.5 kB / 5.934 GB, free: 108.2 MB / 0.9948 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.07825/16.13, allocations: 43.83 MB / 5.977 GB, free: 68.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/16.14, allocations: 7.163 MB / 5.984 GB, free: 61.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00562/16.15, allocations: 3.569 MB / 5.987 GB, free: 58.18 MB / 0.9948 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.03874/16.18, allocations: 18.08 MB / 6.005 GB, free: 39.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005943/16.19, allocations: 3.218 MB / 6.008 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005793/16.2, allocations: 0.6197 MB / 6.009 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=509): time 1.601e-05/16.2, allocations: 0 / 6.009 GB, free: 35.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=509): time 0.06702/16.26, allocations: 10.52 MB / 6.019 GB, free: 25.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/16.26, allocations: 364.4 kB / 6.019 GB, free: 24.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01347/16.28, allocations: 6.333 MB / 6.026 GB, free: 18.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00188/16.28, allocations: 33.7 kB / 6.026 GB, free: 18.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004448/16.28, allocations: 4.298 MB / 6.03 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00266/16.29, allocations: 1.69 MB / 6.031 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/16.29, allocations: 10.81 kB / 6.032 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003422/16.29, allocations: 0.5589 MB / 6.032 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/16.29, allocations: 2.953 MB / 6.035 GB, free: 8.734 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/16.3, allocations: 4.639 MB / 6.039 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1533/16.45, allocations: 16 MB / 6.055 GB, free: 3.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.634e-05/16.45, allocations: 16 kB / 6.055 GB, free: 3.305 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.8216/17.27, allocations: 20.5 MB / 6.075 GB, free: 150.5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.006047/17.28, allocations: 23.29 MB / 6.098 GB, free: 125.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002486/17.28, allocations: 47.98 kB / 6.098 GB, free: 125.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/17.28, allocations: 160.5 kB / 6.098 GB, free: 125.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/17.29, allocations: 1.681 MB / 6.1 GB, free: 125.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/17.29, allocations: 0.7325 MB / 6.1 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/17.3, allocations: 0.5484 MB / 6.101 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0026/17.3, allocations: 313.8 kB / 6.101 GB, free: 125.1 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/17.3, allocations: 4.438 kB / 6.101 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1644/17.47, allocations: 19.71 MB / 6.121 GB, free: 124.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/17.47, allocations: 51.25 kB / 6.121 GB, free: 124.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002796/17.47, allocations: 155 kB / 6.121 GB, free: 124.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009034/17.48, allocations: 1.678 MB / 6.122 GB, free: 124.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008342/17.48, allocations: 0.7262 MB / 6.123 GB, free: 124.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/17.49, allocations: 0.5348 MB / 6.124 GB, free: 124.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/17.49, allocations: 308.8 kB / 6.124 GB, free: 124.4 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.003552/17.49, allocations: 288.5 kB / 6.124 GB, free: 124.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003308/17.5, allocations: 0.7245 MB / 6.125 GB, free: 124.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07102/17.57, allocations: 11.57 MB / 6.136 GB, free: 123.9 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/17.57, allocations: 55.88 kB / 6.136 GB, free: 123.9 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/17.57, allocations: 0 / 6.136 GB, free: 123.9 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06161/17.63, allocations: 10.07 MB / 6.146 GB, free: 123.3 MB / 1.026 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.08598/17.72, allocations: 19.98 MB / 6.166 GB, free: 122.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/17.72, allocations: 0 / 6.166 GB, free: 122.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005746/17.72, allocations: 1.156 MB / 6.167 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/17.72, allocations: 88.14 kB / 6.167 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005874/17.72, allocations: 89.59 kB / 6.167 GB, free: 122.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/17.72, allocations: 0.6355 MB / 6.167 GB, free: 121.7 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/17.72, allocations: 0 / 6.167 GB, free: 121.7 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06738/17.79, allocations: 14.9 MB / 6.182 GB, free: 120.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006238/17.8, allocations: 1.885 MB / 6.184 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002982/17.8, allocations: 27.38 kB / 6.184 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008368/17.81, allocations: 493.8 kB / 6.184 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001232/17.81, allocations: 315.2 kB / 6.185 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008881/17.81, allocations: 228.8 kB / 6.185 GB, free: 120.1 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01029/17.82, allocations: 4.803 MB / 6.19 GB, free: 119.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.2e-07/17.82, allocations: 0 / 6.19 GB, free: 119.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02635/17.85, allocations: 5.03 MB / 6.194 GB, free: 119.5 MB / 1.026 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.00592/17.85, allocations: 2.249 MB / 6.197 GB, free: 118.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01901/17.87, allocations: 11.2 MB / 6.208 GB, free: 118.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/17.87, allocations: 8.281 kB / 6.208 GB, free: 118.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004846/17.88, allocations: 3.043 MB / 6.211 GB, free: 118.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01988/17.9, allocations: 3.612 MB / 6.214 GB, free: 118.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03222/17.93, allocations: 16.43 MB / 6.23 GB, free: 114.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006526/17.93, allocations: 6.187 MB / 6.236 GB, free: 113.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02122/17.96, allocations: 5.702 MB / 6.242 GB, free: 113.1 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002608/17.96, allocations: 0.5651 MB / 6.242 GB, free: 113.1 MB / 1.026 GB Notification: Performance of SimCode: time 1.262e-06/17.96, allocations: 0 / 6.242 GB, free: 113.1 MB / 1.026 GB Notification: Performance of Templates: time 0.2281/18.19, allocations: 150 MB / 6.389 GB, free: 39.25 MB / 1.026 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)