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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007073/0.007073, allocations: 98.28 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.001403/0.001403, allocations: 193.2 kB / 16.67 MB, free: 5.926 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 65.91 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1596, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01386/0.1735, allocations: 14.44 MB / 0.6738 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00497/0.1785, allocations: 3.64 MB / 0.6773 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.179, allocations: 15.94 kB / 0.6773 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.1797, allocations: 206.7 kB / 0.6775 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1813, allocations: 0.5868 MB / 0.6781 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1823, allocations: 392.8 kB / 0.6785 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1837, allocations: 1.083 MB / 0.6795 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.1841, allocations: 328.9 kB / 0.6798 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008164/0.1849, allocations: 382.5 kB / 0.6802 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.1853, allocations: 306.6 kB / 0.6805 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.1854, allocations: 36 kB / 0.6805 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.186, allocations: 259.5 kB / 0.6808 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1861, allocations: 91.69 kB / 0.6809 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.1863, allocations: 218.9 kB / 0.6811 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007977/0.1871, allocations: 0.5954 MB / 0.6817 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1871, allocations: 4 kB / 0.6817 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1872, allocations: 4 kB / 0.6817 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1872, allocations: 0 / 0.6817 GB, free: 3.641 MB / 0.5137 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.001051/0.1882, allocations: 0.7551 MB / 0.6824 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1883, allocations: 8.031 kB / 0.6824 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.1885, allocations: 56.64 kB / 0.6825 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.1892, allocations: 475 kB / 0.6829 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1892, allocations: 20.56 kB / 0.6829 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.1892, allocations: 31.95 kB / 0.683 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.1898, allocations: 310.2 kB / 0.6833 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1898, allocations: 0 / 0.6833 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.1899, allocations: 12 kB / 0.6833 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.1899, allocations: 8 kB / 0.6833 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.1903, allocations: 198.1 kB / 0.6835 GB, free: 1.68 MB / 0.5137 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.001657/0.192, allocations: 1.478 MB / 0.6849 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.1925, allocations: 154.7 kB / 0.6851 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1926, allocations: 76.81 kB / 0.6851 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1928, allocations: 85.09 kB / 0.6852 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.1931, allocations: 133.5 kB / 0.6853 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1931, allocations: 0 / 0.6853 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006154/0.1937, allocations: 237.3 kB / 0.6856 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1938, allocations: 59.41 kB / 0.6856 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.1941, allocations: 345.7 kB / 0.686 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1941, allocations: 29.7 kB / 0.686 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1943, allocations: 220.1 kB / 0.6862 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1944, allocations: 51.59 kB / 0.6862 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.1944, allocations: 61.64 kB / 0.6863 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1946, allocations: 338.8 kB / 0.6866 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.1948, allocations: 71.95 kB / 0.6867 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.195, allocations: 153.3 kB / 0.6868 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1954, allocations: 247 kB / 0.6871 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1954, allocations: 0 / 0.6871 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005622/0.196, allocations: 321.4 kB / 0.6874 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.196, allocations: 37.69 kB / 0.6874 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.196, allocations: 4 kB / 0.6874 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1961, allocations: 4 kB / 0.6874 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.1963, allocations: 51.91 kB / 0.6875 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1963, allocations: 4 kB / 0.6875 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.1965, allocations: 35.77 kB / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1966, allocations: 16.19 kB / 0.6875 GB, free: 13.21 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.0001496/0.1967, allocations: 161.8 kB / 0.6877 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.1968, allocations: 39.7 kB / 0.6877 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.1972, allocations: 203.3 kB / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1973, allocations: 0 / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1973, allocations: 0 / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004595/0.1977, allocations: 483.8 kB / 0.6884 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.1981, allocations: 357.4 kB / 0.6887 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1982, allocations: 0 / 0.6887 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1983, allocations: 31.86 kB / 0.6888 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1983, allocations: 4 kB / 0.6888 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1983, allocations: 7.984 kB / 0.6888 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1984, allocations: 0 / 0.6888 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1984, allocations: 0 / 0.6888 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.1989, allocations: 286.4 kB / 0.689 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1991, allocations: 128.9 kB / 0.6892 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.1991, allocations: 3.984 kB / 0.6892 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.1993, allocations: 23.92 kB / 0.6892 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.1994, allocations: 19.98 kB / 0.6892 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1994, allocations: 7.984 kB / 0.6892 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002303/0.1997, allocations: 251.2 kB / 0.6895 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1997, allocations: 0 / 0.6895 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004063/0.2001, allocations: 127.7 kB / 0.6896 GB, free: 10.93 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.0003127/0.2004, allocations: 198.9 kB / 0.6898 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.2009, allocations: 219.8 kB / 0.69 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2009, allocations: 8.062 kB / 0.69 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2011, allocations: 74.56 kB / 0.6901 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008994/0.202, allocations: 213.5 kB / 0.6903 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2033, allocations: 0.7379 MB / 0.691 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2036, allocations: 0.7918 MB / 0.6918 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.2038, allocations: 71.17 kB / 0.6918 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.2039, allocations: 35.42 kB / 0.6919 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.2039, allocations: 4 kB / 0.6919 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of Templates: time 0.01158/0.2155, allocations: 7.177 MB / 0.6989 GB, free: 1.465 MB / 0.5294 GB 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)