Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_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.01631/0.01631, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.26/1.26, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.593/2.593, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001605/0.001606, allocations: 96.23 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006524, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.797, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.582/2.379, allocations: 369 MB / 1.01 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/2.379, allocations: 94.27 kB / 1.01 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.342/3.722, allocations: 106.2 MB / 1.114 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.508e-06/3.722, allocations: 3.938 kB / 1.114 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001042/3.722, allocations: 8 kB / 1.114 GB, free: 215.1 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.002976/3.725, allocations: 0.7316 MB / 1.114 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001081/3.725, allocations: 12.03 kB / 1.114 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/3.725, allocations: 62.53 kB / 1.114 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/3.726, allocations: 51.47 kB / 1.115 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/3.75, allocations: 6.865 MB / 1.121 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/3.75, allocations: 20.56 kB / 1.121 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/3.75, allocations: 24 kB / 1.121 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/3.751, allocations: 316.5 kB / 1.122 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.02e-05/3.752, allocations: 0 / 1.122 GB, free: 207 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.84e-05/3.752, allocations: 12 kB / 1.122 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/3.752, allocations: 8 kB / 1.122 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009434/3.753, allocations: 210 kB / 1.122 GB, free: 206.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/3.757, allocations: 1.493 MB / 1.123 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/3.757, allocations: 170.6 kB / 1.123 GB, free: 204.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/3.758, allocations: 85.11 kB / 1.123 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/3.758, allocations: 136.7 kB / 1.124 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 3.406e-06/3.758, allocations: 0 / 1.124 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.001244/3.759, allocations: 255.3 kB / 1.124 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/3.76, allocations: 51.41 kB / 1.124 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/3.76, allocations: 320.8 kB / 1.124 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/3.76, allocations: 29.7 kB / 1.124 GB, free: 204 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/3.761, allocations: 211.8 kB / 1.124 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/3.761, allocations: 57.62 kB / 1.125 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/3.761, allocations: 8 kB / 1.125 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002117/3.761, allocations: 338.8 kB / 1.125 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/3.761, allocations: 77.45 kB / 1.125 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/3.762, allocations: 157.3 kB / 1.125 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/3.762, allocations: 119.9 kB / 1.125 GB, free: 203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/3.762, allocations: 4 kB / 1.125 GB, free: 203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001062/3.763, allocations: 322.7 kB / 1.125 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/3.763, allocations: 33.7 kB / 1.126 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/3.764, allocations: 0 / 1.126 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.153e-05/3.764, allocations: 7.953 kB / 1.126 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/3.764, allocations: 63.89 kB / 1.126 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/3.764, allocations: 4 kB / 1.126 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/3.765, allocations: 43.83 kB / 1.126 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/3.765, allocations: 12 kB / 1.126 GB, free: 202.5 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.0003655/3.765, allocations: 157.8 kB / 1.126 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/3.765, allocations: 35.62 kB / 1.126 GB, free: 202.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008553/3.766, allocations: 212.4 kB / 1.126 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/3.766, allocations: 0 / 1.126 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/3.766, allocations: 7.953 kB / 1.126 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007369/3.767, allocations: 495.8 kB / 1.127 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008116/3.768, allocations: 351.9 kB / 1.127 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/3.768, allocations: 0 / 1.127 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/3.768, allocations: 31.92 kB / 1.127 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/3.768, allocations: 4 kB / 1.127 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/3.768, allocations: 7.984 kB / 1.127 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/3.768, allocations: 0 / 1.127 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/3.768, allocations: 3.984 kB / 1.127 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009745/3.769, allocations: 308.4 kB / 1.127 GB, free: 200.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/3.769, allocations: 132.7 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/3.77, allocations: 4 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/3.77, allocations: 19.98 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/3.77, allocations: 11.97 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/3.77, allocations: 19.92 kB / 1.127 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004217/3.771, allocations: 251.1 kB / 1.128 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/3.771, allocations: 0 / 1.128 GB, free: 200.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001004/3.772, allocations: 144 kB / 1.128 GB, free: 200.2 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.001809/3.773, allocations: 0.9701 MB / 1.129 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007557/3.774, allocations: 245.6 kB / 1.129 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.774, allocations: 0 / 1.129 GB, free: 199 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/3.775, allocations: 67.91 kB / 1.129 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/3.776, allocations: 207.2 kB / 1.129 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/3.783, allocations: 3.67 MB / 1.133 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/3.784, allocations: 0.7962 MB / 1.134 GB, free: 194.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007302/3.785, allocations: 75.16 kB / 1.134 GB, free: 194 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/3.785, allocations: 119.3 kB / 1.134 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.246e-05/3.785, allocations: 0 / 1.134 GB, free: 193.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/3.897, allocations: 10.76 MB / 1.144 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/3.897, allocations: 171.6 kB / 1.144 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.831/8.728, allocations: 4 kB / 1.144 GB, free: 183.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)