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/Complex 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) 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/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: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 97.38 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1622, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01373/0.1759, allocations: 14.41 MB / 0.6542 GB, free: 8.316 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1806, allocations: 3.66 MB / 0.6578 GB, free: 4.645 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.181, allocations: 15.94 kB / 0.6578 GB, free: 4.629 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1816, allocations: 175.1 kB / 0.658 GB, free: 4.457 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.1829, allocations: 0.5464 MB / 0.6585 GB, free: 3.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/0.1837, allocations: 357.2 kB / 0.6589 GB, free: 3.562 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1851, allocations: 1.46 MB / 0.6603 GB, free: 2.098 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.1854, allocations: 276.3 kB / 0.6605 GB, free: 1.824 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.1858, allocations: 322.6 kB / 0.6609 GB, free: 1.508 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1862, allocations: 318.5 kB / 0.6612 GB, free: 1.195 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.1862, allocations: 16 kB / 0.6612 GB, free: 1.18 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.1867, allocations: 239.5 kB / 0.6614 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.1868, allocations: 87.59 kB / 0.6615 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.187, allocations: 191.1 kB / 0.6617 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.1876, allocations: 0.5883 MB / 0.6622 GB, free: 84 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1877, allocations: 0 / 0.6622 GB, free: 84 kB / 458.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1877, allocations: 3.938 kB / 0.6622 GB, free: 80 kB / 458.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1877, allocations: 0 / 0.6622 GB, free: 80 kB / 458.7 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.001166/0.1889, allocations: 0.7513 MB / 0.663 GB, free: 15.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.1889, allocations: 8.031 kB / 0.663 GB, free: 15.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1891, allocations: 44.47 kB / 0.663 GB, free: 15.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.1898, allocations: 486.9 kB / 0.6635 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1898, allocations: 16.56 kB / 0.6635 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.1899, allocations: 28 kB / 0.6635 GB, free: 14.67 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.1904, allocations: 310.2 kB / 0.6638 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1904, allocations: 7.906 kB / 0.6638 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.1905, allocations: 12 kB / 0.6639 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1905, allocations: 4 kB / 0.6639 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.1909, allocations: 194.1 kB / 0.664 GB, free: 14.13 MB / 474.7 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.001707/0.1927, allocations: 1.477 MB / 0.6655 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1931, allocations: 162.6 kB / 0.6656 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.1933, allocations: 64.83 kB / 0.6657 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.1935, allocations: 93.08 kB / 0.6658 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000285/0.1938, allocations: 132.5 kB / 0.6659 GB, free: 12.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1938, allocations: 0 / 0.6659 GB, free: 12.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005866/0.1944, allocations: 238.8 kB / 0.6661 GB, free: 11.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.1945, allocations: 51.41 kB / 0.6662 GB, free: 11.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.1948, allocations: 345.5 kB / 0.6665 GB, free: 11.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1948, allocations: 29.7 kB / 0.6666 GB, free: 11.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.195, allocations: 215.8 kB / 0.6668 GB, free: 11.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.195, allocations: 55.14 kB / 0.6668 GB, free: 11.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.1951, allocations: 53.7 kB / 0.6669 GB, free: 11.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1952, allocations: 346.8 kB / 0.6672 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1954, allocations: 67.95 kB / 0.6673 GB, free: 10.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1956, allocations: 149.3 kB / 0.6674 GB, free: 10.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.1961, allocations: 240.9 kB / 0.6676 GB, free: 10.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1961, allocations: 0 / 0.6676 GB, free: 10.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005556/0.1966, allocations: 322.5 kB / 0.6679 GB, free: 9.832 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1967, allocations: 29.7 kB / 0.668 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1967, allocations: 4 kB / 0.668 GB, free: 9.793 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1967, allocations: 4 kB / 0.668 GB, free: 9.789 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1969, allocations: 55.91 kB / 0.668 GB, free: 9.734 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.197, allocations: 7.984 kB / 0.668 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1972, allocations: 36.05 kB / 0.6681 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1972, allocations: 12 kB / 0.6681 GB, free: 9.68 MB / 474.7 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.0001503/0.1974, allocations: 167 kB / 0.6682 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.1975, allocations: 35.56 kB / 0.6683 GB, free: 9.473 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1979, allocations: 192.4 kB / 0.6685 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1979, allocations: 11.98 kB / 0.6685 GB, free: 9.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1979, allocations: 0 / 0.6685 GB, free: 9.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004381/0.1984, allocations: 478 kB / 0.6689 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.1988, allocations: 357.3 kB / 0.6693 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1988, allocations: 0 / 0.6693 GB, free: 8.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.199, allocations: 35.91 kB / 0.6693 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.199, allocations: 0 / 0.6693 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.199, allocations: 8 kB / 0.6693 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.199, allocations: 4 kB / 0.6693 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.199, allocations: 3.938 kB / 0.6693 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.2017, allocations: 1.859 MB / 0.6711 GB, free: 6.266 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2019, allocations: 128.7 kB / 0.6713 GB, free: 6.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.2019, allocations: 8 kB / 0.6713 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2021, allocations: 19.88 kB / 0.6713 GB, free: 6.094 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.2022, allocations: 15.98 kB / 0.6713 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2022, allocations: 11.92 kB / 0.6713 GB, free: 6.066 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.2025, allocations: 235.2 kB / 0.6715 GB, free: 5.844 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2025, allocations: 0 / 0.6715 GB, free: 5.844 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000544/0.203, allocations: 175.8 kB / 0.6717 GB, free: 5.672 MB / 474.7 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.000299/0.2033, allocations: 175.1 kB / 0.6719 GB, free: 5.488 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.2038, allocations: 235.1 kB / 0.6721 GB, free: 5.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.2038, allocations: 3.984 kB / 0.6721 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.204, allocations: 66.16 kB / 0.6722 GB, free: 5.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.205, allocations: 208 kB / 0.6724 GB, free: 4.977 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2064, allocations: 1.016 MB / 0.6733 GB, free: 3.926 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2067, allocations: 0.7882 MB / 0.6741 GB, free: 3.109 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.2069, allocations: 67.25 kB / 0.6742 GB, free: 3.043 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.207, allocations: 39.42 kB / 0.6742 GB, free: 3.004 MB / 474.7 MB Notification: Performance of SimCode: time 3.5e-07/0.207, allocations: 3.938 kB / 0.6742 GB, free: 3 MB / 474.7 MB Notification: Performance of Templates: time 0.01061/0.2176, allocations: 6.894 MB / 0.681 GB, free: 12.19 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (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 & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)