Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.555/2.555, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.00129/0.00129, allocations: 176 kB / 0.4901 GB, free: 2.215 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0009656/0.0009655, allocations: 88.33 kB / 0.9396 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.000361, allocations: 8.188 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.297, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.332, allocations: 407.8 MB / 1.628 GB, free: 5.148 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.332, allocations: 94.52 kB / 1.628 GB, free: 5.098 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.252/1.584, allocations: 107 MB / 1.732 GB, free: 11.9 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.593e-06/1.584, allocations: 4 kB / 1.732 GB, free: 11.9 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.584, allocations: 8 kB / 1.732 GB, free: 11.89 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.001675/1.586, allocations: 0.7241 MB / 1.733 GB, free: 11.11 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.826e-05/1.586, allocations: 12.56 kB / 1.733 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/1.586, allocations: 62.55 kB / 1.733 GB, free: 11.03 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/1.587, allocations: 55.38 kB / 1.733 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.602, allocations: 6.858 MB / 1.74 GB, free: 4.012 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/1.602, allocations: 24.56 kB / 1.74 GB, free: 3.988 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/1.602, allocations: 32.22 kB / 1.74 GB, free: 3.957 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/1.603, allocations: 294.2 kB / 1.74 GB, free: 3.648 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/1.603, allocations: 11.78 kB / 1.74 GB, free: 3.637 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/1.603, allocations: 16 kB / 1.74 GB, free: 3.621 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/1.603, allocations: 11.95 kB / 1.74 GB, free: 3.609 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/1.603, allocations: 202.1 kB / 1.74 GB, free: 3.414 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/1.606, allocations: 1.493 MB / 1.742 GB, free: 1.789 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/1.606, allocations: 166.6 kB / 1.742 GB, free: 1.617 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/1.606, allocations: 93.03 kB / 1.742 GB, free: 1.508 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/1.607, allocations: 138.6 kB / 1.742 GB, free: 1.363 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 3.226e-06/1.607, allocations: 0 / 1.742 GB, free: 1.363 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.0007339/1.607, allocations: 249.1 kB / 1.742 GB, free: 1.113 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/1.607, allocations: 51.41 kB / 1.742 GB, free: 1.051 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004228/1.608, allocations: 316.8 kB / 1.743 GB, free: 0.7344 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/1.608, allocations: 33.7 kB / 1.743 GB, free: 0.6953 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.608, allocations: 211.8 kB / 1.743 GB, free: 496 kB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/1.608, allocations: 59.19 kB / 1.743 GB, free: 436 kB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/1.608, allocations: 8 kB / 1.743 GB, free: 428 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.608, allocations: 338.8 kB / 1.743 GB, free: 80 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/1.609, allocations: 72.33 kB / 1.743 GB, free: 8 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/1.609, allocations: 153.9 kB / 1.743 GB, free: 15.82 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/1.609, allocations: 123.3 kB / 1.744 GB, free: 15.7 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.609, allocations: 0 / 1.744 GB, free: 15.7 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000678/1.61, allocations: 319.7 kB / 1.744 GB, free: 15.38 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/1.61, allocations: 37.66 kB / 1.744 GB, free: 15.33 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.61, allocations: 4 kB / 1.744 GB, free: 15.33 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.61, allocations: 4 kB / 1.744 GB, free: 15.32 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/1.61, allocations: 64.2 kB / 1.744 GB, free: 15.26 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.61, allocations: 15.81 kB / 1.744 GB, free: 15.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/1.611, allocations: 47.67 kB / 1.744 GB, free: 15.2 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/1.611, allocations: 8 kB / 1.744 GB, free: 15.19 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.000205/1.611, allocations: 157.8 kB / 1.744 GB, free: 15.03 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/1.611, allocations: 31.62 kB / 1.744 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/1.611, allocations: 212.5 kB / 1.744 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/1.611, allocations: 4 kB / 1.744 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.611, allocations: 0 / 1.744 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005187/1.612, allocations: 495.7 kB / 1.745 GB, free: 14.2 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/1.613, allocations: 357.3 kB / 1.745 GB, free: 13.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.613, allocations: 0 / 1.745 GB, free: 13.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.613, allocations: 35.98 kB / 1.745 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.613, allocations: 0 / 1.745 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/1.613, allocations: 8 kB / 1.745 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.613, allocations: 11.94 kB / 1.745 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.613, allocations: 0 / 1.745 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006559/1.613, allocations: 298.8 kB / 1.746 GB, free: 13.44 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/1.614, allocations: 132.7 kB / 1.746 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/1.614, allocations: 4 kB / 1.746 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/1.614, allocations: 15.98 kB / 1.746 GB, free: 13.27 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/1.614, allocations: 23.92 kB / 1.746 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.614, allocations: 7.984 kB / 1.746 GB, free: 13.24 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003138/1.614, allocations: 255.2 kB / 1.746 GB, free: 13 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.31e-07/1.614, allocations: 0 / 1.746 GB, free: 13 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005439/1.615, allocations: 143.9 kB / 1.746 GB, free: 12.86 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.001282/1.616, allocations: 0.9685 MB / 1.747 GB, free: 11.86 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0005388/1.617, allocations: 241.7 kB / 1.747 GB, free: 11.62 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.617, allocations: 0 / 1.747 GB, free: 11.62 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/1.617, allocations: 71.91 kB / 1.747 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.618, allocations: 203 kB / 1.748 GB, free: 11.35 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/1.623, allocations: 3.665 MB / 1.751 GB, free: 7.59 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/1.623, allocations: 0.7962 MB / 1.752 GB, free: 6.766 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0003296/1.624, allocations: 67.19 kB / 1.752 GB, free: 6.703 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.624, allocations: 115.4 kB / 1.752 GB, free: 6.594 MB / 1.057 GB Notification: Performance of SimCode: time 1.262e-06/1.624, allocations: 4 kB / 1.752 GB, free: 6.59 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.757/3.381, allocations: 10.77 MB / 1.763 GB, free: 12.04 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/3.381, allocations: 185.6 kB / 1.763 GB, free: 11.79 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/6.234, allocations: 4 kB / 1.763 GB, free: 11.79 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Examples.ExpansionVessel_res.mat does not exist to compare? outputFormat=mat