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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008803/0.0008806, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003828, allocations: 9.188 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4515, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01478/0.4663, allocations: 13.21 MB / 0.596 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006909/0.4733, allocations: 3.401 MB / 0.5994 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008736/0.4742, allocations: 16.81 kB / 0.5994 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.4751, allocations: 153.3 kB / 0.5995 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.4772, allocations: 484.1 kB / 0.6 GB, free: 7.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.4784, allocations: 295 kB / 0.6003 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.4806, allocations: 1.247 MB / 0.6015 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.4812, allocations: 243.1 kB / 0.6017 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007769/0.482, allocations: 312.3 kB / 0.602 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.4826, allocations: 288.3 kB / 0.6023 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.4827, allocations: 13.22 kB / 0.6023 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.4833, allocations: 150.3 kB / 0.6024 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4834, allocations: 65.11 kB / 0.6025 GB, free: 6.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.4836, allocations: 105.5 kB / 0.6026 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.4842, allocations: 429.3 kB / 0.603 GB, free: 6.102 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4843, allocations: 3.938 kB / 0.603 GB, free: 6.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4843, allocations: 0.7812 kB / 0.603 GB, free: 6.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.4843, allocations: 0 / 0.603 GB, free: 6.098 MB / 446.1 MB 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.00122/0.4855, allocations: 0.6786 MB / 0.6037 GB, free: 5.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4856, allocations: 9.375 kB / 0.6037 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.4857, allocations: 63.28 kB / 0.6038 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.4859, allocations: 45.72 kB / 0.6038 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.4868, allocations: 475.7 kB / 0.6043 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.4868, allocations: 18.94 kB / 0.6043 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.4869, allocations: 34.69 kB / 0.6043 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006321/0.4875, allocations: 307.2 kB / 0.6046 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.4876, allocations: 8.875 kB / 0.6046 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.4876, allocations: 10.84 kB / 0.6046 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.4876, allocations: 12.11 kB / 0.6046 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.4882, allocations: 203.1 kB / 0.6048 GB, free: 4.656 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4903, allocations: 1.479 MB / 0.6063 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.4907, allocations: 170.8 kB / 0.6064 GB, free: 3.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.4909, allocations: 79.08 kB / 0.6065 GB, free: 3.148 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.4911, allocations: 87.19 kB / 0.6066 GB, free: 3.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.4914, allocations: 130.4 kB / 0.6067 GB, free: 2.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.4914, allocations: 0 / 0.6067 GB, free: 2.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006523/0.4921, allocations: 247.4 kB / 0.6069 GB, free: 2.832 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.4921, allocations: 62.31 kB / 0.607 GB, free: 2.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.4925, allocations: 336.2 kB / 0.6073 GB, free: 2.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.4926, allocations: 28.33 kB / 0.6074 GB, free: 2.512 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.4928, allocations: 220.2 kB / 0.6076 GB, free: 2.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.4928, allocations: 50.64 kB / 0.6076 GB, free: 2.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.4929, allocations: 5.312 kB / 0.6076 GB, free: 2.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.493, allocations: 341.7 kB / 0.6079 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.4932, allocations: 82.09 kB / 0.608 GB, free: 1.891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.4935, allocations: 145 kB / 0.6082 GB, free: 1.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.4938, allocations: 122.9 kB / 0.6083 GB, free: 1.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4938, allocations: 0 / 0.6083 GB, free: 1.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006927/0.4945, allocations: 319.7 kB / 0.6086 GB, free: 1.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.4946, allocations: 36.06 kB / 0.6086 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4946, allocations: 2.656 kB / 0.6086 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4946, allocations: 4.625 kB / 0.6086 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.4948, allocations: 60.44 kB / 0.6087 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4949, allocations: 7 kB / 0.6087 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.4952, allocations: 49.42 kB / 0.6087 GB, free: 1.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.4952, allocations: 12.72 kB / 0.6087 GB, free: 1.418 MB / 446.1 MB 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.0001754/0.4954, allocations: 163.8 kB / 0.6089 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.4955, allocations: 32.88 kB / 0.6089 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004664/0.496, allocations: 208.1 kB / 0.6091 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.496, allocations: 5.141 kB / 0.6091 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.496, allocations: 1.125 kB / 0.6091 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005586/0.4965, allocations: 0.489 MB / 0.6096 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.497, allocations: 354.1 kB / 0.61 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.497, allocations: 1.25 kB / 0.61 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.4972, allocations: 34.36 kB / 0.61 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4972, allocations: 0 / 0.61 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4972, allocations: 1.688 kB / 0.61 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.4972, allocations: 1.406 kB / 0.61 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4972, allocations: 0 / 0.61 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000606/0.4978, allocations: 309 kB / 0.6103 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.4981, allocations: 130.7 kB / 0.6104 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.4981, allocations: 1.469 kB / 0.6104 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.4984, allocations: 27.67 kB / 0.6104 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.4985, allocations: 15.84 kB / 0.6105 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.4985, allocations: 8.656 kB / 0.6105 GB, free: 15.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.4988, allocations: 235.5 kB / 0.6107 GB, free: 15.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4988, allocations: 1.094 kB / 0.6107 GB, free: 15.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.4993, allocations: 118.4 kB / 0.6108 GB, free: 15.78 MB / 462.1 MB 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.001078/0.5004, allocations: 0.9153 MB / 0.6117 GB, free: 15.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004888/0.5009, allocations: 234.9 kB / 0.6119 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5009, allocations: 1.188 kB / 0.6119 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.5011, allocations: 77.52 kB / 0.612 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000918/0.502, allocations: 198.4 kB / 0.6122 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.5055, allocations: 2.133 MB / 0.6143 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.5059, allocations: 0.7925 MB / 0.615 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.5063, allocations: 59.31 kB / 0.6151 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.5065, allocations: 114 kB / 0.6152 GB, free: 12.45 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5065, allocations: 4 kB / 0.6152 GB, free: 12.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.5305, allocations: 9.66 MB / 0.6246 GB, free: 5.535 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.5307, allocations: 166.3 kB / 0.6248 GB, free: 5.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.419, allocations: 0 / 0.6248 GB, free: 5.293 MB / 462.1 MB (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) Environment - environmentSimulation: