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.001194/0.001195, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4716/0.4716, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009199/0.0009201, allocations: 99.5 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.552e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3965, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7179/1.114, allocations: 359.2 MB / 0.9111 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/1.115, allocations: 83.02 kB / 0.9112 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.5624/1.677, allocations: 106.7 MB / 1.015 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/1.677, allocations: 0 / 1.015 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.677, allocations: 12 kB / 1.015 GB, free: 170.8 MB / 0.6042 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.001103/1.678, allocations: 0.6693 MB / 1.016 GB, free: 170.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.678, allocations: 15.98 kB / 1.016 GB, free: 170 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.427e-05/1.678, allocations: 58.55 kB / 1.016 GB, free: 170 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/1.679, allocations: 43.53 kB / 1.016 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01254/1.691, allocations: 6.82 MB / 1.023 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/1.691, allocations: 16.56 kB / 1.023 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/1.691, allocations: 28 kB / 1.023 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/1.692, allocations: 286.2 kB / 1.023 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/1.692, allocations: 0 / 1.023 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/1.692, allocations: 12 kB / 1.023 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/1.692, allocations: 12 kB / 1.023 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/1.692, allocations: 162.2 kB / 1.023 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/1.694, allocations: 1.493 MB / 1.025 GB, free: 160.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/1.694, allocations: 130.6 kB / 1.025 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-05/1.694, allocations: 48.84 kB / 1.025 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.695, allocations: 89.11 kB / 1.025 GB, free: 160.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/1.695, allocations: 116.2 kB / 1.025 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/1.695, allocations: 0 / 1.025 GB, free: 160.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003298/1.695, allocations: 150.3 kB / 1.025 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.695, allocations: 59.41 kB / 1.025 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/1.695, allocations: 311.5 kB / 1.026 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/1.695, allocations: 29.7 kB / 1.026 GB, free: 159.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.696, allocations: 215.9 kB / 1.026 GB, free: 159.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/1.696, allocations: 51.2 kB / 1.026 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/1.696, allocations: 8 kB / 1.026 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/1.696, allocations: 342.8 kB / 1.026 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.709e-05/1.696, allocations: 55.98 kB / 1.026 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/1.696, allocations: 137.3 kB / 1.026 GB, free: 159 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/1.696, allocations: 97.62 kB / 1.027 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.696, allocations: 0 / 1.027 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003787/1.696, allocations: 285.4 kB / 1.027 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/1.696, allocations: 37.7 kB / 1.027 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.696, allocations: 0 / 1.027 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.697, allocations: 4 kB / 1.027 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/1.697, allocations: 59.91 kB / 1.027 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.697, allocations: 4 kB / 1.027 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/1.697, allocations: 43.84 kB / 1.027 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.697, allocations: 8 kB / 1.027 GB, free: 158.5 MB / 0.6042 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 7.155e-05/1.697, allocations: 128.8 kB / 1.027 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/1.697, allocations: 35.58 kB / 1.027 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/1.698, allocations: 161.2 kB / 1.027 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.698, allocations: 4 kB / 1.027 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.698, allocations: 0 / 1.027 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002333/1.698, allocations: 456.7 kB / 1.028 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/1.698, allocations: 357.4 kB / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.698, allocations: 0 / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/1.698, allocations: 39.91 kB / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.698, allocations: 3.953 kB / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/1.698, allocations: 4 kB / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.698, allocations: 0 / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.698, allocations: 0 / 1.028 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/1.699, allocations: 243.8 kB / 1.028 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.699, allocations: 132.7 kB / 1.028 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/1.699, allocations: 7.953 kB / 1.028 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.699, allocations: 19.98 kB / 1.028 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/1.699, allocations: 20.06 kB / 1.028 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/1.699, allocations: 11.98 kB / 1.028 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002073/1.699, allocations: 246.2 kB / 1.029 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.263e-06/1.699, allocations: 7.938 kB / 1.029 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004598/1.7, allocations: 136 kB / 1.029 GB, free: 156.3 MB / 0.6042 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.0007564/1.701, allocations: 0.9131 MB / 1.03 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.701, allocations: 199.8 kB / 1.03 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.701, allocations: 0 / 1.03 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/1.701, allocations: 62.72 kB / 1.03 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/1.702, allocations: 196.8 kB / 1.03 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.703, allocations: 0.6449 MB / 1.031 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/1.703, allocations: 0.7962 MB / 1.032 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002741/1.704, allocations: 63.23 kB / 1.032 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/1.704, allocations: 119.3 kB / 1.032 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/1.704, allocations: 0 / 1.032 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/1.729, allocations: 10.8 MB / 1.042 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/1.729, allocations: 140 kB / 1.042 GB, free: 142.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/4.032, allocations: 0 / 1.042 GB, free: 142.4 MB / 0.6042 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)