Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.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.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.294/2.294, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001225/0.001225, allocations: 181.1 kB / 498.1 MB, free: 5.734 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.427/1.427, allocations: 223.1 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.0009618/0.0009617, allocations: 100.4 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8.5 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2504, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9916/1.242, allocations: 407 MB / 1.62 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.242, allocations: 93.33 kB / 1.62 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.2357/1.478, allocations: 107 MB / 1.725 GB, free: 1.168 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.613e-06/1.478, allocations: 0 / 1.725 GB, free: 1.168 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.008e-05/1.478, allocations: 8 kB / 1.725 GB, free: 1.16 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0013/1.48, allocations: 0.7232 MB / 1.726 GB, free: 388 kB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.48, allocations: 12.03 kB / 1.726 GB, free: 376 kB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.581e-05/1.48, allocations: 58.55 kB / 1.726 GB, free: 308 kB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/1.48, allocations: 55.38 kB / 1.726 GB, free: 252 kB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/1.495, allocations: 6.874 MB / 1.733 GB, free: 9.27 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/1.495, allocations: 20.56 kB / 1.733 GB, free: 9.25 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/1.495, allocations: 31.91 kB / 1.733 GB, free: 9.219 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/1.495, allocations: 306.2 kB / 1.733 GB, free: 8.895 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/1.495, allocations: 0 / 1.733 GB, free: 8.895 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/1.495, allocations: 12 kB / 1.733 GB, free: 8.883 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/1.495, allocations: 11.95 kB / 1.733 GB, free: 8.871 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/1.496, allocations: 198.1 kB / 1.733 GB, free: 8.68 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/1.498, allocations: 1.497 MB / 1.735 GB, free: 7.055 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/1.498, allocations: 166.6 kB / 1.735 GB, free: 6.883 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/1.499, allocations: 97.03 kB / 1.735 GB, free: 6.77 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/1.499, allocations: 127.3 kB / 1.735 GB, free: 6.633 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/1.499, allocations: 0 / 1.735 GB, free: 6.633 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0006754/1.5, allocations: 260.1 kB / 1.735 GB, free: 6.375 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.5, allocations: 51.41 kB / 1.735 GB, free: 6.312 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/1.5, allocations: 308.9 kB / 1.736 GB, free: 6.008 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/1.5, allocations: 37.69 kB / 1.736 GB, free: 5.965 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/1.5, allocations: 211.8 kB / 1.736 GB, free: 5.754 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/1.5, allocations: 59.19 kB / 1.736 GB, free: 5.695 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.5, allocations: 4 kB / 1.736 GB, free: 5.691 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.501, allocations: 342.8 kB / 1.736 GB, free: 5.348 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/1.501, allocations: 72.33 kB / 1.736 GB, free: 5.277 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/1.501, allocations: 158.4 kB / 1.736 GB, free: 5.09 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/1.501, allocations: 122.6 kB / 1.737 GB, free: 4.965 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.501, allocations: 0 / 1.737 GB, free: 4.965 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006256/1.502, allocations: 323.8 kB / 1.737 GB, free: 4.637 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/1.502, allocations: 33.66 kB / 1.737 GB, free: 4.598 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.502, allocations: 4 kB / 1.737 GB, free: 4.594 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.502, allocations: 4.312 kB / 1.737 GB, free: 4.59 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.502, allocations: 63.89 kB / 1.737 GB, free: 4.527 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.502, allocations: 4 kB / 1.737 GB, free: 4.523 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/1.503, allocations: 47.67 kB / 1.737 GB, free: 4.477 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/1.503, allocations: 12 kB / 1.737 GB, free: 4.465 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001844/1.503, allocations: 161.8 kB / 1.737 GB, free: 4.297 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/1.503, allocations: 31.62 kB / 1.737 GB, free: 4.266 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/1.503, allocations: 204.5 kB / 1.737 GB, free: 4.055 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.503, allocations: 8 kB / 1.737 GB, free: 4.047 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.503, allocations: 4 kB / 1.737 GB, free: 4.043 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005369/1.504, allocations: 491.7 kB / 1.738 GB, free: 3.477 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/1.504, allocations: 361.2 kB / 1.738 GB, free: 3.074 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.504, allocations: 0 / 1.738 GB, free: 3.074 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.505, allocations: 35.98 kB / 1.738 GB, free: 3.039 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.505, allocations: 0 / 1.738 GB, free: 3.039 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/1.505, allocations: 8 kB / 1.738 GB, free: 3.031 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.505, allocations: 3.953 kB / 1.738 GB, free: 3.027 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.505, allocations: 3.984 kB / 1.738 GB, free: 3.023 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/1.505, allocations: 298.5 kB / 1.739 GB, free: 2.715 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/1.505, allocations: 128.7 kB / 1.739 GB, free: 2.57 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/1.506, allocations: 7.938 kB / 1.739 GB, free: 2.562 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/1.506, allocations: 19.98 kB / 1.739 GB, free: 2.543 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/1.506, allocations: 23.92 kB / 1.739 GB, free: 2.52 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/1.506, allocations: 7.984 kB / 1.739 GB, free: 2.512 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.000259/1.506, allocations: 251.2 kB / 1.739 GB, free: 2.273 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.81e-07/1.506, allocations: 0 / 1.739 GB, free: 2.273 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005211/1.507, allocations: 147.9 kB / 1.739 GB, free: 2.129 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/1.508, allocations: 0.9603 MB / 1.74 GB, free: 1.141 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005202/1.509, allocations: 234 kB / 1.74 GB, free: 0.9023 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.509, allocations: 3.984 kB / 1.74 GB, free: 0.8984 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/1.509, allocations: 76.47 kB / 1.74 GB, free: 0.8242 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/1.51, allocations: 209.1 kB / 1.741 GB, free: 0.6211 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/1.514, allocations: 3.666 MB / 1.744 GB, free: 12.86 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/1.514, allocations: 0.8001 MB / 1.745 GB, free: 12.04 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002954/1.514, allocations: 63.19 kB / 1.745 GB, free: 11.98 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/1.515, allocations: 115.4 kB / 1.745 GB, free: 11.86 MB / 1.073 GB Notification: Performance of SimCode: time 5.71e-07/1.515, allocations: 0 / 1.745 GB, free: 11.86 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/1.541, allocations: 10.75 MB / 1.756 GB, free: 1.324 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.541, allocations: 176.7 kB / 1.756 GB, free: 1.082 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.826, allocations: 0 / 1.756 GB, free: 1.082 MB / 1.073 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat does not exist to compare? outputFormat=mat