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.005424/0.005424, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001188/0.001188, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8019/0.8019, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.28 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.92 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01527/0.1744, allocations: 14.44 MB / 0.6787 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005336/0.1797, allocations: 3.636 MB / 0.6823 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.1802, allocations: 23.88 kB / 0.6823 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.1809, allocations: 210.7 kB / 0.6825 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1824, allocations: 0.6064 MB / 0.6831 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009403/0.1834, allocations: 398.4 kB / 0.6835 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001221/0.1846, allocations: 1.091 MB / 0.6845 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.185, allocations: 320.5 kB / 0.6848 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008987/0.186, allocations: 394.5 kB / 0.6852 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003703/0.1863, allocations: 310.6 kB / 0.6855 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.1864, allocations: 32 kB / 0.6855 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.1869, allocations: 255.5 kB / 0.6858 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1871, allocations: 111.6 kB / 0.6859 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.1873, allocations: 203 kB / 0.6861 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000792/0.1881, allocations: 0.5959 MB / 0.6867 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1881, allocations: 0 / 0.6867 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1881, allocations: 0 / 0.6867 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.1881, allocations: 0 / 0.6867 GB, free: 15.12 MB / 0.5294 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.001168/0.1893, allocations: 0.7457 MB / 0.6874 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1894, allocations: 17.11 kB / 0.6874 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.1896, allocations: 48.41 kB / 0.6875 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.1903, allocations: 466.9 kB / 0.6879 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.1903, allocations: 20.56 kB / 0.6879 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1904, allocations: 28 kB / 0.688 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.191, allocations: 302.2 kB / 0.6882 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.191, allocations: 15.83 kB / 0.6883 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.1911, allocations: 12 kB / 0.6883 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1911, allocations: 8 kB / 0.6883 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.1915, allocations: 198 kB / 0.6885 GB, free: 13.16 MB / 0.5294 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.001748/0.1933, allocations: 1.481 MB / 0.6899 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.1937, allocations: 154.6 kB / 0.6901 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1939, allocations: 68.75 kB / 0.6901 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.1941, allocations: 89.09 kB / 0.6902 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.1944, allocations: 130.3 kB / 0.6903 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1944, allocations: 4 kB / 0.6903 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005847/0.195, allocations: 225.2 kB / 0.6906 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.195, allocations: 67.28 kB / 0.6906 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.1954, allocations: 349.6 kB / 0.691 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1954, allocations: 33.7 kB / 0.691 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1955, allocations: 211.8 kB / 0.6912 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.1956, allocations: 59.19 kB / 0.6912 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/0.1957, allocations: 53.7 kB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1958, allocations: 342.8 kB / 0.6916 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.196, allocations: 71.95 kB / 0.6917 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.1963, allocations: 153.2 kB / 0.6918 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.1967, allocations: 244.8 kB / 0.6921 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1967, allocations: 0 / 0.6921 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005865/0.1973, allocations: 321 kB / 0.6924 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.1973, allocations: 33.7 kB / 0.6924 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1973, allocations: 0 / 0.6924 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1974, allocations: 4 kB / 0.6924 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.1976, allocations: 60.2 kB / 0.6925 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.1976, allocations: 11.94 kB / 0.6925 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1978, allocations: 39.67 kB / 0.6925 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.1979, allocations: 12 kB / 0.6925 GB, free: 8.684 MB / 0.5294 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.0001643/0.1981, allocations: 153.8 kB / 0.6927 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.1981, allocations: 39.55 kB / 0.6927 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.1986, allocations: 192.5 kB / 0.6929 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1986, allocations: 4 kB / 0.6929 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1986, allocations: 0 / 0.6929 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004882/0.1991, allocations: 486.6 kB / 0.6934 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004656/0.1996, allocations: 353.3 kB / 0.6937 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1996, allocations: 3.938 kB / 0.6937 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1997, allocations: 35.91 kB / 0.6937 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1997, allocations: 0 / 0.6937 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1998, allocations: 8 kB / 0.6937 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1998, allocations: 4 kB / 0.6938 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1998, allocations: 0 / 0.6938 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.2004, allocations: 294 kB / 0.694 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2005, allocations: 124.7 kB / 0.6942 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.2006, allocations: 0 / 0.6942 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.2008, allocations: 23.97 kB / 0.6942 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.2009, allocations: 15.98 kB / 0.6942 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2009, allocations: 8 kB / 0.6942 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000252/0.2012, allocations: 251.2 kB / 0.6944 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2012, allocations: 0 / 0.6944 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004432/0.2016, allocations: 127.9 kB / 0.6946 GB, free: 6.43 MB / 0.5294 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.0003733/0.202, allocations: 195.1 kB / 0.6947 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.2025, allocations: 227.2 kB / 0.695 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2025, allocations: 0 / 0.695 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2027, allocations: 71.89 kB / 0.695 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.2036, allocations: 210.2 kB / 0.6952 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.205, allocations: 0.7309 MB / 0.6959 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.2054, allocations: 0.7918 MB / 0.6967 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002072/0.2056, allocations: 67.19 kB / 0.6968 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.2057, allocations: 39.36 kB / 0.6968 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2057, allocations: 4 kB / 0.6968 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of Templates: time 0.01285/0.2186, allocations: 7.179 MB / 0.7038 GB, free: 12.96 MB / 0.545 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)