Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_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.009507/0.009508, allocations: 170 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7939/0.7939, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.754/1.754, allocations: 223.2 MB / 406.8 MB, free: 3.258 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 100.5 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.000466, allocations: 8 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6692, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9295/1.599, allocations: 369 MB / 1.01 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.599, allocations: 94.08 kB / 1.01 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7672/2.366, allocations: 106.2 MB / 1.114 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/2.366, allocations: 0 / 1.114 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.311e-05/2.366, allocations: 15.55 kB / 1.114 GB, free: 168.3 MB / 0.6823 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.001398/2.368, allocations: 0.7307 MB / 1.114 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/2.368, allocations: 7.906 kB / 1.114 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.122e-05/2.368, allocations: 64.02 kB / 1.114 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/2.368, allocations: 50.86 kB / 1.115 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/2.382, allocations: 6.872 MB / 1.121 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/2.382, allocations: 19.62 kB / 1.121 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.788e-05/2.382, allocations: 34.97 kB / 1.121 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/2.383, allocations: 297.1 kB / 1.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/2.383, allocations: 3.938 kB / 1.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/2.383, allocations: 13.25 kB / 1.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/2.383, allocations: 15.7 kB / 1.122 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/2.384, allocations: 200.8 kB / 1.122 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/2.385, allocations: 1.493 MB / 1.123 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004488/2.386, allocations: 167.3 kB / 1.123 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/2.386, allocations: 92.89 kB / 1.123 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/2.386, allocations: 135.7 kB / 1.124 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.406e-06/2.386, allocations: 0 / 1.124 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0006662/2.387, allocations: 249.7 kB / 1.124 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/2.387, allocations: 61.56 kB / 1.124 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/2.387, allocations: 317.8 kB / 1.124 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/2.387, allocations: 28.64 kB / 1.124 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/2.388, allocations: 220.4 kB / 1.124 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/2.388, allocations: 51.47 kB / 1.125 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/2.388, allocations: 7.406 kB / 1.125 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001083/2.388, allocations: 347.2 kB / 1.125 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/2.388, allocations: 71.33 kB / 1.125 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/2.388, allocations: 153.6 kB / 1.125 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/2.388, allocations: 117.9 kB / 1.125 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/2.388, allocations: 3.906 kB / 1.125 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005328/2.389, allocations: 318.8 kB / 1.125 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/2.389, allocations: 37.5 kB / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/2.389, allocations: 0 / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/2.389, allocations: 7.859 kB / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/2.389, allocations: 59.03 kB / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/2.389, allocations: 8 kB / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/2.39, allocations: 43.17 kB / 1.126 GB, free: 164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/2.39, allocations: 15.44 kB / 1.126 GB, free: 164 MB / 0.6823 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.0001519/2.39, allocations: 156.2 kB / 1.126 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/2.39, allocations: 31.25 kB / 1.126 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/2.39, allocations: 213.3 kB / 1.126 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/2.39, allocations: 0 / 1.126 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/2.39, allocations: 3.953 kB / 1.126 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004787/2.391, allocations: 499.4 kB / 1.127 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/2.391, allocations: 355.4 kB / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/2.391, allocations: 0 / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/2.391, allocations: 35.41 kB / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/2.391, allocations: 0 / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/2.391, allocations: 4 kB / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/2.391, allocations: 0 / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/2.391, allocations: 7.875 kB / 1.127 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/2.392, allocations: 312 kB / 1.127 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/2.392, allocations: 124.5 kB / 1.127 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/2.392, allocations: 3.906 kB / 1.127 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/2.392, allocations: 23.66 kB / 1.127 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/2.393, allocations: 15.8 kB / 1.127 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/2.393, allocations: 15.83 kB / 1.127 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002168/2.393, allocations: 256.6 kB / 1.128 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.393, allocations: 4 kB / 1.128 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005281/2.393, allocations: 141.5 kB / 1.128 GB, free: 162.4 MB / 0.6823 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.00115/2.394, allocations: 0.9671 MB / 1.129 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004906/2.395, allocations: 236.5 kB / 1.129 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/2.395, allocations: 3.906 kB / 1.129 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/2.395, allocations: 72.22 kB / 1.129 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/2.396, allocations: 200.3 kB / 1.129 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/2.4, allocations: 3.675 MB / 1.133 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/2.4, allocations: 0.8024 MB / 1.134 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000307/2.4, allocations: 70.39 kB / 1.134 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/2.4, allocations: 118.9 kB / 1.134 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of SimCode: time 4.8e-07/2.4, allocations: 0 / 1.134 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/2.425, allocations: 10.76 MB / 1.144 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/2.425, allocations: 163.2 kB / 1.144 GB, free: 152 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/4.88, allocations: 3.938 kB / 1.144 GB, free: 152 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)