Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.6 MB / 307.5 MB, free: 5.246 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.001138/0.001138, allocations: 181 kB / 377.1 MB, free: 1.531 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.595/1.595, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0008651/0.0008651, allocations: 91.97 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003712, allocations: 11.98 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.728/2.025, allocations: 396.1 MB / 1.375 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/2.025, allocations: 91.22 kB / 1.375 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.2267/2.252, allocations: 104 MB / 1.477 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.415e-06/2.252, allocations: 0 / 1.477 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.302e-05/2.252, allocations: 8.5 kB / 1.477 GB, free: 251.2 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.001331/2.253, allocations: 0.7211 MB / 1.478 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/2.253, allocations: 18.27 kB / 1.478 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.941e-05/2.253, allocations: 65.12 kB / 1.478 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/2.253, allocations: 43.25 kB / 1.478 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/2.268, allocations: 6.719 MB / 1.484 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/2.268, allocations: 19.72 kB / 1.484 GB, free: 246.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/2.268, allocations: 34.27 kB / 1.484 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/2.269, allocations: 308.1 kB / 1.485 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/2.269, allocations: 8.953 kB / 1.485 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/2.269, allocations: 11.25 kB / 1.485 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/2.269, allocations: 10.84 kB / 1.485 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/2.269, allocations: 201.7 kB / 1.485 GB, free: 246 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/2.271, allocations: 1.49 MB / 1.486 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/2.272, allocations: 163.3 kB / 1.486 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/2.272, allocations: 92.14 kB / 1.487 GB, free: 244.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/2.272, allocations: 133.3 kB / 1.487 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/2.272, allocations: 0 / 1.487 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0006642/2.273, allocations: 250.7 kB / 1.487 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/2.273, allocations: 53.66 kB / 1.487 GB, free: 244.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/2.273, allocations: 311.5 kB / 1.487 GB, free: 244 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/2.273, allocations: 31.67 kB / 1.487 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/2.273, allocations: 216.1 kB / 1.488 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/2.273, allocations: 55 kB / 1.488 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/2.273, allocations: 5.188 kB / 1.488 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/2.274, allocations: 345.9 kB / 1.488 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/2.274, allocations: 77.08 kB / 1.488 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/2.274, allocations: 147.3 kB / 1.488 GB, free: 243.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/2.274, allocations: 122.8 kB / 1.488 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/2.274, allocations: 1.219 kB / 1.488 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005707/2.275, allocations: 314.8 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/2.275, allocations: 39.47 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/2.275, allocations: 2.906 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/2.275, allocations: 3.844 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/2.275, allocations: 61.39 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/2.275, allocations: 8.312 kB / 1.489 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/2.275, allocations: 44.95 kB / 1.489 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/2.276, allocations: 12.31 kB / 1.489 GB, free: 242.8 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.0001911/2.276, allocations: 155 kB / 1.489 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/2.276, allocations: 35.08 kB / 1.489 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005193/2.276, allocations: 212.6 kB / 1.489 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/2.276, allocations: 1.375 kB / 1.489 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/2.276, allocations: 5.391 kB / 1.489 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005233/2.277, allocations: 0.4897 MB / 1.49 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/2.277, allocations: 349.1 kB / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/2.277, allocations: 0 / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/2.278, allocations: 34.44 kB / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/2.278, allocations: 1.375 kB / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/2.278, allocations: 1.406 kB / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/2.278, allocations: 0 / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/2.278, allocations: 5.031 kB / 1.49 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/2.278, allocations: 312.4 kB / 1.49 GB, free: 241.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/2.279, allocations: 125.8 kB / 1.49 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/2.279, allocations: 5.469 kB / 1.49 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/2.279, allocations: 23.28 kB / 1.49 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/2.279, allocations: 19.48 kB / 1.49 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/2.279, allocations: 14.05 kB / 1.49 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003164/2.279, allocations: 247.6 kB / 1.491 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.279, allocations: 4 kB / 1.491 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007134/2.28, allocations: 141.2 kB / 1.491 GB, free: 241.2 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.001252/2.281, allocations: 0.9698 MB / 1.492 GB, free: 240.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005394/2.282, allocations: 240.7 kB / 1.492 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/2.282, allocations: 1.25 kB / 1.492 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/2.282, allocations: 75.28 kB / 1.492 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/2.283, allocations: 205.7 kB / 1.492 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/2.287, allocations: 3.643 MB / 1.496 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/2.288, allocations: 0.7958 MB / 1.497 GB, free: 236.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004286/2.288, allocations: 60.48 kB / 1.497 GB, free: 236.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/2.288, allocations: 112.6 kB / 1.497 GB, free: 236.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.264e-06/2.289, allocations: 0 / 1.497 GB, free: 236.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/2.314, allocations: 10.68 MB / 1.507 GB, free: 231 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/2.314, allocations: 176.7 kB / 1.507 GB, free: 230.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/4.937, allocations: 3.938 kB / 1.507 GB, free: 230.8 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)