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.76/1.76, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001216/0.001216, allocations: 184.8 kB / 366.7 MB, free: 1.652 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.819/1.819, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009716/0.0009716, allocations: 94.27 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.34e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7978, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.992, allocations: 395.4 MB / 1.359 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/1.992, allocations: 90.62 kB / 1.36 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.1965/2.189, allocations: 103.2 MB / 1.46 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.654e-06/2.189, allocations: 0 / 1.46 GB, free: 71.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.672e-05/2.189, allocations: 8 kB / 1.46 GB, free: 71.79 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.0009252/2.19, allocations: 0.661 MB / 1.461 GB, free: 71.07 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.19, allocations: 8.031 kB / 1.461 GB, free: 71.06 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/2.19, allocations: 51.42 kB / 1.461 GB, free: 71.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/2.203, allocations: 6.631 MB / 1.467 GB, free: 64.29 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/2.203, allocations: 12 kB / 1.468 GB, free: 64.28 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/2.203, allocations: 19.98 kB / 1.468 GB, free: 64.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003188/2.203, allocations: 141 kB / 1.468 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/2.203, allocations: 249.2 kB / 1.468 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/2.203, allocations: 4 kB / 1.468 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/2.203, allocations: 0 / 1.468 GB, free: 63.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/2.203, allocations: 8 kB / 1.468 GB, free: 63.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/2.205, allocations: 1.438 MB / 1.469 GB, free: 62.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/2.205, allocations: 114.7 kB / 1.469 GB, free: 62.17 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/2.205, allocations: 48.89 kB / 1.469 GB, free: 62.12 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/2.205, allocations: 89.11 kB / 1.47 GB, free: 62.01 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/2.206, allocations: 101.6 kB / 1.47 GB, free: 61.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/2.206, allocations: 3.938 kB / 1.47 GB, free: 61.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0003157/2.206, allocations: 149.2 kB / 1.47 GB, free: 61.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/2.206, allocations: 63.3 kB / 1.47 GB, free: 61.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/2.206, allocations: 269.2 kB / 1.47 GB, free: 61.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/2.206, allocations: 25.7 kB / 1.47 GB, free: 61.37 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/2.206, allocations: 219.8 kB / 1.47 GB, free: 61.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/2.206, allocations: 51.3 kB / 1.47 GB, free: 61.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/2.206, allocations: 0 / 1.47 GB, free: 61.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/2.206, allocations: 342.8 kB / 1.471 GB, free: 60.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/2.207, allocations: 48 kB / 1.471 GB, free: 60.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/2.207, allocations: 121.4 kB / 1.471 GB, free: 60.56 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/2.207, allocations: 71.91 kB / 1.471 GB, free: 60.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/2.207, allocations: 4 kB / 1.471 GB, free: 60.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003564/2.207, allocations: 235.1 kB / 1.471 GB, free: 60.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/2.207, allocations: 30.95 kB / 1.471 GB, free: 60.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.207, allocations: 4 kB / 1.471 GB, free: 60.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/2.207, allocations: 7.984 kB / 1.471 GB, free: 60.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/2.207, allocations: 64.2 kB / 1.471 GB, free: 60.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/2.208, allocations: 4 kB / 1.471 GB, free: 60.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/2.208, allocations: 35.69 kB / 1.471 GB, free: 60.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/2.208, allocations: 16 kB / 1.471 GB, free: 60.09 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.792e-05/2.208, allocations: 112.9 kB / 1.471 GB, free: 59.97 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001932/2.208, allocations: 145.2 kB / 1.472 GB, free: 59.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/2.208, allocations: 31.72 kB / 1.472 GB, free: 59.79 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/2.208, allocations: 153.7 kB / 1.472 GB, free: 59.63 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/2.208, allocations: 3.953 kB / 1.472 GB, free: 59.63 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/2.208, allocations: 0 / 1.472 GB, free: 59.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002205/2.209, allocations: 452.6 kB / 1.472 GB, free: 59.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/2.209, allocations: 302 kB / 1.472 GB, free: 58.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/2.209, allocations: 0 / 1.472 GB, free: 58.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/2.209, allocations: 39.91 kB / 1.473 GB, free: 58.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/2.209, allocations: 4 kB / 1.473 GB, free: 58.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/2.209, allocations: 4 kB / 1.473 GB, free: 58.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/2.209, allocations: 0 / 1.473 GB, free: 58.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.209, allocations: 8 kB / 1.473 GB, free: 58.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/2.21, allocations: 226.8 kB / 1.473 GB, free: 58.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/2.21, allocations: 128.7 kB / 1.473 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/2.21, allocations: 3.938 kB / 1.473 GB, free: 58.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/2.21, allocations: 27.92 kB / 1.473 GB, free: 58.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/2.21, allocations: 15.97 kB / 1.473 GB, free: 58.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/2.21, allocations: 8 kB / 1.473 GB, free: 58.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001658/2.21, allocations: 216.5 kB / 1.473 GB, free: 58.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/2.21, allocations: 0 / 1.473 GB, free: 58.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004498/2.211, allocations: 139.9 kB / 1.473 GB, free: 57.93 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.0007075/2.211, allocations: 0.8913 MB / 1.474 GB, free: 57.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002457/2.212, allocations: 183.2 kB / 1.474 GB, free: 56.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.212, allocations: 3.938 kB / 1.474 GB, free: 56.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/2.212, allocations: 48 kB / 1.474 GB, free: 56.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/2.213, allocations: 183.2 kB / 1.475 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/2.214, allocations: 0.6098 MB / 1.475 GB, free: 55.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/2.214, allocations: 0.8069 MB / 1.476 GB, free: 55.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000235/2.214, allocations: 65.53 kB / 1.476 GB, free: 55.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/2.214, allocations: 111.4 kB / 1.476 GB, free: 54.95 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/2.214, allocations: 0 / 1.476 GB, free: 54.95 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/2.243, allocations: 8.971 MB / 1.485 GB, free: 46.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.243, allocations: 135.5 kB / 1.485 GB, free: 45.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/4.598, allocations: 0 / 1.485 GB, free: 45.9 MB / 0.8542 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)