Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.512/2.512, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001597/0.001597, allocations: 185.1 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001168/0.001168, allocations: 95.98 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 12.28 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2132, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.495, allocations: 395 MB / 1.364 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/1.495, allocations: 92.62 kB / 1.364 GB, free: 2.637 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.035/2.53, allocations: 104 MB / 1.466 GB, free: 311.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.304e-06/2.53, allocations: 0 / 1.466 GB, free: 311.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.693e-05/2.53, allocations: 19.44 kB / 1.466 GB, free: 311.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.001755/2.532, allocations: 0.7208 MB / 1.466 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/2.532, allocations: 14.48 kB / 1.466 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/2.532, allocations: 58.38 kB / 1.466 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/2.533, allocations: 56.62 kB / 1.466 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02147/2.554, allocations: 6.707 MB / 1.473 GB, free: 307.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/2.554, allocations: 20.16 kB / 1.473 GB, free: 307.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/2.554, allocations: 34.86 kB / 1.473 GB, free: 307.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/2.555, allocations: 304.9 kB / 1.473 GB, free: 307 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/2.555, allocations: 3.719 kB / 1.473 GB, free: 307 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/2.555, allocations: 8 kB / 1.473 GB, free: 307 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/2.555, allocations: 15.36 kB / 1.473 GB, free: 307 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/2.556, allocations: 196.8 kB / 1.474 GB, free: 306.9 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/2.559, allocations: 1.496 MB / 1.475 GB, free: 305.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/2.559, allocations: 169.8 kB / 1.475 GB, free: 305.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/2.559, allocations: 88.94 kB / 1.475 GB, free: 305.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/2.56, allocations: 131.5 kB / 1.475 GB, free: 305.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 3.016e-06/2.56, allocations: 0 / 1.475 GB, free: 305.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.001019/2.561, allocations: 253.2 kB / 1.476 GB, free: 305.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/2.561, allocations: 59.25 kB / 1.476 GB, free: 305.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004583/2.561, allocations: 300.6 kB / 1.476 GB, free: 304.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/2.562, allocations: 37.62 kB / 1.476 GB, free: 304.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/2.562, allocations: 207.3 kB / 1.476 GB, free: 304.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/2.562, allocations: 61.33 kB / 1.476 GB, free: 304.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/2.562, allocations: 4 kB / 1.476 GB, free: 304.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.885e-05/2.562, allocations: 342.3 kB / 1.477 GB, free: 304.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/2.562, allocations: 80.27 kB / 1.477 GB, free: 304.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/2.563, allocations: 151 kB / 1.477 GB, free: 304.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/2.563, allocations: 121.7 kB / 1.477 GB, free: 304 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/2.563, allocations: 0 / 1.477 GB, free: 304 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000968/2.564, allocations: 323.1 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/2.564, allocations: 32.3 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/2.564, allocations: 3.969 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/2.564, allocations: 7.891 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/2.565, allocations: 59.44 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/2.565, allocations: 19.25 kB / 1.477 GB, free: 303.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/2.565, allocations: 45.8 kB / 1.477 GB, free: 303.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/2.565, allocations: 10 kB / 1.477 GB, free: 303.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.0002771/2.565, allocations: 156.4 kB / 1.478 GB, free: 303.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/2.566, allocations: 34.31 kB / 1.478 GB, free: 303.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/2.566, allocations: 208.9 kB / 1.478 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/2.566, allocations: 0 / 1.478 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/2.566, allocations: 2.188 kB / 1.478 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006577/2.567, allocations: 495.8 kB / 1.478 GB, free: 303 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/2.568, allocations: 352.4 kB / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/2.568, allocations: 0 / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/2.568, allocations: 47.47 kB / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/2.568, allocations: 0 / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/2.568, allocations: 0 / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.361e-06/2.568, allocations: 3.938 kB / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.568, allocations: 4 kB / 1.479 GB, free: 302.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/2.569, allocations: 304.2 kB / 1.479 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/2.57, allocations: 130.5 kB / 1.479 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/2.57, allocations: 3.719 kB / 1.479 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/2.57, allocations: 19.36 kB / 1.479 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.271e-05/2.57, allocations: 15.19 kB / 1.479 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/2.57, allocations: 10.84 kB / 1.479 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003898/2.571, allocations: 248.6 kB / 1.479 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/2.571, allocations: 4 kB / 1.479 GB, free: 302.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007101/2.571, allocations: 138.2 kB / 1.48 GB, free: 302.1 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.001624/2.573, allocations: 0.9741 MB / 1.48 GB, free: 301.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007954/2.574, allocations: 245.1 kB / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.574, allocations: 0 / 1.481 GB, free: 301.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/2.574, allocations: 71.83 kB / 1.481 GB, free: 301.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/2.576, allocations: 192.7 kB / 1.481 GB, free: 301 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/2.581, allocations: 3.644 MB / 1.485 GB, free: 298.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/2.582, allocations: 0.795 MB / 1.485 GB, free: 297.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005695/2.582, allocations: 70.14 kB / 1.485 GB, free: 297.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/2.583, allocations: 115.8 kB / 1.485 GB, free: 297.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/2.583, allocations: 0 / 1.485 GB, free: 297.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04306/2.626, allocations: 10.69 MB / 1.496 GB, free: 292 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/2.626, allocations: 180.7 kB / 1.496 GB, free: 291.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/5.413, allocations: 0 / 1.496 GB, free: 291.7 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)