Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001706/0.001706, allocations: 188.5 kB / 16.25 MB, free: 6.621 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.702/1.702, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4279/0.4279, allocations: 39.92 MB / 309.4 MB, free: 9.367 MB / 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: ModelicaTest 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.001527/0.001527, allocations: 71.89 kB / 377.1 MB, free: 13.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1749, allocations: 56.88 MB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004014/0.179, allocations: 2.35 MB / 436.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1802, allocations: 0.6516 MB / 437 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1803, allocations: 7.938 kB / 437 MB, free: 1.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.1805, allocations: 31.7 kB / 437 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1807, allocations: 55.53 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.181, allocations: 87.84 kB / 437.2 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1813, allocations: 339.3 kB / 437.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.1816, allocations: 147.5 kB / 437.7 MB, free: 368 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.1819, allocations: 143.5 kB / 437.8 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1821, allocations: 155.4 kB / 437.9 MB, free: 68 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.1822, allocations: 36 kB / 438 MB, free: 32 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.309e-05/0.1822, allocations: 32.05 kB / 438 MB, free: 16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.1823, allocations: 75.77 kB / 438.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1825, allocations: 151.3 kB / 438.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.1828, allocations: 374.9 kB / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1828, allocations: 0 / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1828, allocations: 0 / 438.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1829, allocations: 0 / 438.6 MB, free: 15.41 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001074/0.1839, allocations: 0.5734 MB / 439.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.184, allocations: 19.83 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.1841, allocations: 36.56 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1843, allocations: 203.9 kB / 439.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.1844, allocations: 33.22 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.1845, allocations: 28.38 kB / 439.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.1849, allocations: 282.2 kB / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.185, allocations: 0 / 439.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.185, allocations: 12 kB / 439.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-06/0.185, allocations: 8 kB / 439.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.1854, allocations: 214.5 kB / 440 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1871, allocations: 1.028 MB / 441 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/0.1872, allocations: 30.64 kB / 441 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.1873, allocations: 28.86 kB / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1873, allocations: 0 / 441.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1874, allocations: 38.55 kB / 441.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.1874, allocations: 0 / 441.1 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002433/0.1876, allocations: 73.39 kB / 441.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1877, allocations: 51.41 kB / 441.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1881, allocations: 326.8 kB / 441.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1881, allocations: 25.7 kB / 441.6 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1883, allocations: 238.8 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.1883, allocations: 4 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.1884, allocations: 69.62 kB / 441.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1886, allocations: 326.8 kB / 442.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1887, allocations: 63.97 kB / 442.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1889, allocations: 98.36 kB / 442.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.1891, allocations: 117.6 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1891, allocations: 4 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003919/0.1895, allocations: 238 kB / 442.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1895, allocations: 11.94 kB / 442.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1895, allocations: 0 / 442.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1896, allocations: 0 / 442.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.1898, allocations: 51.91 kB / 442.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.1899, allocations: 7.984 kB / 442.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.1901, allocations: 39.53 kB / 442.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.1901, allocations: 8 kB / 442.8 MB, free: 10.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001513/0.1903, allocations: 137.8 kB / 443 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1903, allocations: 23.66 kB / 443 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1904, allocations: 24.88 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1904, allocations: 4 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1904, allocations: 0 / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1904, allocations: 3.938 kB / 443 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.191, allocations: 0.511 MB / 443.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.191, allocations: 4.062 kB / 443.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.191, allocations: 4 kB / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1911, allocations: 4 kB / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1911, allocations: 0 / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1911, allocations: 0 / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1911, allocations: 0 / 443.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1912, allocations: 105.6 kB / 443.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.1913, allocations: 100.9 kB / 443.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1914, allocations: 0 / 443.7 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1915, allocations: 4 kB / 443.7 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.1915, allocations: 4 kB / 443.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1915, allocations: 0 / 443.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1917, allocations: 225.9 kB / 444 MB, free: 9.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1918, allocations: 0 / 444 MB, free: 9.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.192, allocations: 67.75 kB / 444 MB, free: 9.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001257/0.1921, allocations: 99.19 kB / 444.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1924, allocations: 123.8 kB / 444.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1924, allocations: 0 / 444.3 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.135e-05/0.1925, allocations: 8 kB / 444.3 MB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.1927, allocations: 32.55 kB / 444.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.1935, allocations: 475.6 kB / 444.8 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1938, allocations: 0.7401 MB / 445.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1939, allocations: 29.92 kB / 445.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.194, allocations: 15.44 kB / 445.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.194, allocations: 0 / 445.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of Templates: time 0.004752/0.1987, allocations: 1.739 MB / 447.3 MB, free: 6.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.pipe 2>&1)