Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.635/2.635, allocations: 287.5 MB / 303.2 MB, free: 8.301 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.001341/0.001341, allocations: 186.3 kB / 371.8 MB, free: 10.8 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.19/2.19, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 94.28 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006583/0.0006585, allocations: 10.92 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.691/7.915, allocations: 2.411 GB / 3.391 GB, free: 261.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/7.915, allocations: 109.7 kB / 3.391 GB, free: 261.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.35/21.26, allocations: 2.513 GB / 5.904 GB, free: 57.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.296e-06/21.26, allocations: 2.078 kB / 5.904 GB, free: 57.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002232/21.26, allocations: 264 kB / 5.904 GB, free: 57.62 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.05311/21.32, allocations: 10.68 MB / 5.915 GB, free: 53.47 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/21.32, allocations: 10.56 kB / 5.915 GB, free: 53.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/21.34, allocations: 2.052 MB / 5.917 GB, free: 52.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04711/21.39, allocations: 11.53 MB / 5.928 GB, free: 51.33 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/21.39, allocations: 0.5955 MB / 5.929 GB, free: 51.32 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/21.39, allocations: 0.8011 MB / 5.929 GB, free: 51.31 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05096/21.44, allocations: 11.26 MB / 5.94 GB, free: 50.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006241/21.44, allocations: 27.53 kB / 5.94 GB, free: 50.21 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0041/21.45, allocations: 337.9 kB / 5.941 GB, free: 50.21 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000516/21.45, allocations: 338.9 kB / 5.941 GB, free: 50.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03957/21.49, allocations: 10.31 MB / 5.951 GB, free: 50.13 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.1144/21.6, allocations: 44.97 MB / 5.995 GB, free: 33.12 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02379/21.63, allocations: 7.722 MB / 6.003 GB, free: 32.84 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/21.64, allocations: 4.053 MB / 6.007 GB, free: 32.77 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.0597/21.7, allocations: 18.02 MB / 6.024 GB, free: 28.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01278/21.71, allocations: 3.625 MB / 6.028 GB, free: 28.13 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007746/21.72, allocations: 0.7283 MB / 6.028 GB, free: 27.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=509): time 2.614e-05/21.72, allocations: 4.875 kB / 6.028 GB, free: 27.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=509): time 0.03783/21.76, allocations: 9.385 MB / 6.038 GB, free: 27.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/21.76, allocations: 369.4 kB / 6.038 GB, free: 26.86 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01932/21.78, allocations: 7.423 MB / 6.045 GB, free: 26.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001938/21.78, allocations: 137.7 kB / 6.045 GB, free: 26.28 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.006756/21.79, allocations: 4.361 MB / 6.05 GB, free: 24.76 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003413/21.79, allocations: 1.749 MB / 6.051 GB, free: 23.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009486/21.79, allocations: 129.5 kB / 6.051 GB, free: 23.64 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005519/21.79, allocations: 0.5618 MB / 6.052 GB, free: 23.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01164/21.8, allocations: 3.304 MB / 6.055 GB, free: 23.31 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/21.82, allocations: 5.067 MB / 6.06 GB, free: 21.4 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02507/21.84, allocations: 8.432 MB / 6.068 GB, free: 19.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.04e-05/21.84, allocations: 15.34 kB / 6.068 GB, free: 19.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03537/21.88, allocations: 9.427 MB / 6.078 GB, free: 18.99 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001079/21.88, allocations: 1.5 MB / 6.079 GB, free: 17.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/21.88, allocations: 50.84 kB / 6.079 GB, free: 17.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008143/21.88, allocations: 165.5 kB / 6.079 GB, free: 17.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/21.89, allocations: 1.6 MB / 6.081 GB, free: 17.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009902/21.89, allocations: 0.7264 MB / 6.081 GB, free: 16.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/21.91, allocations: 0.6827 MB / 6.082 GB, free: 16.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002309/21.91, allocations: 307.5 kB / 6.082 GB, free: 16.61 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/21.91, allocations: 6.812 kB / 6.082 GB, free: 16.61 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03181/21.94, allocations: 8.727 MB / 6.091 GB, free: 16.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/21.94, allocations: 51.86 kB / 6.091 GB, free: 16.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/21.94, allocations: 169 kB / 6.091 GB, free: 16.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/21.96, allocations: 1.588 MB / 6.093 GB, free: 16.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/21.96, allocations: 0.7284 MB / 6.093 GB, free: 15.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01432/21.97, allocations: 0.6635 MB / 6.094 GB, free: 15.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002228/21.98, allocations: 309.9 kB / 6.094 GB, free: 15.85 MB / 1.01 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.01048/21.99, allocations: 3.219 MB / 6.098 GB, free: 15.63 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003187/21.99, allocations: 0.7654 MB / 6.098 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03153/22.02, allocations: 7.842 MB / 6.106 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.329e-05/22.02, allocations: 52.69 kB / 6.106 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/22.02, allocations: 0 / 6.106 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02494/22.05, allocations: 6.223 MB / 6.112 GB, free: 14.42 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 postOpt removeSimpleEquations (simulation): time 0.06187/22.11, allocations: 17.06 MB / 6.129 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/22.11, allocations: 0 / 6.129 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01189/22.12, allocations: 1.161 MB / 6.13 GB, free: 13.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/22.12, allocations: 92.66 kB / 6.13 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001472/22.12, allocations: 152 kB / 6.13 GB, free: 13.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/22.12, allocations: 0.634 MB / 6.131 GB, free: 28.95 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/22.12, allocations: 0 / 6.131 GB, free: 28.95 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04004/22.16, allocations: 11.31 MB / 6.142 GB, free: 27.97 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008178/22.17, allocations: 1.855 MB / 6.144 GB, free: 27.45 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00399/22.18, allocations: 115.2 kB / 6.144 GB, free: 27.45 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01332/22.19, allocations: 0.5801 MB / 6.144 GB, free: 27.39 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/22.19, allocations: 306.7 kB / 6.145 GB, free: 27.38 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00133/22.19, allocations: 233.6 kB / 6.145 GB, free: 27.38 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01497/22.21, allocations: 5.193 MB / 6.15 GB, free: 27.12 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.92e-07/22.21, allocations: 0 / 6.15 GB, free: 27.12 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02892/22.24, allocations: 5.178 MB / 6.155 GB, free: 26.32 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) * 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.007717/22.24, allocations: 2.389 MB / 6.157 GB, free: 25.64 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04043/22.29, allocations: 12.2 MB / 6.169 GB, free: 23.95 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/22.29, allocations: 7.656 kB / 6.169 GB, free: 23.95 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/22.3, allocations: 3.377 MB / 6.172 GB, free: 22.89 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0398/22.34, allocations: 4.155 MB / 6.177 GB, free: 22.03 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06522/22.4, allocations: 23.42 MB / 6.199 GB, free: 10 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01427/22.42, allocations: 5.997 MB / 6.205 GB, free: 8.086 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.03048/22.45, allocations: 4.17 MB / 6.209 GB, free: 7.668 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005557/22.45, allocations: 0.7163 MB / 6.21 GB, free: 7.617 MB / 1.026 GB Notification: Performance of SimCode: time 1.312e-06/22.45, allocations: 0 / 6.21 GB, free: 7.617 MB / 1.026 GB Notification: Performance of Templates: time 1.313/23.77, allocations: 169.7 MB / 6.376 GB, free: 91.29 MB / 1.057 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)