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.173/2.173, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001079/0.001079, allocations: 168.9 kB / 492.3 MB, free: 0.625 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.535/1.535, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009185/0.0009185, allocations: 89.67 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.582e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.283, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.557, allocations: 406.9 MB / 1.61 GB, free: 7.328 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.557, allocations: 90.19 kB / 1.61 GB, free: 7.281 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.2369/1.794, allocations: 106.7 MB / 1.714 GB, free: 4.484 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.042e-06/1.794, allocations: 0 / 1.714 GB, free: 4.484 MB / 1.12 GB Notification: Performance of Transformations before backend: time 2.781e-05/1.794, allocations: 8 kB / 1.714 GB, free: 4.477 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.001085/1.795, allocations: 0.6606 MB / 1.715 GB, free: 3.762 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.795, allocations: 12.03 kB / 1.715 GB, free: 3.75 MB / 1.12 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/1.795, allocations: 66.53 kB / 1.715 GB, free: 3.676 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/1.795, allocations: 47.48 kB / 1.715 GB, free: 3.629 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/1.81, allocations: 6.823 MB / 1.722 GB, free: 12.7 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/1.81, allocations: 20.56 kB / 1.722 GB, free: 12.68 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.879e-05/1.81, allocations: 28 kB / 1.722 GB, free: 12.65 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/1.811, allocations: 282.2 kB / 1.722 GB, free: 12.35 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.811, allocations: 4 kB / 1.722 GB, free: 12.34 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/1.811, allocations: 12 kB / 1.722 GB, free: 12.33 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/1.811, allocations: 8 kB / 1.722 GB, free: 12.32 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/1.811, allocations: 162.1 kB / 1.722 GB, free: 12.17 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/1.813, allocations: 1.489 MB / 1.724 GB, free: 10.55 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.813, allocations: 134.7 kB / 1.724 GB, free: 10.41 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/1.813, allocations: 48.86 kB / 1.724 GB, free: 10.36 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/1.814, allocations: 89.09 kB / 1.724 GB, free: 10.25 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/1.814, allocations: 116 kB / 1.724 GB, free: 10.13 MB / 1.135 GB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/1.814, allocations: 0 / 1.724 GB, free: 10.13 MB / 1.135 GB Notification: Performance of matching and sorting (n=15): time 0.0003186/1.814, allocations: 150.4 kB / 1.724 GB, free: 9.977 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.814, allocations: 55.41 kB / 1.724 GB, free: 9.91 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/1.815, allocations: 311.5 kB / 1.724 GB, free: 9.602 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/1.815, allocations: 33.7 kB / 1.724 GB, free: 9.562 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.815, allocations: 219.9 kB / 1.725 GB, free: 9.344 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/1.815, allocations: 43.36 kB / 1.725 GB, free: 9.301 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/1.815, allocations: 11.94 kB / 1.725 GB, free: 9.289 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.815, allocations: 346.8 kB / 1.725 GB, free: 8.941 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/1.815, allocations: 44 kB / 1.725 GB, free: 8.898 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/1.815, allocations: 151.3 kB / 1.725 GB, free: 8.719 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/1.816, allocations: 95.05 kB / 1.725 GB, free: 8.621 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.816, allocations: 0 / 1.725 GB, free: 8.621 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000412/1.816, allocations: 276 kB / 1.726 GB, free: 8.34 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.816, allocations: 37.69 kB / 1.726 GB, free: 8.297 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.816, allocations: 4.266 kB / 1.726 GB, free: 8.293 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.816, allocations: 8 kB / 1.726 GB, free: 8.285 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.816, allocations: 63.91 kB / 1.726 GB, free: 8.223 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.816, allocations: 4 kB / 1.726 GB, free: 8.219 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/1.817, allocations: 39.67 kB / 1.726 GB, free: 8.18 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/1.817, allocations: 8 kB / 1.726 GB, free: 8.172 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.0001143/1.817, allocations: 132.8 kB / 1.726 GB, free: 8.035 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/1.817, allocations: 31.62 kB / 1.726 GB, free: 8.004 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/1.817, allocations: 167.1 kB / 1.726 GB, free: 7.836 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.817, allocations: 3.953 kB / 1.726 GB, free: 7.832 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.817, allocations: 4 kB / 1.726 GB, free: 7.828 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003109/1.817, allocations: 452 kB / 1.727 GB, free: 7.301 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/1.818, allocations: 353.3 kB / 1.727 GB, free: 6.906 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.818, allocations: 4 kB / 1.727 GB, free: 6.902 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.818, allocations: 39.91 kB / 1.727 GB, free: 6.863 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.818, allocations: 0 / 1.727 GB, free: 6.863 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/1.818, allocations: 8 kB / 1.727 GB, free: 6.855 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.818, allocations: 0 / 1.727 GB, free: 6.855 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.818, allocations: 3.953 kB / 1.727 GB, free: 6.852 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/1.819, allocations: 232.6 kB / 1.727 GB, free: 6.605 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/1.819, allocations: 128.7 kB / 1.727 GB, free: 6.461 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/1.819, allocations: 15.98 kB / 1.727 GB, free: 6.445 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/1.819, allocations: 19.89 kB / 1.727 GB, free: 6.426 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/1.819, allocations: 19.92 kB / 1.727 GB, free: 6.406 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.819, allocations: 8 kB / 1.727 GB, free: 6.398 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.0002587/1.819, allocations: 250.1 kB / 1.728 GB, free: 6.152 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.51e-07/1.819, allocations: 0 / 1.728 GB, free: 6.152 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0004941/1.82, allocations: 140 kB / 1.728 GB, free: 6.016 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.0009683/1.821, allocations: 0.9175 MB / 1.729 GB, free: 5.074 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003189/1.821, allocations: 203.2 kB / 1.729 GB, free: 4.863 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.821, allocations: 0.625 kB / 1.729 GB, free: 4.863 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/1.821, allocations: 59.92 kB / 1.729 GB, free: 4.805 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/1.822, allocations: 195.1 kB / 1.729 GB, free: 4.621 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/1.824, allocations: 0.6372 MB / 1.73 GB, free: 3.945 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/1.824, allocations: 0.7923 MB / 1.73 GB, free: 3.129 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.000272/1.824, allocations: 71.14 kB / 1.73 GB, free: 3.059 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.824, allocations: 123.4 kB / 1.731 GB, free: 2.938 MB / 1.135 GB Notification: Performance of SimCode: time 3.01e-07/1.824, allocations: 3.938 kB / 1.731 GB, free: 2.934 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/1.851, allocations: 10.79 MB / 1.741 GB, free: 8.344 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.851, allocations: 151.3 kB / 1.741 GB, free: 8.117 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/4.126, allocations: 0 / 1.741 GB, free: 8.117 MB / 1.151 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