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.001344/0.001344, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5351/0.5351, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.668/1.668, allocations: 223.2 MB / 354.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 100.2 kB / 427.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 8 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 72.3 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.204, allocations: 359.2 MB / 0.9197 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/1.205, allocations: 89.61 kB / 0.9198 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.2115/1.416, allocations: 107.1 MB / 1.024 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.395e-06/1.416, allocations: 0 / 1.024 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.789e-05/1.416, allocations: 12 kB / 1.024 GB, free: 2.535 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.001662/1.418, allocations: 0.7241 MB / 1.025 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/1.418, allocations: 8.031 kB / 1.025 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/1.418, allocations: 66.53 kB / 1.025 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/1.419, allocations: 47.53 kB / 1.025 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/1.435, allocations: 6.869 MB / 1.032 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/1.435, allocations: 16.56 kB / 1.032 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.435, allocations: 31.94 kB / 1.032 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/1.436, allocations: 310.1 kB / 1.032 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.436, allocations: 8 kB / 1.032 GB, free: 10.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/1.436, allocations: 8 kB / 1.032 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/1.436, allocations: 8 kB / 1.032 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/1.436, allocations: 202 kB / 1.032 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/1.439, allocations: 1.497 MB / 1.034 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/1.439, allocations: 166.6 kB / 1.034 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/1.439, allocations: 85.11 kB / 1.034 GB, free: 8.164 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/1.44, allocations: 128 kB / 1.034 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/1.44, allocations: 0 / 1.034 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0007572/1.44, allocations: 255.5 kB / 1.035 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.44, allocations: 55.41 kB / 1.035 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/1.441, allocations: 316.8 kB / 1.035 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/1.441, allocations: 29.7 kB / 1.035 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/1.441, allocations: 211.8 kB / 1.035 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/1.441, allocations: 59.28 kB / 1.035 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/1.441, allocations: 8 kB / 1.035 GB, free: 7.086 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.441, allocations: 342.7 kB / 1.036 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/1.442, allocations: 76.33 kB / 1.036 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/1.442, allocations: 149.3 kB / 1.036 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/1.442, allocations: 121.6 kB / 1.036 GB, free: 6.363 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.442, allocations: 4 kB / 1.036 GB, free: 6.359 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007056/1.443, allocations: 321 kB / 1.036 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/1.443, allocations: 37.7 kB / 1.036 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.443, allocations: 0 / 1.036 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.443, allocations: 7.938 kB / 1.036 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/1.443, allocations: 64.22 kB / 1.036 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.443, allocations: 4 kB / 1.036 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/1.444, allocations: 43.67 kB / 1.036 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1.444, allocations: 15.98 kB / 1.036 GB, free: 5.859 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 () * 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.0002088/1.444, allocations: 153.8 kB / 1.036 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/1.444, allocations: 39.58 kB / 1.037 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/1.444, allocations: 212.3 kB / 1.037 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.445, allocations: 0 / 1.037 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.445, allocations: 0 / 1.037 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000523/1.445, allocations: 0.4897 MB / 1.037 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/1.446, allocations: 353.4 kB / 1.038 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.446, allocations: 0 / 1.038 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/1.446, allocations: 35.91 kB / 1.038 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.446, allocations: 7.953 kB / 1.038 GB, free: 4.434 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/1.446, allocations: 8 kB / 1.038 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.446, allocations: 0 / 1.038 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.446, allocations: 4 kB / 1.038 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/1.447, allocations: 298.1 kB / 1.038 GB, free: 4.113 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/1.447, allocations: 128.7 kB / 1.038 GB, free: 3.969 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/1.447, allocations: 11.94 kB / 1.038 GB, free: 3.957 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/1.447, allocations: 15.98 kB / 1.038 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/1.447, allocations: 19.97 kB / 1.038 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/1.447, allocations: 8 kB / 1.038 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002913/1.448, allocations: 251.2 kB / 1.038 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/1.448, allocations: 0 / 1.038 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005798/1.448, allocations: 140 kB / 1.038 GB, free: 3.535 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) * 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.001327/1.449, allocations: 0.9696 MB / 1.039 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005422/1.45, allocations: 235.4 kB / 1.04 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.45, allocations: 0 / 1.04 GB, free: 2.289 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/1.45, allocations: 79.89 kB / 1.04 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009824/1.451, allocations: 192.2 kB / 1.04 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3442/1.795, allocations: 3.661 MB / 1.043 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/1.796, allocations: 0.799 MB / 1.044 GB, free: 175.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004251/1.796, allocations: 69.52 kB / 1.044 GB, free: 175 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/1.797, allocations: 116 kB / 1.044 GB, free: 175 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/1.797, allocations: 0 / 1.044 GB, free: 175 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/1.834, allocations: 10.76 MB / 1.055 GB, free: 174.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.834, allocations: 164.5 kB / 1.055 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.425/4.259, allocations: 3.188 kB / 1.055 GB, free: 174.6 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)