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.41/1.41, allocations: 249.5 MB / 257 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 168.7 kB / 316.3 MB, free: 3.309 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.554/1.554, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.000829/0.0008292, allocations: 86.53 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.067e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2227, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.49/1.712, allocations: 387.7 MB / 1.264 GB, free: 326.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/1.713, allocations: 85.28 kB / 1.264 GB, free: 326.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2098/1.923, allocations: 100.4 MB / 1.362 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.525e-06/1.923, allocations: 4 kB / 1.362 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.885e-05/1.923, allocations: 15.94 kB / 1.362 GB, free: 256.2 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.001166/1.924, allocations: 0.6532 MB / 1.363 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.924, allocations: 12.03 kB / 1.363 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/1.924, allocations: 51.42 kB / 1.363 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/1.936, allocations: 6.461 MB / 1.369 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/1.936, allocations: 8 kB / 1.369 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.609e-05/1.936, allocations: 20 kB / 1.369 GB, free: 248.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003292/1.937, allocations: 141.1 kB / 1.369 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/1.937, allocations: 237.2 kB / 1.37 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/1.937, allocations: 7.938 kB / 1.37 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/1.937, allocations: 3.984 kB / 1.37 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/1.937, allocations: 11.95 kB / 1.37 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/1.939, allocations: 1.414 MB / 1.371 GB, free: 246.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/1.939, allocations: 118.7 kB / 1.371 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.098e-05/1.939, allocations: 48.86 kB / 1.371 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/1.939, allocations: 89.09 kB / 1.371 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.939, allocations: 103.3 kB / 1.371 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/1.939, allocations: 0 / 1.371 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0003429/1.94, allocations: 153.2 kB / 1.371 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/1.94, allocations: 55.41 kB / 1.371 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/1.94, allocations: 273.1 kB / 1.372 GB, free: 246 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/1.94, allocations: 25.7 kB / 1.372 GB, free: 246 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.94, allocations: 215.8 kB / 1.372 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/1.94, allocations: 55.28 kB / 1.372 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.94, allocations: 0 / 1.372 GB, free: 245.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/1.94, allocations: 338.8 kB / 1.372 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/1.94, allocations: 52 kB / 1.372 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-05/1.94, allocations: 129.3 kB / 1.373 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/1.941, allocations: 67.97 kB / 1.373 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.941, allocations: 0 / 1.373 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003747/1.941, allocations: 240.2 kB / 1.373 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.941, allocations: 37.7 kB / 1.373 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.941, allocations: 7.922 kB / 1.373 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.941, allocations: 4 kB / 1.373 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/1.941, allocations: 59.91 kB / 1.373 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.941, allocations: 7.891 kB / 1.373 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/1.942, allocations: 39.83 kB / 1.373 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/1.942, allocations: 12 kB / 1.373 GB, free: 244.7 MB / 0.8698 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 6.893e-05/1.942, allocations: 112.9 kB / 1.373 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002001/1.942, allocations: 136.2 kB / 1.373 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/1.942, allocations: 35.62 kB / 1.373 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/1.942, allocations: 152.5 kB / 1.373 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.942, allocations: 0 / 1.373 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.942, allocations: 4 kB / 1.373 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002117/1.943, allocations: 451.7 kB / 1.374 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/1.943, allocations: 305.9 kB / 1.374 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.943, allocations: 0 / 1.374 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.943, allocations: 35.97 kB / 1.374 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.943, allocations: 0 / 1.374 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/1.943, allocations: 4 kB / 1.374 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/1.943, allocations: 0 / 1.374 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.943, allocations: 7.953 kB / 1.374 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/1.943, allocations: 231.5 kB / 1.374 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/1.944, allocations: 132.7 kB / 1.375 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/1.944, allocations: 0 / 1.375 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/1.944, allocations: 19.92 kB / 1.375 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/1.944, allocations: 19.91 kB / 1.375 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/1.944, allocations: 11.95 kB / 1.375 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001681/1.944, allocations: 216.6 kB / 1.375 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/1.944, allocations: 0 / 1.375 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004934/1.945, allocations: 132 kB / 1.375 GB, free: 242.5 MB / 0.8698 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.0008235/1.945, allocations: 0.8882 MB / 1.376 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002687/1.946, allocations: 191.6 kB / 1.376 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.946, allocations: 4.188 kB / 1.376 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/1.946, allocations: 47.94 kB / 1.376 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009451/1.947, allocations: 187.5 kB / 1.376 GB, free: 241.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.948, allocations: 0.6206 MB / 1.377 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/1.948, allocations: 0.7913 MB / 1.378 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002694/1.949, allocations: 59.19 kB / 1.378 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/1.949, allocations: 119.3 kB / 1.378 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/1.949, allocations: 4 kB / 1.378 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/1.976, allocations: 8.918 MB / 1.386 GB, free: 230.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/1.976, allocations: 150.7 kB / 1.387 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/4.037, allocations: 4 kB / 1.387 GB, free: 230.5 MB / 0.8698 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)