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.138/2.138, allocations: 390.5 MB / 398 MB, free: 10.94 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.001075/0.001075, allocations: 184.6 kB / 491.2 MB, free: 1.562 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.473/1.473, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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: 99.62 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.826e-05/1.829e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.423, allocations: 407.1 MB / 1.61 GB, free: 7.406 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/1.423, allocations: 91.81 kB / 1.61 GB, free: 7.359 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.2273/1.651, allocations: 106.2 MB / 1.714 GB, free: 5.43 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.793e-06/1.651, allocations: 0 / 1.714 GB, free: 5.43 MB / 1.12 GB Notification: Performance of Transformations before backend: time 4.925e-05/1.651, allocations: 8 kB / 1.714 GB, free: 5.422 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.001423/1.652, allocations: 0.6606 MB / 1.714 GB, free: 4.707 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.652, allocations: 8.031 kB / 1.714 GB, free: 4.699 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/1.652, allocations: 51.47 kB / 1.714 GB, free: 4.648 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/1.667, allocations: 6.797 MB / 1.721 GB, free: 13.75 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/1.667, allocations: 11.94 kB / 1.721 GB, free: 13.74 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/1.667, allocations: 19.94 kB / 1.721 GB, free: 13.72 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003489/1.667, allocations: 133.1 kB / 1.721 GB, free: 13.59 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/1.668, allocations: 249.2 kB / 1.722 GB, free: 13.32 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.668, allocations: 4 kB / 1.722 GB, free: 13.32 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/1.668, allocations: 3.953 kB / 1.722 GB, free: 13.32 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/1.668, allocations: 11.94 kB / 1.722 GB, free: 13.3 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/1.67, allocations: 1.43 MB / 1.723 GB, free: 11.76 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/1.67, allocations: 118.7 kB / 1.723 GB, free: 11.63 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/1.67, allocations: 48.86 kB / 1.723 GB, free: 11.58 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/1.67, allocations: 89.09 kB / 1.723 GB, free: 11.48 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/1.67, allocations: 107.3 kB / 1.723 GB, free: 11.36 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.67, allocations: 0 / 1.723 GB, free: 11.36 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0003544/1.671, allocations: 145.2 kB / 1.723 GB, free: 11.21 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/1.671, allocations: 59.62 kB / 1.723 GB, free: 11.14 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/1.671, allocations: 277.1 kB / 1.724 GB, free: 10.86 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/1.671, allocations: 33.64 kB / 1.724 GB, free: 10.82 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/1.671, allocations: 215.8 kB / 1.724 GB, free: 10.61 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/1.671, allocations: 51.3 kB / 1.724 GB, free: 10.56 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/1.671, allocations: 0 / 1.724 GB, free: 10.56 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.672, allocations: 342.8 kB / 1.724 GB, free: 10.21 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.672, allocations: 44 kB / 1.724 GB, free: 10.17 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/1.672, allocations: 125.4 kB / 1.725 GB, free: 10.02 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/1.672, allocations: 77.16 kB / 1.725 GB, free: 9.941 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/1.672, allocations: 0 / 1.725 GB, free: 9.941 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005256/1.673, allocations: 229.9 kB / 1.725 GB, free: 9.711 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/1.673, allocations: 33.7 kB / 1.725 GB, free: 9.672 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.673, allocations: 4.312 kB / 1.725 GB, free: 9.668 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.673, allocations: 11.95 kB / 1.725 GB, free: 9.656 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/1.673, allocations: 55.91 kB / 1.725 GB, free: 9.602 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.673, allocations: 7.984 kB / 1.725 GB, free: 9.594 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/1.673, allocations: 31.73 kB / 1.725 GB, free: 9.562 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.674, allocations: 12 kB / 1.725 GB, free: 9.551 MB / 1.135 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.0001158/1.674, allocations: 112.9 kB / 1.725 GB, free: 9.434 MB / 1.135 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000297/1.674, allocations: 155 kB / 1.725 GB, free: 9.277 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/1.674, allocations: 31.67 kB / 1.725 GB, free: 9.246 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/1.674, allocations: 152.6 kB / 1.725 GB, free: 9.086 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.674, allocations: 0 / 1.725 GB, free: 9.086 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.674, allocations: 0 / 1.725 GB, free: 9.086 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004246/1.675, allocations: 454.7 kB / 1.726 GB, free: 8.559 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/1.675, allocations: 305.9 kB / 1.726 GB, free: 8.223 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/1.675, allocations: 0 / 1.726 GB, free: 8.223 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/1.676, allocations: 43.97 kB / 1.726 GB, free: 8.18 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.676, allocations: 0 / 1.726 GB, free: 8.18 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/1.676, allocations: 7.938 kB / 1.726 GB, free: 8.172 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.676, allocations: 7.953 kB / 1.726 GB, free: 8.164 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.676, allocations: 0 / 1.726 GB, free: 8.164 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/1.676, allocations: 224.6 kB / 1.726 GB, free: 7.926 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/1.676, allocations: 128.7 kB / 1.726 GB, free: 7.781 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/1.676, allocations: 8 kB / 1.727 GB, free: 7.773 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/1.677, allocations: 15.98 kB / 1.727 GB, free: 7.758 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/1.677, allocations: 19.92 kB / 1.727 GB, free: 7.738 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/1.677, allocations: 8.094 kB / 1.727 GB, free: 7.73 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0002671/1.677, allocations: 216.6 kB / 1.727 GB, free: 7.523 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.5e-07/1.677, allocations: 0 / 1.727 GB, free: 7.523 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0006301/1.678, allocations: 139.9 kB / 1.727 GB, free: 7.387 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.001164/1.679, allocations: 0.8942 MB / 1.728 GB, free: 6.461 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003475/1.679, allocations: 192.5 kB / 1.728 GB, free: 6.262 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.679, allocations: 0 / 1.728 GB, free: 6.262 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/1.679, allocations: 50.61 kB / 1.728 GB, free: 6.215 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.68, allocations: 192.5 kB / 1.728 GB, free: 6.031 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/1.682, allocations: 0.6206 MB / 1.729 GB, free: 5.371 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.682, allocations: 0.7952 MB / 1.73 GB, free: 4.551 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.0003464/1.683, allocations: 59.25 kB / 1.73 GB, free: 4.492 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.683, allocations: 119.4 kB / 1.73 GB, free: 4.375 MB / 1.135 GB Notification: Performance of SimCode: time 2.415e-06/1.683, allocations: 0 / 1.73 GB, free: 4.375 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/1.718, allocations: 9.026 MB / 1.739 GB, free: 11.44 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/1.718, allocations: 137.7 kB / 1.739 GB, free: 11.25 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.827, allocations: 32 / 1.739 GB, free: 11.25 MB / 1.151 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