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.419/2.419, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001046/0.001046, allocations: 176.8 kB / 487.4 MB, free: 5.062 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.456/1.456, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 94.14 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.68e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.461, allocations: 406.3 MB / 1.603 GB, free: 15.72 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.461, allocations: 83.45 kB / 1.603 GB, free: 15.68 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.2192/1.68, allocations: 106.2 MB / 1.707 GB, free: 13.8 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.503e-06/1.68, allocations: 0 / 1.707 GB, free: 13.8 MB / 1.12 GB Notification: Performance of Transformations before backend: time 2.848e-05/1.68, allocations: 12 kB / 1.707 GB, free: 13.79 MB / 1.12 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.001041/1.681, allocations: 0.6528 MB / 1.707 GB, free: 13.09 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.681, allocations: 8.031 kB / 1.707 GB, free: 13.08 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/1.682, allocations: 51.47 kB / 1.707 GB, free: 13.03 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/1.696, allocations: 6.801 MB / 1.714 GB, free: 6.121 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/1.696, allocations: 8 kB / 1.714 GB, free: 6.113 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/1.696, allocations: 16 kB / 1.714 GB, free: 6.098 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004078/1.696, allocations: 145.1 kB / 1.714 GB, free: 5.957 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/1.697, allocations: 245.1 kB / 1.714 GB, free: 5.691 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.697, allocations: 4 kB / 1.714 GB, free: 5.688 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.697, allocations: 0 / 1.714 GB, free: 5.688 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/1.697, allocations: 15.94 kB / 1.714 GB, free: 5.672 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/1.699, allocations: 1.426 MB / 1.716 GB, free: 4.133 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.7, allocations: 126.6 kB / 1.716 GB, free: 4 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.451e-05/1.7, allocations: 48.89 kB / 1.716 GB, free: 3.949 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/1.7, allocations: 85.11 kB / 1.716 GB, free: 3.848 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.7, allocations: 103.4 kB / 1.716 GB, free: 3.734 MB / 1.12 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/1.7, allocations: 0 / 1.716 GB, free: 3.734 MB / 1.12 GB Notification: Performance of matching and sorting (n=15): time 0.0004937/1.701, allocations: 153.1 kB / 1.716 GB, free: 3.578 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.701, allocations: 55.41 kB / 1.716 GB, free: 3.512 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/1.701, allocations: 277.1 kB / 1.717 GB, free: 3.234 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/1.701, allocations: 25.7 kB / 1.717 GB, free: 3.203 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/1.701, allocations: 219.8 kB / 1.717 GB, free: 2.984 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 5.684e-05/1.701, allocations: 55.23 kB / 1.717 GB, free: 2.93 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/1.701, allocations: 0 / 1.717 GB, free: 2.93 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.702, allocations: 338.8 kB / 1.717 GB, free: 2.59 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/1.702, allocations: 52 kB / 1.717 GB, free: 2.539 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/1.702, allocations: 130.9 kB / 1.717 GB, free: 2.379 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/1.702, allocations: 76.94 kB / 1.717 GB, free: 2.305 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.702, allocations: 0 / 1.717 GB, free: 2.305 MB / 1.12 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004246/1.702, allocations: 230.3 kB / 1.718 GB, free: 2.074 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/1.702, allocations: 33.7 kB / 1.718 GB, free: 2.035 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.702, allocations: 4 kB / 1.718 GB, free: 2.031 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.703, allocations: 7.938 kB / 1.718 GB, free: 2.023 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/1.703, allocations: 55.95 kB / 1.718 GB, free: 1.969 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.703, allocations: 11.89 kB / 1.718 GB, free: 1.957 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/1.703, allocations: 35.83 kB / 1.718 GB, free: 1.922 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/1.703, allocations: 12 kB / 1.718 GB, free: 1.91 MB / 1.12 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 () * 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.0001112/1.703, allocations: 109.8 kB / 1.718 GB, free: 1.797 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/1.703, allocations: 151.2 kB / 1.718 GB, free: 1.645 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/1.704, allocations: 27.72 kB / 1.718 GB, free: 1.617 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/1.704, allocations: 160.4 kB / 1.718 GB, free: 1.453 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.704, allocations: 4 kB / 1.718 GB, free: 1.449 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.704, allocations: 4 kB / 1.718 GB, free: 1.445 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003469/1.704, allocations: 450.5 kB / 1.719 GB, free: 0.9219 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/1.705, allocations: 302 kB / 1.719 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.705, allocations: 0 / 1.719 GB, free: 0.5898 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/1.705, allocations: 39.97 kB / 1.719 GB, free: 0.5508 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.705, allocations: 0 / 1.719 GB, free: 0.5508 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/1.705, allocations: 0 / 1.719 GB, free: 0.5508 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.705, allocations: 0 / 1.719 GB, free: 0.5508 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.705, allocations: 3.953 kB / 1.719 GB, free: 0.5469 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/1.705, allocations: 232.6 kB / 1.719 GB, free: 308 kB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/1.705, allocations: 132.7 kB / 1.719 GB, free: 156 kB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/1.706, allocations: 0 / 1.719 GB, free: 156 kB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/1.706, allocations: 19.98 kB / 1.719 GB, free: 136 kB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.314e-05/1.706, allocations: 15.97 kB / 1.719 GB, free: 120 kB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/1.706, allocations: 15.89 kB / 1.719 GB, free: 104 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0002357/1.706, allocations: 216.6 kB / 1.72 GB, free: 15.89 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.3e-07/1.706, allocations: 4 kB / 1.72 GB, free: 15.89 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0005054/1.707, allocations: 139.9 kB / 1.72 GB, free: 15.75 MB / 1.135 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) * 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.0009349/1.708, allocations: 0.892 MB / 1.721 GB, free: 14.83 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003176/1.708, allocations: 191.6 kB / 1.721 GB, free: 14.63 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.708, allocations: 4.25 kB / 1.721 GB, free: 14.62 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.972e-05/1.708, allocations: 51.92 kB / 1.721 GB, free: 14.57 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/1.709, allocations: 172.3 kB / 1.721 GB, free: 14.41 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.71, allocations: 0.6206 MB / 1.722 GB, free: 13.75 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/1.711, allocations: 0.7952 MB / 1.722 GB, free: 12.93 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0002574/1.711, allocations: 67.19 kB / 1.722 GB, free: 12.87 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.711, allocations: 123.4 kB / 1.723 GB, free: 12.75 MB / 1.135 GB Notification: Performance of SimCode: time 6.52e-07/1.711, allocations: 0 / 1.723 GB, free: 12.75 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/1.742, allocations: 9.019 MB / 1.731 GB, free: 3.824 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.742, allocations: 135.7 kB / 1.732 GB, free: 3.629 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/4.045, allocations: 2.25 kB / 1.732 GB, free: 3.629 MB / 1.135 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