Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel") translateModel(Annex60.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 193.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.447/0.447, allocations: 54.93 MB / 324.3 MB, free: 136 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 64.31 kB / 394.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1648, allocations: 59.59 MB / 454.3 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Storage.Examples.ExpansionVessel): time 0.275/0.4398, allocations: 14.26 MB / 468.6 MB, free: 31.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.4446, allocations: 3.537 MB / 472.1 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.4451, allocations: 24.97 kB / 472.1 MB, free: 29.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.4459, allocations: 166.4 kB / 472.3 MB, free: 29.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4472, allocations: 0.5218 MB / 472.8 MB, free: 28.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.448, allocations: 297 kB / 473.1 MB, free: 28.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.4493, allocations: 1.394 MB / 474.5 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.4497, allocations: 250.7 kB / 474.7 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.4501, allocations: 311.8 kB / 475 MB, free: 27.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.4504, allocations: 295.3 kB / 475.3 MB, free: 27.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.4505, allocations: 18.81 kB / 475.3 MB, free: 27.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.4511, allocations: 265 kB / 475.6 MB, free: 27.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.4512, allocations: 77.36 kB / 475.7 MB, free: 27.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.4514, allocations: 181.4 kB / 475.9 MB, free: 27.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006436/0.452, allocations: 0.5537 MB / 476.4 MB, free: 27.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.452, allocations: 0 / 476.4 MB, free: 27.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.452, allocations: 2.766 kB / 476.4 MB, free: 27.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4521, allocations: 0 / 476.4 MB, free: 27.24 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001043/0.4531, allocations: 0.7228 MB / 477.1 MB, free: 26.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.4532, allocations: 11.28 kB / 477.1 MB, free: 26.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.4533, allocations: 50.22 kB / 477.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.4539, allocations: 420.8 kB / 477.6 MB, free: 26.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4539, allocations: 23.52 kB / 477.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.454, allocations: 31.09 kB / 477.7 MB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.4545, allocations: 292.9 kB / 477.9 MB, free: 26.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4545, allocations: 0 / 477.9 MB, free: 26.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.4546, allocations: 10.47 kB / 478 MB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.4546, allocations: 12.03 kB / 478 MB, free: 26.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.455, allocations: 190.9 kB / 478.1 MB, free: 26.06 MB / 382.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.001375/0.4564, allocations: 1.414 MB / 479.6 MB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003958/0.4568, allocations: 176.1 kB / 479.7 MB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.457, allocations: 90.31 kB / 479.8 MB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009827/0.458, allocations: 0.768 MB / 480.6 MB, free: 24.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.4583, allocations: 121.9 kB / 480.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.4583, allocations: 0 / 480.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005651/0.4589, allocations: 231.3 kB / 480.9 MB, free: 23.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.4589, allocations: 53.94 kB / 481 MB, free: 23.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.4592, allocations: 331.1 kB / 481.3 MB, free: 23.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4592, allocations: 29.7 kB / 481.3 MB, free: 23.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.4593, allocations: 204.4 kB / 481.5 MB, free: 23.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.4594, allocations: 55.42 kB / 481.6 MB, free: 23.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.4595, allocations: 54.64 kB / 481.6 MB, free: 23.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.4596, allocations: 343.8 kB / 482 MB, free: 23.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.4597, allocations: 62.86 kB / 482 MB, free: 23.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.4599, allocations: 144.3 kB / 482.2 MB, free: 22.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.4603, allocations: 253.2 kB / 482.4 MB, free: 22.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4603, allocations: 0 / 482.4 MB, free: 22.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004919/0.4608, allocations: 307.5 kB / 482.7 MB, free: 22.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4608, allocations: 35.22 kB / 482.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4609, allocations: 7.812 kB / 482.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4609, allocations: 3.562 kB / 482.8 MB, free: 22.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4611, allocations: 50.17 kB / 482.8 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4611, allocations: 6.656 kB / 482.8 MB, free: 22.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.4613, allocations: 33.88 kB / 482.9 MB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.4614, allocations: 13.31 kB / 482.9 MB, free: 22.54 MB / 382.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 (28): * Single equations (assignments): 27 * 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.0001291/0.4615, allocations: 162.8 kB / 483 MB, free: 22.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.4615, allocations: 35 kB / 483.1 MB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.4619, allocations: 182.5 kB / 483.3 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.462, allocations: 2.844 kB / 483.3 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.462, allocations: 5.016 kB / 483.3 MB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003946/0.4624, allocations: 487.1 kB / 483.7 MB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.4627, allocations: 377.5 kB / 484.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.4628, allocations: 7.656 kB / 484.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.4629, allocations: 32.08 kB / 484.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4629, allocations: 0 / 484.1 MB, free: 21.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.463, allocations: 6.781 kB / 484.2 MB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.463, allocations: 2.594 kB / 484.2 MB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.463, allocations: 3.938 kB / 484.2 MB, free: 21.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.4636, allocations: 291.4 kB / 484.4 MB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.4637, allocations: 127 kB / 484.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.4637, allocations: 3.578 kB / 484.6 MB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4639, allocations: 16.31 kB / 484.6 MB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.464, allocations: 14.59 kB / 484.6 MB, free: 21.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.464, allocations: 16.47 kB / 484.6 MB, free: 21.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.4642, allocations: 229.7 kB / 484.8 MB, free: 21.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4642, allocations: 0 / 484.8 MB, free: 21.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.4646, allocations: 110.6 kB / 484.9 MB, free: 21.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 14 * 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.0003084/0.465, allocations: 179.7 kB / 485.1 MB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.4654, allocations: 227.8 kB / 485.3 MB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4654, allocations: 0.625 kB / 485.3 MB, free: 20.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.4656, allocations: 83.27 kB / 485.4 MB, free: 20.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.4665, allocations: 202.1 kB / 485.6 MB, free: 20.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4678, allocations: 0.8479 MB / 486.5 MB, free: 20.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.4681, allocations: 0.7894 MB / 487.3 MB, free: 19.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002553/0.4683, allocations: 60.86 kB / 487.3 MB, free: 19.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.4684, allocations: 35.2 kB / 487.4 MB, free: 19.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.644e-06/0.4684, allocations: 0 / 487.4 MB, free: 19.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01397/0.4824, allocations: 6.407 MB / 493.8 MB, free: 18.98 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.sim & ./Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)