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.68/1.68, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001124/0.001124, allocations: 179.8 kB / 361.4 MB, free: 6.863 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.54/1.54, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.00094/0.0009403, allocations: 94.27 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6887, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.744/6.433, allocations: 2.411 GB / 3.375 GB, free: 112.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.433, allocations: 97.56 kB / 3.375 GB, free: 112.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.654/16.09, allocations: 2.507 GB / 5.882 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.733e-06/16.09, allocations: 0 / 5.882 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001806/16.09, allocations: 258.6 kB / 5.883 GB, free: 103.5 MB / 0.9792 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.02979/16.12, allocations: 8.899 MB / 5.891 GB, free: 99.88 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/16.12, allocations: 9.312 kB / 5.891 GB, free: 99.88 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/16.13, allocations: 2.051 MB / 5.893 GB, free: 99.25 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02904/16.16, allocations: 11.77 MB / 5.905 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/16.16, allocations: 250.7 kB / 5.905 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003251/16.16, allocations: 481.6 kB / 5.906 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0201/16.18, allocations: 9.085 MB / 5.914 GB, free: 96.63 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/16.21, allocations: 9.658 MB / 5.924 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/16.21, allocations: 31.34 kB / 5.924 GB, free: 92.54 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002168/16.22, allocations: 12.66 kB / 5.924 GB, free: 92.54 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/16.22, allocations: 337.3 kB / 5.924 GB, free: 92.5 MB / 0.9792 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.0668/16.28, allocations: 43.83 MB / 5.967 GB, free: 64.98 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/16.29, allocations: 7.155 MB / 5.974 GB, free: 61.91 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/16.3, allocations: 3.574 MB / 5.978 GB, free: 58.32 MB / 0.9792 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.03069/16.33, allocations: 18.07 MB / 5.995 GB, free: 39.66 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004313/16.33, allocations: 3.218 MB / 5.998 GB, free: 36.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004889/16.34, allocations: 0.6227 MB / 5.999 GB, free: 35.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=509): time 1.386e-05/16.34, allocations: 0 / 5.999 GB, free: 35.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=509): time 0.064/16.4, allocations: 10.53 MB / 6.009 GB, free: 25.25 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.324e-05/16.4, allocations: 364.4 kB / 6.01 GB, free: 24.82 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009633/16.41, allocations: 6.326 MB / 6.016 GB, free: 18.53 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001504/16.41, allocations: 29.7 kB / 6.016 GB, free: 18.49 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00418/16.42, allocations: 4.31 MB / 6.02 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/16.42, allocations: 1.683 MB / 6.022 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005509/16.42, allocations: 0 / 6.022 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000343/16.42, allocations: 0.5628 MB / 6.022 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00438/16.42, allocations: 2.957 MB / 6.025 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00478/16.43, allocations: 4.643 MB / 6.03 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1551/16.58, allocations: 15.99 MB / 6.045 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.822e-05/16.58, allocations: 16 kB / 6.045 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.8225/17.41, allocations: 20.51 MB / 6.065 GB, free: 135 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.005561/17.41, allocations: 23.29 MB / 6.088 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/17.41, allocations: 50.44 kB / 6.088 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006933/17.41, allocations: 158.2 kB / 6.088 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009783/17.42, allocations: 1.679 MB / 6.09 GB, free: 110.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000745/17.42, allocations: 0.731 MB / 6.091 GB, free: 109.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/17.43, allocations: 0.5558 MB / 6.091 GB, free: 109.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/17.44, allocations: 309 kB / 6.091 GB, free: 109.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/17.44, allocations: 5.125 kB / 6.091 GB, free: 109.7 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.165/17.6, allocations: 19.71 MB / 6.111 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001916/17.6, allocations: 46.75 kB / 6.111 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/17.6, allocations: 159 kB / 6.111 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00763/17.61, allocations: 1.678 MB / 6.112 GB, free: 109.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/17.61, allocations: 0.7258 MB / 6.113 GB, free: 108.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009779/17.62, allocations: 0.5377 MB / 6.114 GB, free: 108.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001761/17.62, allocations: 310.3 kB / 6.114 GB, free: 108.9 MB / 1.01 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.002168/17.62, allocations: 284.1 kB / 6.114 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00265/17.63, allocations: 0.7205 MB / 6.115 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06976/17.7, allocations: 11.57 MB / 6.126 GB, free: 108.5 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-05/17.7, allocations: 52 kB / 6.126 GB, free: 108.5 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.49e-05/17.7, allocations: 0.5 kB / 6.126 GB, free: 108.5 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0627/17.76, allocations: 10.08 MB / 6.136 GB, free: 107.9 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 postOpt removeSimpleEquations (simulation): time 0.09293/17.85, allocations: 19.99 MB / 6.156 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/17.85, allocations: 0.5156 kB / 6.156 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00626/17.86, allocations: 1.153 MB / 6.157 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002939/17.86, allocations: 80.86 kB / 6.157 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009654/17.86, allocations: 97.47 kB / 6.157 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005032/17.86, allocations: 0.6279 MB / 6.158 GB, free: 106.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/17.86, allocations: 0 / 6.158 GB, free: 106.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07059/17.93, allocations: 14.91 MB / 6.172 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006001/17.94, allocations: 1.884 MB / 6.174 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/17.94, allocations: 23.55 kB / 6.174 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007348/17.95, allocations: 498.9 kB / 6.175 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006122/17.95, allocations: 305.3 kB / 6.175 GB, free: 104.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007122/17.95, allocations: 229.1 kB / 6.175 GB, free: 104.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009519/17.96, allocations: 4.814 MB / 6.18 GB, free: 104.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.12e-07/17.96, allocations: 0 / 6.18 GB, free: 104.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0264/17.98, allocations: 5.027 MB / 6.185 GB, free: 104 MB / 1.01 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.00662/17.99, allocations: 2.253 MB / 6.187 GB, free: 103.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02031/18.01, allocations: 11.21 MB / 6.198 GB, free: 103.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.749e-05/18.01, allocations: 9.688 kB / 6.198 GB, free: 103.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/18.02, allocations: 3.039 MB / 6.201 GB, free: 103.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02082/18.04, allocations: 3.608 MB / 6.204 GB, free: 103 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/18.07, allocations: 16.45 MB / 6.22 GB, free: 99.16 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008597/18.08, allocations: 6.187 MB / 6.226 GB, free: 98.12 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02439/18.11, allocations: 5.692 MB / 6.232 GB, free: 97.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003157/18.11, allocations: 0.569 MB / 6.232 GB, free: 97.63 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/18.11, allocations: 0 / 6.232 GB, free: 97.63 MB / 1.01 GB Notification: Performance of Templates: time 0.2361/18.35, allocations: 150 MB / 6.379 GB, free: 28.88 MB / 1.01 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)