Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5037/0.5037, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 93.75 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.617e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.216, allocations: 358.5 MB / 0.9037 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.216, allocations: 84.94 kB / 0.9038 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.2008/1.417, allocations: 106.2 MB / 1.008 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.934e-06/1.417, allocations: 0 / 1.008 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.43e-05/1.417, allocations: 15.98 kB / 1.008 GB, free: 20.86 MB / 0.5886 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.001064/1.418, allocations: 0.6577 MB / 1.008 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.418, allocations: 8.031 kB / 1.008 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/1.419, allocations: 47.52 kB / 1.008 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.431, allocations: 6.79 MB / 1.015 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.431, allocations: 11.94 kB / 1.015 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/1.431, allocations: 16 kB / 1.015 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003037/1.431, allocations: 141 kB / 1.015 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/1.432, allocations: 249.1 kB / 1.015 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.432, allocations: 4 kB / 1.015 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/1.432, allocations: 4 kB / 1.015 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/1.432, allocations: 4 kB / 1.015 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.433, allocations: 1.43 MB / 1.017 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/1.434, allocations: 122.7 kB / 1.017 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/1.434, allocations: 48.86 kB / 1.017 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/1.434, allocations: 93.03 kB / 1.017 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/1.434, allocations: 103.3 kB / 1.017 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/1.434, allocations: 4.219 kB / 1.017 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0003118/1.434, allocations: 143.3 kB / 1.017 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/1.434, allocations: 63.31 kB / 1.017 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/1.435, allocations: 277.2 kB / 1.018 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/1.435, allocations: 29.7 kB / 1.018 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.608e-05/1.435, allocations: 219.8 kB / 1.018 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.435, allocations: 51.2 kB / 1.018 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/1.435, allocations: 0 / 1.018 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/1.435, allocations: 342.8 kB / 1.018 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/1.435, allocations: 48 kB / 1.018 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/1.435, allocations: 121.4 kB / 1.018 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/1.435, allocations: 74.3 kB / 1.018 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.435, allocations: 7.953 kB / 1.018 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003612/1.436, allocations: 221.2 kB / 1.019 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.436, allocations: 37.66 kB / 1.019 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.436, allocations: 4 kB / 1.019 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.436, allocations: 4.312 kB / 1.019 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.436, allocations: 63.91 kB / 1.019 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.436, allocations: 7.984 kB / 1.019 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/1.436, allocations: 31.73 kB / 1.019 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/1.436, allocations: 12 kB / 1.019 GB, free: 9 MB / 0.5886 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 6.881e-05/1.436, allocations: 112.9 kB / 1.019 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000201/1.437, allocations: 149.2 kB / 1.019 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/1.437, allocations: 31.58 kB / 1.019 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.437, allocations: 156.6 kB / 1.019 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.437, allocations: 4 kB / 1.019 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.437, allocations: 0 / 1.019 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001986/1.437, allocations: 441.8 kB / 1.02 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/1.437, allocations: 310 kB / 1.02 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.437, allocations: 3.938 kB / 1.02 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.438, allocations: 39.91 kB / 1.02 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.438, allocations: 7.953 kB / 1.02 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/1.438, allocations: 0 / 1.02 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.438, allocations: 0 / 1.02 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.438, allocations: 0 / 1.02 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/1.438, allocations: 228.5 kB / 1.02 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.438, allocations: 128.8 kB / 1.02 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/1.438, allocations: 3.953 kB / 1.02 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/1.438, allocations: 23.89 kB / 1.02 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.438, allocations: 19.91 kB / 1.02 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/1.438, allocations: 12 kB / 1.02 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001587/1.439, allocations: 216.6 kB / 1.021 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/1.439, allocations: 0 / 1.021 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004409/1.439, allocations: 136 kB / 1.021 GB, free: 6.84 MB / 0.5886 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.0006893/1.44, allocations: 0.8934 MB / 1.022 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002292/1.44, allocations: 191.2 kB / 1.022 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.44, allocations: 0 / 1.022 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/1.44, allocations: 51.94 kB / 1.022 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/1.441, allocations: 174 kB / 1.022 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.442, allocations: 0.6263 MB / 1.023 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/1.442, allocations: 0.7991 MB / 1.023 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000283/1.443, allocations: 63.23 kB / 1.023 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/1.443, allocations: 119.3 kB / 1.024 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of SimCode: time 6.62e-07/1.443, allocations: 0 / 1.024 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3355/1.778, allocations: 9.022 MB / 1.032 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.779, allocations: 127.4 kB / 1.032 GB, free: 165.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.882, allocations: 3.281 kB / 1.032 GB, free: 165.6 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)