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.728/1.728, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001162/0.001163, allocations: 176.9 kB / 361.4 MB, free: 6.812 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.547/1.547, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008695/0.0008693, allocations: 93.52 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.772e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.7363, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.87, allocations: 394.4 MB / 1.35 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.87, allocations: 81.39 kB / 1.35 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.2058/2.076, allocations: 103.2 MB / 1.45 GB, free: 83.37 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.384e-06/2.076, allocations: 4 kB / 1.45 GB, free: 83.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.564e-05/2.076, allocations: 8 kB / 1.45 GB, free: 83.36 MB / 0.8542 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.001182/2.077, allocations: 0.6532 MB / 1.451 GB, free: 82.65 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/2.077, allocations: 8.031 kB / 1.451 GB, free: 82.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/2.078, allocations: 48.47 kB / 1.451 GB, free: 82.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/2.091, allocations: 6.638 MB / 1.458 GB, free: 75.86 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/2.091, allocations: 8 kB / 1.458 GB, free: 75.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/2.091, allocations: 16 kB / 1.458 GB, free: 75.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003768/2.091, allocations: 141.1 kB / 1.458 GB, free: 75.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/2.092, allocations: 253.1 kB / 1.458 GB, free: 75.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/2.092, allocations: 0 / 1.458 GB, free: 75.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/2.092, allocations: 0 / 1.458 GB, free: 75.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/2.092, allocations: 11.98 kB / 1.458 GB, free: 75.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/2.094, allocations: 1.438 MB / 1.459 GB, free: 73.87 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/2.094, allocations: 118.6 kB / 1.46 GB, free: 73.74 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.76e-05/2.094, allocations: 56.64 kB / 1.46 GB, free: 73.69 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/2.094, allocations: 85.11 kB / 1.46 GB, free: 73.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/2.094, allocations: 105.6 kB / 1.46 GB, free: 73.47 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.615e-06/2.094, allocations: 7.938 kB / 1.46 GB, free: 73.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0003482/2.095, allocations: 141.2 kB / 1.46 GB, free: 73.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/2.095, allocations: 59.36 kB / 1.46 GB, free: 73.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/2.095, allocations: 269.2 kB / 1.46 GB, free: 72.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/2.095, allocations: 29.7 kB / 1.46 GB, free: 72.95 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/2.095, allocations: 215.8 kB / 1.461 GB, free: 72.73 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/2.095, allocations: 47.3 kB / 1.461 GB, free: 72.69 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/2.095, allocations: 0 / 1.461 GB, free: 72.69 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/2.095, allocations: 346.8 kB / 1.461 GB, free: 72.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/2.095, allocations: 51.94 kB / 1.461 GB, free: 72.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/2.095, allocations: 117.9 kB / 1.461 GB, free: 72.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/2.096, allocations: 76.98 kB / 1.461 GB, free: 72.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/2.096, allocations: 0 / 1.461 GB, free: 72.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003894/2.096, allocations: 238.7 kB / 1.461 GB, free: 71.83 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/2.096, allocations: 30.64 kB / 1.461 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/2.096, allocations: 6.5 kB / 1.461 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/2.096, allocations: 4 kB / 1.461 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/2.096, allocations: 55.91 kB / 1.461 GB, free: 71.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/2.096, allocations: 11.92 kB / 1.461 GB, free: 71.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/2.097, allocations: 43.84 kB / 1.461 GB, free: 71.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/2.097, allocations: 12 kB / 1.462 GB, free: 71.66 MB / 0.8542 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.142e-05/2.097, allocations: 112.9 kB / 1.462 GB, free: 71.55 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002513/2.097, allocations: 141.3 kB / 1.462 GB, free: 71.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/2.097, allocations: 27.72 kB / 1.462 GB, free: 71.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/2.097, allocations: 154.7 kB / 1.462 GB, free: 71.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/2.097, allocations: 11.83 kB / 1.462 GB, free: 71.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.097, allocations: 4 kB / 1.462 GB, free: 71.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002128/2.098, allocations: 451.7 kB / 1.462 GB, free: 70.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/2.098, allocations: 302 kB / 1.463 GB, free: 70.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/2.098, allocations: 0 / 1.463 GB, free: 70.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/2.098, allocations: 39.97 kB / 1.463 GB, free: 70.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/2.098, allocations: 0 / 1.463 GB, free: 70.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/2.098, allocations: 3.984 kB / 1.463 GB, free: 70.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/2.098, allocations: 0 / 1.463 GB, free: 70.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.098, allocations: 4 kB / 1.463 GB, free: 70.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/2.099, allocations: 236.6 kB / 1.463 GB, free: 70.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/2.099, allocations: 124.8 kB / 1.463 GB, free: 69.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/2.099, allocations: 7.984 kB / 1.463 GB, free: 69.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/2.099, allocations: 19.92 kB / 1.463 GB, free: 69.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/2.099, allocations: 15.97 kB / 1.463 GB, free: 69.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/2.099, allocations: 8 kB / 1.463 GB, free: 69.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001839/2.099, allocations: 216.6 kB / 1.463 GB, free: 69.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.8e-07/2.099, allocations: 0 / 1.463 GB, free: 69.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005033/2.1, allocations: 135.9 kB / 1.463 GB, free: 69.52 MB / 0.8542 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.0008087/2.101, allocations: 0.896 MB / 1.464 GB, free: 68.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002578/2.101, allocations: 188.9 kB / 1.464 GB, free: 68.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/2.101, allocations: 4.062 kB / 1.464 GB, free: 68.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/2.101, allocations: 51.94 kB / 1.465 GB, free: 68.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/2.102, allocations: 182.1 kB / 1.465 GB, free: 68.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/2.103, allocations: 0.6045 MB / 1.465 GB, free: 67.54 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/2.103, allocations: 0.7991 MB / 1.466 GB, free: 66.71 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002907/2.104, allocations: 67.14 kB / 1.466 GB, free: 66.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/2.104, allocations: 115.4 kB / 1.466 GB, free: 66.53 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/2.104, allocations: 0 / 1.466 GB, free: 66.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/2.133, allocations: 8.975 MB / 1.475 GB, free: 57.68 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/2.133, allocations: 144 kB / 1.475 GB, free: 57.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/4.392, allocations: 3.938 kB / 1.475 GB, free: 57.48 MB / 0.8542 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)