Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 288.2 MB / 303.2 MB, free: 8.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 189 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 0.6305 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009759, allocations: 91.78 kB / 0.7439 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003979, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2184, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9013/1.12, allocations: 395.1 MB / 1.365 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.12, allocations: 91.14 kB / 1.365 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7209/1.841, allocations: 104 MB / 1.467 GB, free: 310.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.146e-06/1.841, allocations: 3.984 kB / 1.467 GB, free: 310.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.952e-05/1.841, allocations: 7.406 kB / 1.467 GB, free: 310.9 MB / 0.9323 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.001432/1.843, allocations: 0.7255 MB / 1.468 GB, free: 310.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.843, allocations: 11.86 kB / 1.468 GB, free: 310.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.275e-05/1.843, allocations: 66.16 kB / 1.468 GB, free: 310.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/1.843, allocations: 46.44 kB / 1.468 GB, free: 310.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.855, allocations: 6.717 MB / 1.474 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.856, allocations: 16.25 kB / 1.474 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/1.856, allocations: 30.31 kB / 1.474 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/1.856, allocations: 312.4 kB / 1.475 GB, free: 306 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.856, allocations: 0 / 1.475 GB, free: 306 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/1.856, allocations: 11.91 kB / 1.475 GB, free: 306 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.856, allocations: 11.64 kB / 1.475 GB, free: 306 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/1.857, allocations: 201.9 kB / 1.475 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/1.858, allocations: 1.495 MB / 1.476 GB, free: 304.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/1.859, allocations: 168.7 kB / 1.477 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/1.859, allocations: 80.92 kB / 1.477 GB, free: 304.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/1.859, allocations: 139.1 kB / 1.477 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/1.859, allocations: 0 / 1.477 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0005846/1.86, allocations: 243.8 kB / 1.477 GB, free: 304.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/1.86, allocations: 63.02 kB / 1.477 GB, free: 304 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/1.86, allocations: 310.2 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.86, allocations: 33.64 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/1.86, allocations: 217.8 kB / 1.478 GB, free: 303.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/1.86, allocations: 50.72 kB / 1.478 GB, free: 303.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.86, allocations: 3.781 kB / 1.478 GB, free: 303.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/1.86, allocations: 350.5 kB / 1.478 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/1.86, allocations: 79.11 kB / 1.478 GB, free: 303.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.861, allocations: 152.9 kB / 1.478 GB, free: 303 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/1.861, allocations: 113.2 kB / 1.478 GB, free: 303 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.861, allocations: 7.812 kB / 1.478 GB, free: 302.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005656/1.862, allocations: 318.9 kB / 1.479 GB, free: 302.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/1.862, allocations: 37.56 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.862, allocations: 3.906 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.862, allocations: 3.969 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/1.862, allocations: 55.12 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.862, allocations: 3.875 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/1.862, allocations: 50.66 kB / 1.479 GB, free: 302.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/1.862, allocations: 11.91 kB / 1.479 GB, free: 302.7 MB / 0.9323 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.0001863/1.862, allocations: 161 kB / 1.479 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/1.863, allocations: 31.16 kB / 1.479 GB, free: 302.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/1.863, allocations: 206.3 kB / 1.479 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.863, allocations: 7.922 kB / 1.479 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.863, allocations: 0 / 1.479 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004615/1.864, allocations: 497 kB / 1.48 GB, free: 301.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/1.864, allocations: 357.5 kB / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.864, allocations: 0 / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/1.864, allocations: 33.98 kB / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.864, allocations: 3.984 kB / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.864, allocations: 7.562 kB / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.864, allocations: 0 / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.864, allocations: 3.984 kB / 1.48 GB, free: 301.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006448/1.865, allocations: 306.2 kB / 1.48 GB, free: 301.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/1.865, allocations: 127.2 kB / 1.48 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/1.865, allocations: 10.19 kB / 1.48 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/1.865, allocations: 27.09 kB / 1.48 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/1.865, allocations: 11.17 kB / 1.48 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/1.865, allocations: 11.73 kB / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002289/1.866, allocations: 250.2 kB / 1.481 GB, free: 301.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.51e-07/1.866, allocations: 0 / 1.481 GB, free: 301.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006078/1.866, allocations: 138.9 kB / 1.481 GB, free: 301 MB / 0.9323 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.001145/1.867, allocations: 0.9684 MB / 1.482 GB, free: 300.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005071/1.868, allocations: 240.2 kB / 1.482 GB, free: 300.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.868, allocations: 64 / 1.482 GB, free: 300.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.868, allocations: 73.22 kB / 1.482 GB, free: 300.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/1.869, allocations: 197.9 kB / 1.482 GB, free: 300 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/1.872, allocations: 3.648 MB / 1.486 GB, free: 297 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/1.873, allocations: 0.8033 MB / 1.487 GB, free: 296.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003014/1.873, allocations: 67.53 kB / 1.487 GB, free: 296.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/1.873, allocations: 117.1 kB / 1.487 GB, free: 296.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/1.873, allocations: 0 / 1.487 GB, free: 296.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/1.896, allocations: 10.7 MB / 1.497 GB, free: 290.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.896, allocations: 182.4 kB / 1.497 GB, free: 290.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/4.207, allocations: 0 / 1.497 GB, free: 290.7 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)