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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.481/2.481, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001445/0.001445, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.081/2.081, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001147/0.001146, allocations: 96.58 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.806e-05, allocations: 4 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9537/0.9537, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.248/8.202, allocations: 2.411 GB / 3.374 GB, free: 69.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/8.202, allocations: 103.4 kB / 3.374 GB, free: 69.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 13.55/21.76, allocations: 2.507 GB / 5.881 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.665e-06/21.76, allocations: 3.938 kB / 5.881 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001851/21.76, allocations: 263.5 kB / 5.881 GB, free: 116.4 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.03759/21.8, allocations: 8.903 MB / 5.89 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/21.8, allocations: 6.844 kB / 5.89 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/21.82, allocations: 2.047 MB / 5.892 GB, free: 111.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04709/21.86, allocations: 11.76 MB / 5.904 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006008/21.86, allocations: 253.4 kB / 5.904 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004191/21.87, allocations: 480.3 kB / 5.904 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02954/21.9, allocations: 9.093 MB / 5.913 GB, free: 97.68 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03677/21.94, allocations: 9.659 MB / 5.923 GB, free: 87.69 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006191/21.94, allocations: 31.72 kB / 5.923 GB, free: 87.66 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00362/21.94, allocations: 12 kB / 5.923 GB, free: 87.64 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/21.94, allocations: 335 kB / 5.923 GB, free: 87.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 removeSimpleEquations (simulation): time 0.1128/22.05, allocations: 43.82 MB / 5.966 GB, free: 42.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01874/22.07, allocations: 7.164 MB / 5.973 GB, free: 34.97 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0103/22.08, allocations: 3.566 MB / 5.976 GB, free: 31.39 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.08575/22.17, allocations: 18.08 MB / 5.994 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00995/22.18, allocations: 3.207 MB / 5.997 GB, free: 9.473 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007622/22.19, allocations: 0.6197 MB / 5.998 GB, free: 8.848 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=509): time 4.891e-05/22.19, allocations: 4 kB / 5.998 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of matching and sorting (n=509): time 0.1401/22.33, allocations: 10.53 MB / 6.008 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002483/22.33, allocations: 364.4 kB / 6.008 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02112/22.35, allocations: 6.322 MB / 6.014 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001923/22.35, allocations: 37.7 kB / 6.014 GB, free: 7.527 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008773/22.36, allocations: 4.306 MB / 6.019 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004978/22.36, allocations: 1.694 MB / 6.02 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/22.36, allocations: 0 / 6.02 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0008384/22.37, allocations: 0.555 MB / 6.021 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009632/22.38, allocations: 2.953 MB / 6.024 GB, free: 13.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01227/22.39, allocations: 4.647 MB / 6.028 GB, free: 8.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.255/23.64, allocations: 15.99 MB / 6.044 GB, free: 146.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.477e-05/23.64, allocations: 13.28 kB / 6.044 GB, free: 146.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.3704/24.01, allocations: 20.51 MB / 6.064 GB, free: 146.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004917/24.02, allocations: 23.28 MB / 6.087 GB, free: 121.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/24.02, allocations: 50.28 kB / 6.087 GB, free: 121.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/24.02, allocations: 160.8 kB / 6.087 GB, free: 121.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/24.03, allocations: 1.679 MB / 6.089 GB, free: 121.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/24.04, allocations: 0.7304 MB / 6.089 GB, free: 120.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01549/24.05, allocations: 0.5548 MB / 6.09 GB, free: 120.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00268/24.05, allocations: 310.9 kB / 6.09 GB, free: 120.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/24.05, allocations: 4.062 kB / 6.09 GB, free: 120.7 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3738/24.43, allocations: 19.71 MB / 6.109 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002808/24.43, allocations: 49.92 kB / 6.109 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/24.43, allocations: 161 kB / 6.11 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/24.44, allocations: 1.675 MB / 6.111 GB, free: 119.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/24.45, allocations: 0.7301 MB / 6.112 GB, free: 119.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/24.46, allocations: 0.5339 MB / 6.112 GB, free: 119.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002735/24.46, allocations: 306.8 kB / 6.113 GB, free: 119.1 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.004295/24.47, allocations: 291.8 kB / 6.113 GB, free: 119 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1411/24.61, allocations: 10.49 MB / 6.123 GB, free: 118.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003953/24.61, allocations: 0.727 MB / 6.124 GB, free: 118.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1629/24.78, allocations: 11.57 MB / 6.135 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/24.78, allocations: 58.75 kB / 6.135 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/24.78, allocations: 0 / 6.135 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1344/24.91, allocations: 10.07 MB / 6.145 GB, free: 116.7 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.1752/25.09, allocations: 19.99 MB / 6.165 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/25.09, allocations: 4.5 kB / 6.165 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01182/25.1, allocations: 1.157 MB / 6.166 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000398/25.1, allocations: 78.89 kB / 6.166 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001619/25.1, allocations: 94.7 kB / 6.166 GB, free: 115.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006899/25.1, allocations: 0.62 MB / 6.167 GB, free: 115.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/25.1, allocations: 2.156 kB / 6.167 GB, free: 115.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2112/25.31, allocations: 14.92 MB / 6.181 GB, free: 113.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01156/25.32, allocations: 1.884 MB / 6.183 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005085/25.33, allocations: 26.69 kB / 6.183 GB, free: 113.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01915/25.35, allocations: 499.6 kB / 6.183 GB, free: 113.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00157/25.35, allocations: 308.6 kB / 6.184 GB, free: 113.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/25.35, allocations: 223.5 kB / 6.184 GB, free: 113.2 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01295/25.36, allocations: 4.807 MB / 6.189 GB, free: 113 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.062e-06/25.36, allocations: 0 / 6.189 GB, free: 113 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02949/25.39, allocations: 5.032 MB / 6.194 GB, free: 112.6 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.155/25.55, allocations: 17.75 MB / 6.211 GB, free: 110.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02988/25.58, allocations: 11.21 MB / 6.222 GB, free: 110 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.902e-05/25.58, allocations: 9.906 kB / 6.222 GB, free: 110 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.008177/25.59, allocations: 3.044 MB / 6.225 GB, free: 110 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0302/25.62, allocations: 3.609 MB / 6.228 GB, free: 109.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06183/25.68, allocations: 19.08 MB / 6.247 GB, free: 105.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01276/25.69, allocations: 6.198 MB / 6.253 GB, free: 104.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.03826/25.73, allocations: 5.694 MB / 6.259 GB, free: 102.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01255/25.74, allocations: 4.009 MB / 6.263 GB, free: 102 MB / 1.01 GB Notification: Performance of SimCode: time 1.663e-06/25.74, allocations: 0 / 6.263 GB, free: 102 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.573/27.31, allocations: 226.6 MB / 6.484 GB, free: 158.1 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/27.31, allocations: 185.3 kB / 6.484 GB, free: 158 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/43.52, allocations: 0 / 6.484 GB, free: 158 MB / 1.042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)