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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001009/0.001009, allocations: 184.2 kB / 361.4 MB, free: 6.84 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.911/1.911, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.001062/0.001063, allocations: 98.48 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.037e-05, allocations: 4 kB / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8343, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.062/6.896, allocations: 2.411 GB / 3.375 GB, free: 112.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/6.897, allocations: 96.53 kB / 3.375 GB, free: 112.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.946/16.84, allocations: 2.507 GB / 5.882 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.833e-06/16.84, allocations: 0 / 5.882 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002011/16.84, allocations: 266 kB / 5.883 GB, free: 102.3 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.03024/16.88, allocations: 8.903 MB / 5.891 GB, free: 98.69 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/16.88, allocations: 9.969 kB / 5.891 GB, free: 98.69 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/16.89, allocations: 2.042 MB / 5.893 GB, free: 98.06 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03079/16.92, allocations: 11.77 MB / 5.905 GB, free: 96.58 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004703/16.92, allocations: 252.7 kB / 5.905 GB, free: 96.58 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/16.92, allocations: 478.2 kB / 5.905 GB, free: 96.58 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01895/16.94, allocations: 9.086 MB / 5.914 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/16.97, allocations: 9.657 MB / 5.924 GB, free: 91.48 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000543/16.97, allocations: 30.23 kB / 5.924 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/16.97, allocations: 10.59 kB / 5.924 GB, free: 91.46 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/16.97, allocations: 338.2 kB / 5.924 GB, free: 91.43 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.08469/17.06, allocations: 43.83 MB / 5.967 GB, free: 63.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/17.07, allocations: 7.167 MB / 5.974 GB, free: 60.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005959/17.08, allocations: 3.571 MB / 5.977 GB, free: 58.44 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.03994/17.12, allocations: 18.07 MB / 5.995 GB, free: 39.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006132/17.12, allocations: 3.214 MB / 5.998 GB, free: 36.57 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005528/17.13, allocations: 0.6198 MB / 5.999 GB, free: 35.95 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=509): time 1.464e-05/17.13, allocations: 0 / 5.999 GB, free: 35.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=509): time 0.06369/17.19, allocations: 10.53 MB / 6.009 GB, free: 25.39 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/17.19, allocations: 360.4 kB / 6.009 GB, free: 24.96 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/17.21, allocations: 6.326 MB / 6.016 GB, free: 18.67 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001805/17.21, allocations: 33.7 kB / 6.016 GB, free: 18.63 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005454/17.21, allocations: 4.314 MB / 6.02 GB, free: 14.27 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003216/17.22, allocations: 1.682 MB / 6.022 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008173/17.22, allocations: 0 / 6.022 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005123/17.22, allocations: 0.5667 MB / 6.022 GB, free: 11.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/17.22, allocations: 2.953 MB / 6.025 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006002/17.23, allocations: 4.643 MB / 6.029 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1604/17.39, allocations: 15.99 MB / 6.045 GB, free: 3.625 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.092e-05/17.39, allocations: 12 kB / 6.045 GB, free: 3.613 MB / 0.9948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.8544/18.24, allocations: 20.51 MB / 6.065 GB, free: 133.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004212/18.25, allocations: 23.29 MB / 6.088 GB, free: 109.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/18.25, allocations: 50.03 kB / 6.088 GB, free: 109.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/18.25, allocations: 157.1 kB / 6.088 GB, free: 109.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008694/18.26, allocations: 1.679 MB / 6.09 GB, free: 109.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006784/18.26, allocations: 0.7238 MB / 6.09 GB, free: 108.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008927/18.27, allocations: 0.5591 MB / 6.091 GB, free: 108.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/18.27, allocations: 310.9 kB / 6.091 GB, free: 108.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/18.27, allocations: 6.938 kB / 6.091 GB, free: 108.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1698/18.44, allocations: 19.72 MB / 6.111 GB, free: 108.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/18.44, allocations: 47.06 kB / 6.111 GB, free: 108.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/18.44, allocations: 155.9 kB / 6.111 GB, free: 108.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007084/18.44, allocations: 1.67 MB / 6.112 GB, free: 108.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006996/18.45, allocations: 0.7249 MB / 6.113 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009801/18.46, allocations: 0.5362 MB / 6.114 GB, free: 107.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/18.46, allocations: 315.1 kB / 6.114 GB, free: 107.8 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.002692/18.46, allocations: 278.1 kB / 6.114 GB, free: 107.7 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06603/18.53, allocations: 10.48 MB / 6.124 GB, free: 107.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003092/18.53, allocations: 0.7234 MB / 6.125 GB, free: 107.5 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0711/18.6, allocations: 11.58 MB / 6.136 GB, free: 107 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.684e-05/18.6, allocations: 53.47 kB / 6.136 GB, free: 107 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/18.6, allocations: 0 / 6.136 GB, free: 107 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0683/18.67, allocations: 10.07 MB / 6.146 GB, free: 106.2 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.09405/18.76, allocations: 19.98 MB / 6.166 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/18.76, allocations: 0 / 6.166 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005917/18.77, allocations: 1.162 MB / 6.167 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/18.77, allocations: 82.88 kB / 6.167 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006955/18.77, allocations: 96.56 kB / 6.167 GB, free: 105.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004391/18.77, allocations: 0.6222 MB / 6.168 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/18.77, allocations: 4.062 kB / 6.168 GB, free: 104.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07124/18.84, allocations: 14.91 MB / 6.182 GB, free: 103.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008749/18.85, allocations: 1.894 MB / 6.184 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004882/18.86, allocations: 26.23 kB / 6.184 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009494/18.86, allocations: 488.8 kB / 6.185 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001351/18.87, allocations: 308.5 kB / 6.185 GB, free: 102.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008166/18.87, allocations: 228.5 kB / 6.185 GB, free: 102.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.009406/18.88, allocations: 4.806 MB / 6.19 GB, free: 102.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.41e-07/18.88, allocations: 0 / 6.19 GB, free: 102.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02531/18.9, allocations: 5.033 MB / 6.195 GB, free: 102.2 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.08351/18.99, allocations: 17.75 MB / 6.212 GB, free: 99.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02449/19.01, allocations: 11.21 MB / 6.223 GB, free: 99.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-05/19.01, allocations: 10.72 kB / 6.223 GB, free: 99.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006454/19.02, allocations: 3.041 MB / 6.226 GB, free: 99.52 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02117/19.04, allocations: 3.612 MB / 6.23 GB, free: 99.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06014/19.1, allocations: 19.08 MB / 6.248 GB, free: 95.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/19.11, allocations: 6.188 MB / 6.254 GB, free: 94.25 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0254/19.13, allocations: 5.696 MB / 6.26 GB, free: 93.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01139/19.15, allocations: 4.009 MB / 6.264 GB, free: 93.75 MB / 1.01 GB Notification: Performance of SimCode: time 2.545e-06/19.15, allocations: 0 / 6.264 GB, free: 93.75 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9996/20.14, allocations: 226.6 MB / 6.485 GB, free: 157.5 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/20.14, allocations: 193 kB / 6.485 GB, free: 157.3 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/32.93, allocations: 4.594 kB / 6.485 GB, free: 157.3 MB / 1.057 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)