Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.888/1.888, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 184.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008923/0.0008925, allocations: 97.66 kB / 0.7808 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004615, allocations: 15.98 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.861/0.8615, allocations: 120.3 MB / 1.026 GB, free: 56.37 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.523/6.384, allocations: 2.232 GB / 3.258 GB, free: 295 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/6.385, allocations: 106 kB / 3.258 GB, free: 295 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 9.259/15.64, allocations: 2.515 GB / 5.774 GB, free: 65.65 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.837e-06/15.64, allocations: 0 / 5.774 GB, free: 65.65 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.002335/15.65, allocations: 265.7 kB / 5.774 GB, free: 65.59 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2053 * Number of variables: 2053 Notification: Performance of Generate backend data structure: time 0.04463/15.69, allocations: 10.69 MB / 5.785 GB, free: 55.46 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/15.69, allocations: 8.031 kB / 5.785 GB, free: 55.46 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/15.71, allocations: 2.068 MB / 5.787 GB, free: 53.38 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03506/15.74, allocations: 11.5 MB / 5.798 GB, free: 41.79 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009103/15.74, allocations: 0.6053 MB / 5.798 GB, free: 41.19 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005058/15.75, allocations: 0.8045 MB / 5.799 GB, free: 40.38 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03884/15.79, allocations: 11.31 MB / 5.81 GB, free: 28.73 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008212/15.79, allocations: 23.78 kB / 5.81 GB, free: 28.71 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004795/15.79, allocations: 340 kB / 5.811 GB, free: 28.38 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004139/15.79, allocations: 339.2 kB / 5.811 GB, free: 28.05 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03024/15.82, allocations: 10.39 MB / 5.821 GB, free: 17.65 MB / 1.026 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.1037/15.93, allocations: 45.1 MB / 5.865 GB, free: 2.738 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7967/16.72, allocations: 7.709 MB / 5.873 GB, free: 109.6 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009234/16.73, allocations: 4.083 MB / 5.877 GB, free: 109.5 MB / 1.057 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.04421/16.78, allocations: 18.08 MB / 5.894 GB, free: 105.4 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01009/16.79, allocations: 3.648 MB / 5.898 GB, free: 105.2 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007472/16.79, allocations: 0.7422 MB / 5.899 GB, free: 105.2 MB / 1.057 GB Notification: Performance of pre-optimization done (n=511): time 3.557e-05/16.79, allocations: 0 / 5.899 GB, free: 105.2 MB / 1.057 GB Notification: Performance of matching and sorting (n=511): time 0.03162/16.82, allocations: 9.489 MB / 5.908 GB, free: 104.9 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/16.83, allocations: 315.9 kB / 5.908 GB, free: 104.5 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02203/16.85, allocations: 7.429 MB / 5.915 GB, free: 104.1 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.002147/16.85, allocations: 134.9 kB / 5.916 GB, free: 104.1 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.007361/16.86, allocations: 4.346 MB / 5.92 GB, free: 103.1 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.003767/16.86, allocations: 1.764 MB / 5.922 GB, free: 102.2 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001833/16.86, allocations: 127.3 kB / 5.922 GB, free: 102.2 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0008911/16.86, allocations: 0.5595 MB / 5.922 GB, free: 101.9 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00863/16.87, allocations: 3.311 MB / 5.925 GB, free: 101.9 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009578/16.88, allocations: 5.056 MB / 5.93 GB, free: 100 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01926/16.9, allocations: 8.448 MB / 5.939 GB, free: 98.22 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001377/16.9, allocations: 13.56 kB / 5.939 GB, free: 98.22 MB / 1.057 GB Notification: Performance of matching and sorting (n=824) (initialization): time 0.0327/16.93, allocations: 9.442 MB / 5.948 GB, free: 97.61 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001327/16.94, allocations: 1.489 MB / 5.949 GB, free: 95.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002068/16.94, allocations: 48.69 kB / 5.949 GB, free: 95.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007702/16.94, allocations: 163.4 kB / 5.949 GB, free: 95.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009459/16.95, allocations: 1.61 MB / 5.951 GB, free: 95.81 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/16.95, allocations: 0.7353 MB / 5.952 GB, free: 95.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/16.96, allocations: 0.6821 MB / 5.952 GB, free: 95.26 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/16.96, allocations: 319.9 kB / 5.953 GB, free: 95.26 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/16.96, allocations: 5.5 kB / 5.953 GB, free: 95.26 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02775/16.99, allocations: 8.737 MB / 5.961 GB, free: 95.07 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002858/16.99, allocations: 46.72 kB / 5.961 GB, free: 95.07 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/16.99, allocations: 165.3 kB / 5.961 GB, free: 95.06 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009408/17, allocations: 1.605 MB / 5.963 GB, free: 95.06 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000979/17, allocations: 0.7308 MB / 5.964 GB, free: 94.54 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/17.01, allocations: 0.6686 MB / 5.964 GB, free: 94.52 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002985/17.01, allocations: 307.8 kB / 5.965 GB, free: 94.52 MB / 1.057 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): 817 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.01323/17.03, allocations: 3.215 MB / 5.968 GB, free: 94.33 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004968/17.03, allocations: 0.7635 MB / 5.969 GB, free: 93.93 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/17.06, allocations: 7.894 MB / 5.976 GB, free: 93.57 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.767e-05/17.06, allocations: 52.62 kB / 5.976 GB, free: 93.57 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.726e-05/17.06, allocations: 0 / 5.976 GB, free: 93.57 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01723/17.08, allocations: 6.262 MB / 5.982 GB, free: 93.14 MB / 1.057 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.05472/17.14, allocations: 17.15 MB / 5.999 GB, free: 92.22 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/17.14, allocations: 7.578 kB / 5.999 GB, free: 92.22 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006518/17.14, allocations: 1.169 MB / 6 GB, free: 92.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004607/17.14, allocations: 91.53 kB / 6 GB, free: 92.21 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/17.14, allocations: 155.3 kB / 6.001 GB, free: 92.21 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005546/17.15, allocations: 0.6314 MB / 6.001 GB, free: 91.7 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/17.15, allocations: 0 / 6.001 GB, free: 91.7 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02978/17.17, allocations: 11.37 MB / 6.012 GB, free: 90.77 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00894/17.18, allocations: 1.863 MB / 6.014 GB, free: 90.25 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004535/17.19, allocations: 116.2 kB / 6.014 GB, free: 90.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/17.2, allocations: 0.585 MB / 6.015 GB, free: 90.22 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/17.2, allocations: 309.6 kB / 6.015 GB, free: 90.21 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00196/17.2, allocations: 229.7 kB / 6.015 GB, free: 90.21 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01573/17.22, allocations: 5.202 MB / 6.02 GB, free: 89.96 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.12e-07/17.22, allocations: 2.938 kB / 6.02 GB, free: 89.96 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.02994/17.25, allocations: 5.167 MB / 6.025 GB, free: 89.26 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.s[1],pum.filter.s[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 (537): * Single equations (assignments): 526 * 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.008997/17.26, allocations: 2.392 MB / 6.028 GB, free: 88.82 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.03116/17.29, allocations: 12.17 MB / 6.04 GB, free: 88.64 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.172e-05/17.29, allocations: 9.406 kB / 6.04 GB, free: 88.64 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01078/17.3, allocations: 3.403 MB / 6.043 GB, free: 88.61 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03367/17.33, allocations: 4.147 MB / 6.047 GB, free: 88.57 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05119/17.38, allocations: 23.44 MB / 6.07 GB, free: 79.72 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/17.39, allocations: 5.999 MB / 6.076 GB, free: 78.69 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.02049/17.42, allocations: 4.177 MB / 6.08 GB, free: 78.27 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004395/17.42, allocations: 0.7157 MB / 6.081 GB, free: 78.26 MB / 1.057 GB Notification: Performance of SimCode: time 1.423e-06/17.42, allocations: 4 kB / 6.081 GB, free: 78.25 MB / 1.057 GB Notification: Performance of Templates: time 0.2682/17.69, allocations: 170.9 MB / 6.248 GB, free: 13.19 MB / 1.073 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)