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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001587/0.001587, allocations: 176.8 kB / 366.7 MB, free: 1.68 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.922/1.922, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.000839/0.0008388, allocations: 95.33 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.551e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7517/0.7518, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/7, allocations: 2.412 GB / 3.385 GB, free: 74.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/7.001, allocations: 102.9 kB / 3.385 GB, free: 74.69 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.512/16.51, allocations: 2.507 GB / 5.892 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.334e-06/16.51, allocations: 0 / 5.892 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001752/16.51, allocations: 267.8 kB / 5.892 GB, free: 122.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.02855/16.54, allocations: 8.903 MB / 5.901 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/16.54, allocations: 8.25 kB / 5.901 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/16.56, allocations: 2.044 MB / 5.903 GB, free: 118 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02829/16.58, allocations: 11.77 MB / 5.915 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/16.59, allocations: 251.9 kB / 5.915 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003348/16.59, allocations: 479.3 kB / 5.915 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02759/16.62, allocations: 9.087 MB / 5.924 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/16.64, allocations: 9.662 MB / 5.934 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000249/16.64, allocations: 25 kB / 5.934 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/16.64, allocations: 20.84 kB / 5.934 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/16.64, allocations: 334.6 kB / 5.934 GB, free: 109.3 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.07308/16.72, allocations: 43.83 MB / 5.977 GB, free: 69.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/16.73, allocations: 7.163 MB / 5.984 GB, free: 62.43 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004536/16.73, allocations: 3.564 MB / 5.987 GB, free: 58.85 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.0317/16.76, allocations: 18.07 MB / 6.005 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004334/16.77, allocations: 3.21 MB / 6.008 GB, free: 36.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004863/16.77, allocations: 0.6329 MB / 6.009 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=509): time 9.648e-06/16.77, allocations: 0 / 6.009 GB, free: 36.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=509): time 0.06559/16.84, allocations: 10.52 MB / 6.019 GB, free: 25.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/16.84, allocations: 368.4 kB / 6.019 GB, free: 25.34 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/16.85, allocations: 6.329 MB / 6.025 GB, free: 19.04 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001659/16.85, allocations: 33.7 kB / 6.026 GB, free: 19 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00414/16.85, allocations: 4.306 MB / 6.03 GB, free: 14.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002675/16.86, allocations: 1.69 MB / 6.031 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/16.86, allocations: 0 / 6.031 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003769/16.86, allocations: 0.555 MB / 6.032 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004133/16.86, allocations: 2.953 MB / 6.035 GB, free: 9.414 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/16.87, allocations: 4.645 MB / 6.039 GB, free: 4.047 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1597/17.03, allocations: 15.99 MB / 6.055 GB, free: 4.004 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.372e-05/17.03, allocations: 20 kB / 6.055 GB, free: 3.984 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.9241/17.95, allocations: 20.51 MB / 6.075 GB, free: 150.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004415/17.96, allocations: 23.29 MB / 6.098 GB, free: 125.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001624/17.96, allocations: 46.94 kB / 6.098 GB, free: 125.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006303/17.96, allocations: 154.7 kB / 6.098 GB, free: 125.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/17.97, allocations: 1.681 MB / 6.1 GB, free: 125.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/17.97, allocations: 0.7284 MB / 6.1 GB, free: 125.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/17.98, allocations: 0.5552 MB / 6.101 GB, free: 125.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/17.98, allocations: 315.1 kB / 6.101 GB, free: 125.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/17.98, allocations: 3.875 kB / 6.101 GB, free: 125.3 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1691/18.15, allocations: 19.71 MB / 6.12 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/18.15, allocations: 47.03 kB / 6.12 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/18.15, allocations: 153.9 kB / 6.121 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008444/18.16, allocations: 1.675 MB / 6.122 GB, free: 125.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008381/18.16, allocations: 0.7254 MB / 6.123 GB, free: 124.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/18.17, allocations: 0.5389 MB / 6.123 GB, free: 124.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/18.17, allocations: 302.1 kB / 6.124 GB, free: 124.6 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.002718/18.18, allocations: 295.5 kB / 6.124 GB, free: 124.5 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06869/18.24, allocations: 10.48 MB / 6.134 GB, free: 124.4 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003105/18.25, allocations: 0.7243 MB / 6.135 GB, free: 124.3 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07061/18.32, allocations: 11.57 MB / 6.146 GB, free: 123.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/18.32, allocations: 62.47 kB / 6.146 GB, free: 123.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/18.32, allocations: 1.062 kB / 6.146 GB, free: 123.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06598/18.38, allocations: 10.07 MB / 6.156 GB, free: 123 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.1131/18.5, allocations: 19.99 MB / 6.176 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/18.5, allocations: 3.906 kB / 6.176 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007061/18.5, allocations: 1.157 MB / 6.177 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/18.5, allocations: 78.47 kB / 6.177 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009302/18.51, allocations: 99.41 kB / 6.177 GB, free: 121.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004781/18.51, allocations: 0.6235 MB / 6.178 GB, free: 121.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/18.51, allocations: 0 / 6.178 GB, free: 121.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07228/18.58, allocations: 14.91 MB / 6.192 GB, free: 120.1 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005942/18.58, allocations: 1.89 MB / 6.194 GB, free: 119.6 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0025/18.59, allocations: 29.05 kB / 6.194 GB, free: 119.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007956/18.59, allocations: 486 kB / 6.194 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001161/18.6, allocations: 311.9 kB / 6.195 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009234/18.6, allocations: 226.4 kB / 6.195 GB, free: 119.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01144/18.61, allocations: 4.808 MB / 6.2 GB, free: 119.3 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.42e-07/18.61, allocations: 0 / 6.2 GB, free: 119.3 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02544/18.63, allocations: 5.028 MB / 6.205 GB, free: 118.9 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.07874/18.71, allocations: 17.75 MB / 6.222 GB, free: 116.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02037/18.73, allocations: 11.21 MB / 6.233 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/18.73, allocations: 8.031 kB / 6.233 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.005249/18.74, allocations: 3.043 MB / 6.236 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0216/18.76, allocations: 3.619 MB / 6.239 GB, free: 116.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0527/18.81, allocations: 19.09 MB / 6.258 GB, free: 112 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007167/18.82, allocations: 6.185 MB / 6.264 GB, free: 111 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02362/18.84, allocations: 5.696 MB / 6.27 GB, free: 110.5 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009173/18.85, allocations: 4.008 MB / 6.274 GB, free: 110.5 MB / 1.026 GB Notification: Performance of SimCode: time 1.493e-06/18.85, allocations: 0 / 6.274 GB, free: 110.5 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/19.94, allocations: 226.6 MB / 6.495 GB, free: 164.6 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/19.94, allocations: 187.8 kB / 6.495 GB, free: 164.4 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/32.84, allocations: 3.391 kB / 6.495 GB, free: 164.4 MB / 1.057 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)