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.0009166/0.0009167, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006367/0.006367, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003736, allocations: 9.812 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 82.3 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01414/0.2027, allocations: 13.88 MB / 0.6015 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005251/0.208, allocations: 3.613 MB / 0.605 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.2085, allocations: 15.94 kB / 0.6051 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.2091, allocations: 167.1 kB / 0.6052 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.2105, allocations: 0.56 MB / 0.6058 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.3193/0.5298, allocations: 335.2 kB / 0.6061 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.5321, allocations: 1.465 MB / 0.6075 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.5328, allocations: 263.5 kB / 0.6078 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007923/0.5336, allocations: 317.3 kB / 0.6081 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.5343, allocations: 298.9 kB / 0.6084 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.5344, allocations: 13.19 kB / 0.6084 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007813/0.5352, allocations: 244.5 kB / 0.6086 GB, free: 34.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.5353, allocations: 72.45 kB / 0.6087 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.5357, allocations: 214.4 kB / 0.6089 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.5366, allocations: 0.5694 MB / 0.6094 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5366, allocations: 0 / 0.6094 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.365e-06/0.5367, allocations: 0 / 0.6094 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.042e-05/0.5367, allocations: 0.9375 kB / 0.6094 GB, free: 34.65 MB / 0.4981 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.001248/0.5379, allocations: 0.6798 MB / 0.6101 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.538, allocations: 12.47 kB / 0.6101 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002244/0.5382, allocations: 53.44 kB / 0.6102 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008033/0.539, allocations: 479.1 kB / 0.6106 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.5391, allocations: 27.66 kB / 0.6106 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.5391, allocations: 30.09 kB / 0.6107 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.5397, allocations: 309.4 kB / 0.611 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5398, allocations: 2.812 kB / 0.611 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.5398, allocations: 14.12 kB / 0.611 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.5398, allocations: 9.094 kB / 0.611 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.5403, allocations: 200.1 kB / 0.6112 GB, free: 33.79 MB / 0.4981 GB 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.001691/0.542, allocations: 1.492 MB / 0.6126 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.5425, allocations: 171.2 kB / 0.6128 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5427, allocations: 76.09 kB / 0.6129 GB, free: 32.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001532/0.5429, allocations: 85.94 kB / 0.613 GB, free: 32.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.5432, allocations: 128.9 kB / 0.6131 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.5432, allocations: 2.75 kB / 0.6131 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006548/0.5438, allocations: 258.5 kB / 0.6133 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.5439, allocations: 54.97 kB / 0.6134 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.5442, allocations: 342.6 kB / 0.6137 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.5442, allocations: 31.33 kB / 0.6137 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5444, allocations: 225 kB / 0.614 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5444, allocations: 46.73 kB / 0.614 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.5445, allocations: 32.06 kB / 0.614 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.5445, allocations: 343.3 kB / 0.6144 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.5447, allocations: 69.22 kB / 0.6144 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.5449, allocations: 156.2 kB / 0.6146 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.5453, allocations: 258.1 kB / 0.6148 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5453, allocations: 0 / 0.6148 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000516/0.5458, allocations: 325.8 kB / 0.6151 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.5459, allocations: 31.48 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5459, allocations: 3.094 kB / 0.6152 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5459, allocations: 14.56 kB / 0.6152 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.5461, allocations: 62.02 kB / 0.6152 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5461, allocations: 3.406 kB / 0.6152 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.5464, allocations: 35.08 kB / 0.6153 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.5465, allocations: 12.31 kB / 0.6153 GB, free: 31.54 MB / 0.4981 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 (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.0001417/0.5466, allocations: 161.7 kB / 0.6154 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.5467, allocations: 36.78 kB / 0.6155 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.5471, allocations: 209.3 kB / 0.6157 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5471, allocations: 0 / 0.6157 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5471, allocations: 7.188 kB / 0.6157 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004019/0.5475, allocations: 494.1 kB / 0.6161 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.5479, allocations: 348 kB / 0.6165 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.548, allocations: 0 / 0.6165 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.5481, allocations: 46.12 kB / 0.6165 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.5481, allocations: 0 / 0.6165 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.5482, allocations: 10.75 kB / 0.6165 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5482, allocations: 0 / 0.6165 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5482, allocations: 0 / 0.6165 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.5487, allocations: 311 kB / 0.6168 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.5489, allocations: 124.5 kB / 0.617 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.5489, allocations: 10.36 kB / 0.617 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.5492, allocations: 22.2 kB / 0.617 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.5492, allocations: 19.28 kB / 0.617 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.5493, allocations: 9.469 kB / 0.617 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000188/0.5494, allocations: 237.2 kB / 0.6172 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5495, allocations: 0 / 0.6172 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004132/0.5499, allocations: 120.8 kB / 0.6174 GB, free: 30.41 MB / 0.4981 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 (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.0002918/0.5502, allocations: 176.2 kB / 0.6175 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.5506, allocations: 240.2 kB / 0.6177 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5507, allocations: 0 / 0.6177 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.5508, allocations: 77.7 kB / 0.6178 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5519, allocations: 203.5 kB / 0.618 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.5531, allocations: 0.935 MB / 0.6189 GB, free: 29.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.5533, allocations: 0.7972 MB / 0.6197 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.5536, allocations: 62.25 kB / 0.6198 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.5537, allocations: 32.69 kB / 0.6198 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5537, allocations: 0 / 0.6198 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.01121/0.5649, allocations: 6.535 MB / 0.6262 GB, free: 28.48 MB / 0.4981 GB 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)