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.001029/0.001029, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001117/0.001117, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.347/1.347, allocations: 222.9 MB / 241 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.7848/0.7848, allocations: 132.2 MB / 423.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 69.47 kB / 0.582 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1554, allocations: 80.21 MB / 0.6603 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01423/0.1696, allocations: 14.44 MB / 0.6744 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004784/0.1745, allocations: 3.64 MB / 0.678 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.1749, allocations: 15.94 kB / 0.678 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.1755, allocations: 206.7 kB / 0.6782 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1768, allocations: 0.618 MB / 0.6788 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.1776, allocations: 401.2 kB / 0.6792 GB, free: 7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1787, allocations: 1.079 MB / 0.6802 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.1791, allocations: 328.9 kB / 0.6806 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.18, allocations: 399.9 kB / 0.6809 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.1804, allocations: 302.7 kB / 0.6812 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.1804, allocations: 32 kB / 0.6813 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004965/0.1809, allocations: 267.5 kB / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.1811, allocations: 95.67 kB / 0.6816 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.1813, allocations: 218.9 kB / 0.6818 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007353/0.182, allocations: 0.5993 MB / 0.6824 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.182, allocations: 0 / 0.6824 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1821, allocations: 4 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.1821, allocations: 0 / 0.6824 GB, free: 3.695 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.001088/0.1832, allocations: 0.753 MB / 0.6831 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1832, allocations: 12.03 kB / 0.6831 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.1834, allocations: 48.66 kB / 0.6832 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.1841, allocations: 475.1 kB / 0.6836 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1841, allocations: 16.56 kB / 0.6837 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/0.1842, allocations: 31.95 kB / 0.6837 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.1847, allocations: 310.2 kB / 0.684 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1847, allocations: 4 kB / 0.684 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.1848, allocations: 12 kB / 0.684 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1848, allocations: 4 kB / 0.684 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004622/0.1853, allocations: 194.1 kB / 0.6842 GB, free: 1.746 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.001647/0.1869, allocations: 1.485 MB / 0.6856 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.1874, allocations: 162.6 kB / 0.6858 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.1875, allocations: 60.83 kB / 0.6859 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.1877, allocations: 89.09 kB / 0.6859 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.188, allocations: 138.3 kB / 0.6861 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.188, allocations: 0 / 0.6861 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006274/0.1886, allocations: 233.3 kB / 0.6863 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1887, allocations: 51.41 kB / 0.6863 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.189, allocations: 349.7 kB / 0.6867 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1891, allocations: 33.7 kB / 0.6867 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1892, allocations: 220.1 kB / 0.6869 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1893, allocations: 59.52 kB / 0.687 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.1893, allocations: 57.66 kB / 0.687 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1895, allocations: 342.8 kB / 0.6874 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1897, allocations: 67.95 kB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.1899, allocations: 153.3 kB / 0.6876 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.1904, allocations: 245 kB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1904, allocations: 4 kB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005788/0.191, allocations: 306.8 kB / 0.6881 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.1911, allocations: 41.64 kB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1911, allocations: 4 kB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1911, allocations: 4 kB / 0.6881 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.1913, allocations: 64.19 kB / 0.6882 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1913, allocations: 4 kB / 0.6882 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1916, allocations: 35.77 kB / 0.6882 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1916, allocations: 12 kB / 0.6883 GB, free: 13.27 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.0001583/0.1918, allocations: 157.8 kB / 0.6884 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.1919, allocations: 43.7 kB / 0.6884 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.1923, allocations: 196.5 kB / 0.6886 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005612/0.1929, allocations: 482.3 kB / 0.6891 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1929, allocations: 4 kB / 0.6891 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.193, allocations: 128.8 kB / 0.6892 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.1931, allocations: 4 kB / 0.6892 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.1933, allocations: 11.98 kB / 0.6892 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/0.1934, allocations: 15.98 kB / 0.6893 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005685/0.194, allocations: 276.6 kB / 0.6895 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006622/0.1947, allocations: 434.4 kB / 0.6899 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001745/0.1948, allocations: 74.19 kB / 0.69 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002586/0.1951, allocations: 247.2 kB / 0.6902 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of Backend: time 8.22e-07/0.1951, allocations: 0 / 0.6902 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.1961, allocations: 367.5 kB / 0.6906 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001991/0.1981, allocations: 1.338 MB / 0.6919 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of Templates: time 0.01207/0.2102, allocations: 7.44 MB / 0.6992 GB, free: 2.004 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)