Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 179 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008593, allocations: 90.14 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003216, allocations: 12.45 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2063, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8666/1.073, allocations: 387.5 MB / 1.279 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.073, allocations: 88.52 kB / 1.279 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.2236/1.297, allocations: 101.2 MB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/1.297, allocations: 4 kB / 1.378 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.256e-05/1.297, allocations: 15.94 kB / 1.378 GB, free: 3.156 MB / 0.8698 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.0015/1.299, allocations: 0.7173 MB / 1.378 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.299, allocations: 8.031 kB / 1.378 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/1.299, allocations: 62.55 kB / 1.378 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/1.299, allocations: 51.39 kB / 1.378 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/1.314, allocations: 6.535 MB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/1.314, allocations: 24.56 kB / 1.385 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/1.314, allocations: 28 kB / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/1.315, allocations: 294.2 kB / 1.385 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/1.315, allocations: 3.938 kB / 1.385 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/1.315, allocations: 19.98 kB / 1.385 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/1.315, allocations: 11.94 kB / 1.385 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/1.316, allocations: 198 kB / 1.385 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/1.318, allocations: 1.485 MB / 1.387 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.319, allocations: 170.6 kB / 1.387 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/1.319, allocations: 85.11 kB / 1.387 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/1.319, allocations: 131.5 kB / 1.387 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/1.319, allocations: 0 / 1.387 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0007018/1.32, allocations: 250.4 kB / 1.387 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/1.32, allocations: 59.34 kB / 1.387 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/1.32, allocations: 316.8 kB / 1.388 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/1.32, allocations: 29.7 kB / 1.388 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.32, allocations: 215.7 kB / 1.388 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.05e-05/1.32, allocations: 55.25 kB / 1.388 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/1.32, allocations: 4 kB / 1.388 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.321, allocations: 346.8 kB / 1.388 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.321, allocations: 75.95 kB / 1.388 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/1.321, allocations: 149.4 kB / 1.389 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/1.321, allocations: 118.1 kB / 1.389 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.321, allocations: 0 / 1.389 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006559/1.322, allocations: 319.7 kB / 1.389 GB, free: 7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/1.322, allocations: 33.69 kB / 1.389 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/1.322, allocations: 7.984 kB / 1.389 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.322, allocations: 7.953 kB / 1.389 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.322, allocations: 64.22 kB / 1.389 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.322, allocations: 7.938 kB / 1.389 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/1.323, allocations: 43.61 kB / 1.389 GB, free: 6.832 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/1.323, allocations: 12 kB / 1.389 GB, free: 6.82 MB / 0.8855 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.0001877/1.323, allocations: 157.8 kB / 1.389 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/1.323, allocations: 31.62 kB / 1.389 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/1.324, allocations: 204.5 kB / 1.39 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.324, allocations: 3.953 kB / 1.39 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.324, allocations: 4 kB / 1.39 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005133/1.324, allocations: 0.4902 MB / 1.39 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/1.325, allocations: 353.4 kB / 1.39 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.325, allocations: 0 / 1.39 GB, free: 5.441 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.325, allocations: 31.98 kB / 1.39 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.325, allocations: 0 / 1.39 GB, free: 5.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.325, allocations: 4 kB / 1.39 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.325, allocations: 7.984 kB / 1.39 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.325, allocations: 11.89 kB / 1.39 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/1.326, allocations: 292.5 kB / 1.391 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.326, allocations: 128.7 kB / 1.391 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/1.326, allocations: 4 kB / 1.391 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/1.326, allocations: 23.83 kB / 1.391 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/1.326, allocations: 19.97 kB / 1.391 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/1.326, allocations: 7.953 kB / 1.391 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002748/1.326, allocations: 251.2 kB / 1.391 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/1.326, allocations: 4 kB / 1.391 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000538/1.327, allocations: 135.8 kB / 1.391 GB, free: 4.504 MB / 0.8855 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.001293/1.328, allocations: 0.973 MB / 1.392 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005166/1.329, allocations: 237.2 kB / 1.392 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.329, allocations: 4 kB / 1.392 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/1.329, allocations: 75.89 kB / 1.392 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/1.33, allocations: 200.6 kB / 1.393 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4033/1.733, allocations: 3.635 MB / 1.396 GB, free: 293.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/1.734, allocations: 0.8027 MB / 1.397 GB, free: 293.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003581/1.734, allocations: 63.39 kB / 1.397 GB, free: 293.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/1.734, allocations: 114.2 kB / 1.397 GB, free: 293.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.21e-07/1.734, allocations: 0 / 1.397 GB, free: 293.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/1.761, allocations: 10.63 MB / 1.408 GB, free: 293 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.761, allocations: 197 kB / 1.408 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/4.03, allocations: 0 / 1.408 GB, free: 292.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)