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.001021/0.001021, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 197.7 kB / 16.53 MB, free: 6.656 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.766/1.766, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3618/0.3618, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.001605/0.001606, allocations: 71.91 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.17, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004246/0.1742, allocations: 2.304 MB / 436.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1754, allocations: 0.6476 MB / 437.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1756, allocations: 4 kB / 437.5 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.403e-05/0.1757, allocations: 43.53 kB / 437.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1759, allocations: 75.31 kB / 437.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1761, allocations: 87.89 kB / 437.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.1764, allocations: 343.2 kB / 438 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.1767, allocations: 163.4 kB / 438.1 MB, free: 0 / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.177, allocations: 139.7 kB / 438.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1772, allocations: 155.3 kB / 438.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.1772, allocations: 36 kB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.1773, allocations: 36 kB / 438.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.1773, allocations: 71.81 kB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1775, allocations: 155.3 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1779, allocations: 370.8 kB / 439.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1779, allocations: 0 / 439.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1779, allocations: 0 / 439.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1779, allocations: 0 / 439.1 MB, free: 15.05 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.001133/0.179, allocations: 0.5773 MB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.1791, allocations: 11.89 kB / 439.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.1792, allocations: 32.56 kB / 439.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1795, allocations: 203.9 kB / 439.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.1796, allocations: 25.2 kB / 439.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1797, allocations: 36.38 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.1802, allocations: 278.2 kB / 440.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1803, allocations: 4 kB / 440.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1803, allocations: 15.92 kB / 440.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1803, allocations: 8 kB / 440.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.1808, allocations: 222.5 kB / 440.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.1828, allocations: 1.032 MB / 441.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.1829, allocations: 30.58 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.022e-05/0.183, allocations: 20.92 kB / 441.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.183, allocations: 3.938 kB / 441.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1831, allocations: 38.56 kB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.1831, allocations: 0 / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003107/0.1834, allocations: 73.44 kB / 441.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1834, allocations: 51.41 kB / 441.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.1839, allocations: 326.8 kB / 442.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.184, allocations: 25.7 kB / 442.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1842, allocations: 234.8 kB / 442.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.1842, allocations: 4 kB / 442.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1843, allocations: 69.62 kB / 442.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1845, allocations: 326.8 kB / 442.7 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1847, allocations: 63.97 kB / 442.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.1849, allocations: 93.61 kB / 442.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.1851, allocations: 123 kB / 443 MB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1851, allocations: 0 / 443 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004297/0.1856, allocations: 241.4 kB / 443.2 MB, free: 10.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.1856, allocations: 7.938 kB / 443.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1856, allocations: 0 / 443.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1856, allocations: 0 / 443.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.186, allocations: 55.91 kB / 443.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.186, allocations: 0 / 443.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.1862, allocations: 43.52 kB / 443.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1862, allocations: 8 kB / 443.3 MB, free: 10.57 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.0001514/0.1864, allocations: 137.8 kB / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.1865, allocations: 23.66 kB / 443.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.1865, allocations: 24.89 kB / 443.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1865, allocations: 0 / 443.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1865, allocations: 0 / 443.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1866, allocations: 0 / 443.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/0.1872, allocations: 0.511 MB / 444 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1872, allocations: 3.984 kB / 444 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.1872, allocations: 8.062 kB / 444 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1872, allocations: 0 / 444 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.1873, allocations: 0 / 444 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1873, allocations: 0 / 444 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1873, allocations: 4 kB / 444 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.1874, allocations: 105.6 kB / 444.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1875, allocations: 100.9 kB / 444.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1876, allocations: 4 kB / 444.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1877, allocations: 0 / 444.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1877, allocations: 3.938 kB / 444.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1877, allocations: 4 kB / 444.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002654/0.188, allocations: 225.9 kB / 444.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.188, allocations: 0 / 444.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1883, allocations: 71.75 kB / 444.5 MB, free: 9.246 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.0001334/0.1884, allocations: 95.19 kB / 444.6 MB, free: 9.145 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002998/0.1887, allocations: 119.9 kB / 444.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1888, allocations: 0 / 444.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.1888, allocations: 8 kB / 444.7 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.1892, allocations: 32.81 kB / 444.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007987/0.19, allocations: 379.5 kB / 445.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1904, allocations: 0.744 MB / 445.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1906, allocations: 25.94 kB / 445.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.1906, allocations: 19.42 kB / 445.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1906, allocations: 0 / 445.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of Templates: time 0.004833/0.1955, allocations: 1.758 MB / 447.7 MB, free: 6.016 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)