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.655/1.655, allocations: 249.3 MB / 261.8 MB, free: 5.969 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.001028/0.001028, allocations: 180.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.001093/0.001093, allocations: 86.42 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.95e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2732, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/2.088, allocations: 387.4 MB / 1.27 GB, free: 261.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/2.088, allocations: 88.11 kB / 1.27 GB, free: 261.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2177/2.306, allocations: 100.9 MB / 1.369 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.565e-06/2.306, allocations: 0 / 1.369 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.54e-05/2.306, allocations: 15.78 kB / 1.369 GB, free: 226.5 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.0009553/2.307, allocations: 0.662 MB / 1.37 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/2.307, allocations: 7.812 kB / 1.37 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/2.307, allocations: 58.34 kB / 1.37 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/2.307, allocations: 46.92 kB / 1.37 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/2.319, allocations: 6.487 MB / 1.376 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/2.32, allocations: 19.81 kB / 1.376 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/2.32, allocations: 31.06 kB / 1.376 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005522/2.32, allocations: 280.3 kB / 1.376 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/2.32, allocations: 3.188 kB / 1.376 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/2.32, allocations: 15.22 kB / 1.376 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/2.32, allocations: 6.375 kB / 1.376 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/2.321, allocations: 157.5 kB / 1.376 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/2.323, allocations: 1.487 MB / 1.378 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/2.323, allocations: 131.5 kB / 1.378 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/2.323, allocations: 55.89 kB / 1.378 GB, free: 220 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/2.323, allocations: 84.88 kB / 1.378 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/2.323, allocations: 118.7 kB / 1.378 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 4.087e-06/2.323, allocations: 3.875 kB / 1.378 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.000347/2.324, allocations: 147.2 kB / 1.378 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/2.324, allocations: 63.14 kB / 1.378 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/2.324, allocations: 305 kB / 1.379 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/2.324, allocations: 29.58 kB / 1.379 GB, free: 219.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/2.324, allocations: 214.9 kB / 1.379 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/2.324, allocations: 55.16 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/2.324, allocations: 4 kB / 1.379 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/2.324, allocations: 342.2 kB / 1.379 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.442e-05/2.324, allocations: 57 kB / 1.379 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/2.325, allocations: 138.7 kB / 1.38 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/2.325, allocations: 96.09 kB / 1.38 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/2.325, allocations: 3.969 kB / 1.38 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003669/2.325, allocations: 279.4 kB / 1.38 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/2.325, allocations: 37.31 kB / 1.38 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/2.325, allocations: 3.953 kB / 1.38 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/2.325, allocations: 7.75 kB / 1.38 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/2.325, allocations: 53.97 kB / 1.38 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/2.325, allocations: 3.906 kB / 1.38 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/2.326, allocations: 43.14 kB / 1.38 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/2.326, allocations: 11.47 kB / 1.38 GB, free: 218.4 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 8.953e-05/2.326, allocations: 124.5 kB / 1.38 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/2.326, allocations: 34.78 kB / 1.38 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/2.326, allocations: 155.1 kB / 1.38 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/2.326, allocations: 5.984 kB / 1.38 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/2.326, allocations: 0 / 1.38 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003295/2.327, allocations: 463.7 kB / 1.381 GB, free: 217.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/2.327, allocations: 353.4 kB / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/2.327, allocations: 2.438 kB / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/2.327, allocations: 32.14 kB / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/2.327, allocations: 1.844 kB / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/2.327, allocations: 10 kB / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/2.327, allocations: 0 / 1.381 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.327, allocations: 7.938 kB / 1.381 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/2.328, allocations: 235.7 kB / 1.381 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/2.328, allocations: 136.1 kB / 1.382 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/2.328, allocations: 0 / 1.382 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/2.328, allocations: 23.05 kB / 1.382 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/2.328, allocations: 23.67 kB / 1.382 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/2.328, allocations: 11.55 kB / 1.382 GB, free: 217 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002244/2.328, allocations: 241.8 kB / 1.382 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/2.328, allocations: 0 / 1.382 GB, free: 216.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005223/2.329, allocations: 137.4 kB / 1.382 GB, free: 216.8 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.0007985/2.33, allocations: 0.9039 MB / 1.383 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000297/2.33, allocations: 205.4 kB / 1.383 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.33, allocations: 0 / 1.383 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/2.33, allocations: 55.02 kB / 1.383 GB, free: 216 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/2.331, allocations: 191.6 kB / 1.383 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/2.332, allocations: 0.6352 MB / 1.384 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/2.333, allocations: 0.8007 MB / 1.385 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002453/2.333, allocations: 61.64 kB / 1.385 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/2.333, allocations: 114 kB / 1.385 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.133e-06/2.333, allocations: 0 / 1.385 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/2.356, allocations: 10.7 MB / 1.395 GB, free: 205 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/2.356, allocations: 170 kB / 1.396 GB, free: 204.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/4.817, allocations: 0 / 1.396 GB, free: 204.8 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)