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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001316/0.001316, allocations: 191.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8021/0.8021, allocations: 135.1 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3708, allocations: 80.91 MB / 0.5845 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0124/0.3832, allocations: 14.37 MB / 0.5985 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.3877, allocations: 3.61 MB / 0.6021 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/0.3884, allocations: 18.25 kB / 0.6021 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006459/0.3891, allocations: 179.1 kB / 0.6023 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.3905, allocations: 0.541 MB / 0.6028 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.3914, allocations: 357 kB / 0.6031 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.3924, allocations: 1.104 MB / 0.6042 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.3929, allocations: 317.2 kB / 0.6045 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.3938, allocations: 390.9 kB / 0.6049 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3942, allocations: 318.6 kB / 0.6052 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.3942, allocations: 33.16 kB / 0.6052 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.3947, allocations: 263.4 kB / 0.6055 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3948, allocations: 96.86 kB / 0.6056 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.395, allocations: 207 kB / 0.6057 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.3955, allocations: 472.9 kB / 0.6062 GB, free: 4.523 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3955, allocations: 0 / 0.6062 GB, free: 4.523 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3955, allocations: 4.469 kB / 0.6062 GB, free: 4.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.3955, allocations: 1.375 kB / 0.6062 GB, free: 4.52 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.0009997/0.3965, allocations: 0.7389 MB / 0.6069 GB, free: 3.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3966, allocations: 13.05 kB / 0.6069 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.3968, allocations: 49.06 kB / 0.607 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.3974, allocations: 484.2 kB / 0.6074 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3974, allocations: 17.06 kB / 0.6075 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.3975, allocations: 29.31 kB / 0.6075 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.398, allocations: 319.9 kB / 0.6078 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.398, allocations: 0 / 0.6078 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.398, allocations: 12 kB / 0.6078 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.398, allocations: 4.969 kB / 0.6078 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.3984, allocations: 196.5 kB / 0.608 GB, free: 2.574 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.00139/0.3998, allocations: 1.476 MB / 0.6094 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.4002, allocations: 161.1 kB / 0.6096 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4004, allocations: 64.81 kB / 0.6097 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.4005, allocations: 87.67 kB / 0.6097 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.4008, allocations: 127.3 kB / 0.6099 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.4008, allocations: 3.938 kB / 0.6099 GB, free: 0.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005738/0.4014, allocations: 237.6 kB / 0.6101 GB, free: 272 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4014, allocations: 58.94 kB / 0.6102 GB, free: 204 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.4018, allocations: 341.6 kB / 0.6105 GB, free: 15.85 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4018, allocations: 29.7 kB / 0.6105 GB, free: 15.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.402, allocations: 223.7 kB / 0.6107 GB, free: 15.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.4021, allocations: 43.36 kB / 0.6108 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.4022, allocations: 57.61 kB / 0.6108 GB, free: 15.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4023, allocations: 342.8 kB / 0.6111 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.4025, allocations: 70.92 kB / 0.6112 GB, free: 15.08 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.4027, allocations: 154.3 kB / 0.6114 GB, free: 14.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.4031, allocations: 245.2 kB / 0.6116 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4031, allocations: 0 / 0.6116 GB, free: 14.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005794/0.4037, allocations: 320.8 kB / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.4038, allocations: 29.7 kB / 0.6119 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4038, allocations: 4 kB / 0.6119 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4038, allocations: 4 kB / 0.6119 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.404, allocations: 55.89 kB / 0.612 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4041, allocations: 8.297 kB / 0.612 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.4043, allocations: 43.67 kB / 0.612 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.4044, allocations: 12 kB / 0.612 GB, free: 14.13 MB / 462.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.4046, allocations: 158.6 kB / 0.6122 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.4046, allocations: 39.56 kB / 0.6122 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.4051, allocations: 196.5 kB / 0.6124 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4051, allocations: 4 kB / 0.6124 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4051, allocations: 0 / 0.6124 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004868/0.4056, allocations: 483.7 kB / 0.6129 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.406, allocations: 349.3 kB / 0.6132 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4061, allocations: 0 / 0.6132 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.4062, allocations: 35.91 kB / 0.6133 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4062, allocations: 0 / 0.6133 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.4063, allocations: 12 kB / 0.6133 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4063, allocations: 4 kB / 0.6133 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4063, allocations: 3.938 kB / 0.6133 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.4069, allocations: 276.6 kB / 0.6135 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.4071, allocations: 132.7 kB / 0.6137 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.4071, allocations: 8 kB / 0.6137 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4074, allocations: 23.97 kB / 0.6137 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.4075, allocations: 15.97 kB / 0.6137 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.4075, allocations: 8 kB / 0.6137 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.4077, allocations: 239.2 kB / 0.6139 GB, free: 12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4077, allocations: 0 / 0.6139 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004502/0.4082, allocations: 124 kB / 0.6141 GB, free: 11.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003462/0.4085, allocations: 183 kB / 0.6142 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005031/0.4091, allocations: 237.8 kB / 0.6145 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4091, allocations: 0 / 0.6145 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.4093, allocations: 71.89 kB / 0.6145 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/0.4102, allocations: 211 kB / 0.6147 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4117, allocations: 0.8965 MB / 0.6156 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.4121, allocations: 0.7879 MB / 0.6164 GB, free: 9.441 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4122, allocations: 35.42 kB / 0.6164 GB, free: 9.406 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4122, allocations: 0 / 0.6164 GB, free: 9.406 MB / 462.1 MB Notification: Performance of Templates: time 0.00921/0.4214, allocations: 5.964 MB / 0.6222 GB, free: 3.504 MB / 462.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)