Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 173.1 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 96.31 kB / 0.9346 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 11.44 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2623, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/5.826, allocations: 2.24 GB / 3.463 GB, free: 147.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/5.827, allocations: 111.4 kB / 3.463 GB, free: 147.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 9.577/15.4, allocations: 2.556 GB / 6.019 GB, free: 141.4 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.434e-06/15.4, allocations: 2.781 kB / 6.019 GB, free: 141.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.00186/15.41, allocations: 274.2 kB / 6.019 GB, free: 141.3 MB / 1.198 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.03863/15.44, allocations: 10.87 MB / 6.03 GB, free: 137.1 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/15.44, allocations: 11.53 kB / 6.03 GB, free: 137.1 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006472/15.45, allocations: 1.08 MB / 6.031 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/15.47, allocations: 2.176 MB / 6.033 GB, free: 136.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03461/15.5, allocations: 12.14 MB / 6.045 GB, free: 135.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008346/15.5, allocations: 0.6063 MB / 6.046 GB, free: 135.2 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004967/15.51, allocations: 0.804 MB / 6.046 GB, free: 135.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03264/15.54, allocations: 11.27 MB / 6.057 GB, free: 134.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003119/15.54, allocations: 19.72 kB / 6.057 GB, free: 134.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/15.54, allocations: 344.7 kB / 6.058 GB, free: 134.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/15.54, allocations: 336.4 kB / 6.058 GB, free: 134.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02511/15.57, allocations: 10.43 MB / 6.068 GB, free: 134 MB / 1.198 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.08549/15.65, allocations: 45.47 MB / 6.113 GB, free: 117 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01794/15.67, allocations: 7.947 MB / 6.12 GB, free: 116.7 MB / 1.198 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.04786/15.72, allocations: 18.3 MB / 6.138 GB, free: 112.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009218/15.73, allocations: 3.679 MB / 6.142 GB, free: 111.5 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007203/15.73, allocations: 0.7693 MB / 6.143 GB, free: 111.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=513): time 3.093e-05/15.73, allocations: 0 / 6.143 GB, free: 111.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=513): time 0.02835/15.76, allocations: 9.596 MB / 6.152 GB, free: 107.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/15.76, allocations: 313.1 kB / 6.152 GB, free: 107.1 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/15.78, allocations: 7.246 MB / 6.159 GB, free: 104.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001971/15.78, allocations: 136.9 kB / 6.16 GB, free: 104.5 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006468/15.79, allocations: 4.371 MB / 6.164 GB, free: 101.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003076/15.79, allocations: 1.767 MB / 6.166 GB, free: 99.79 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001579/15.8, allocations: 129.9 kB / 6.166 GB, free: 99.68 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0006692/15.8, allocations: 0.5626 MB / 6.166 GB, free: 99.26 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007586/15.8, allocations: 3.341 MB / 6.169 GB, free: 98.09 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008357/15.81, allocations: 5.058 MB / 6.174 GB, free: 94.88 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008565/15.82, allocations: 4.21 MB / 6.179 GB, free: 93.17 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-05/15.82, allocations: 11.38 kB / 6.179 GB, free: 93.17 MB / 1.198 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02292/15.84, allocations: 9.517 MB / 6.188 GB, free: 89.45 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004462/15.85, allocations: 23.89 MB / 6.211 GB, free: 64.05 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/15.85, allocations: 50.98 kB / 6.211 GB, free: 64.05 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/15.85, allocations: 168 kB / 6.211 GB, free: 64.02 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008582/15.86, allocations: 1.702 MB / 6.213 GB, free: 63.86 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006943/15.86, allocations: 0.7393 MB / 6.214 GB, free: 63.26 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/15.87, allocations: 0.7032 MB / 6.214 GB, free: 63.08 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/15.87, allocations: 310.6 kB / 6.215 GB, free: 63.03 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/15.87, allocations: 3.844 kB / 6.215 GB, free: 63.03 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02113/15.89, allocations: 8.801 MB / 6.223 GB, free: 59.64 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/15.89, allocations: 49.28 kB / 6.223 GB, free: 59.64 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/15.89, allocations: 178.4 kB / 6.224 GB, free: 59.61 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007923/15.9, allocations: 1.688 MB / 6.225 GB, free: 58.39 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006489/15.9, allocations: 0.7346 MB / 6.226 GB, free: 57.66 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009586/15.91, allocations: 0.6883 MB / 6.227 GB, free: 57.14 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/15.91, allocations: 314.4 kB / 6.227 GB, free: 56.86 MB / 1.198 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 (821): * Single equations (assignments): 819 * 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.008879/15.92, allocations: 3.246 MB / 6.23 GB, free: 54.12 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003326/15.92, allocations: 0.7794 MB / 6.231 GB, free: 53.33 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/15.94, allocations: 7.985 MB / 6.239 GB, free: 46.64 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.754e-05/15.95, allocations: 58.84 kB / 6.239 GB, free: 46.58 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/15.95, allocations: 0 / 6.239 GB, free: 46.58 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01234/15.96, allocations: 6.324 MB / 6.245 GB, free: 41 MB / 1.198 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.04183/16, allocations: 17.41 MB / 6.262 GB, free: 27.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/16, allocations: 0 / 6.262 GB, free: 27.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006142/16.01, allocations: 1.18 MB / 6.263 GB, free: 26.25 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004045/16.01, allocations: 94.73 kB / 6.263 GB, free: 26.16 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007848/16.01, allocations: 155.3 kB / 6.263 GB, free: 26.04 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000466/16.01, allocations: 0.6325 MB / 6.264 GB, free: 25.4 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/16.01, allocations: 0 / 6.264 GB, free: 25.4 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/16.03, allocations: 11.64 MB / 6.275 GB, free: 15.09 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005993/16.03, allocations: 1.961 MB / 6.277 GB, free: 13.42 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00211/16.04, allocations: 107.9 kB / 6.277 GB, free: 13.32 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007267/16.04, allocations: 0.6053 MB / 6.278 GB, free: 12.87 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/16.04, allocations: 310.4 kB / 6.278 GB, free: 12.68 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007192/16.04, allocations: 234.6 kB / 6.278 GB, free: 12.5 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01062/16.06, allocations: 5.716 MB / 6.284 GB, free: 7.805 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.4e-07/16.06, allocations: 0 / 6.284 GB, free: 7.805 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01851/16.07, allocations: 5.241 MB / 6.289 GB, free: 2.594 MB / 1.198 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 (539): * Single equations (assignments): 528 * 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.03355/16.11, allocations: 14.87 MB / 6.304 GB, free: 6.469 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02743/16.14, allocations: 12.44 MB / 6.316 GB, free: 11.89 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/16.14, allocations: 9.656 kB / 6.316 GB, free: 11.88 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.007201/16.14, allocations: 3.437 MB / 6.319 GB, free: 8.441 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02128/16.16, allocations: 4.103 MB / 6.323 GB, free: 4.57 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7594/16.92, allocations: 62.39 MB / 6.384 GB, free: 136.8 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/16.93, allocations: 6.22 MB / 6.39 GB, free: 135.9 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01916/16.95, allocations: 4.226 MB / 6.394 GB, free: 135.8 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01092/16.96, allocations: 4.25 MB / 6.398 GB, free: 135.8 MB / 1.245 GB Notification: Performance of SimCode: time 1.533e-06/16.96, allocations: 0 / 6.398 GB, free: 135.8 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3971/17.36, allocations: 253.3 MB / 6.646 GB, free: 95.52 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/17.36, allocations: 269.4 kB / 6.646 GB, free: 95.15 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/28.45, allocations: 0 / 6.646 GB, free: 95.15 MB / 1.245 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank_res.mat does not exist to compare? outputFormat=mat