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.001459/0.00146, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001679/0.001679, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.4363/0.4363, allocations: 40 MB / 310.4 MB, free: 9.695 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.0006101/0.0006105, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1861, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004073/0.1902, allocations: 1.806 MB / 438.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1926, allocations: 0.6326 MB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1928, allocations: 8 kB / 439.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.1929, allocations: 31.77 kB / 439.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1933, allocations: 67.81 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1937, allocations: 63.94 kB / 439.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.1942, allocations: 232 kB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.1947, allocations: 118.8 kB / 439.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.195, allocations: 111.6 kB / 439.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.1953, allocations: 123.5 kB / 439.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.1954, allocations: 16 kB / 440 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1955, allocations: 16 kB / 440 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.1956, allocations: 59.77 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1957, allocations: 73.58 kB / 440.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.1961, allocations: 279.4 kB / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1961, allocations: 0 / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1962, allocations: 0 / 440.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1962, allocations: 0 / 440.4 MB, free: 14.66 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.001488/0.1977, allocations: 0.5342 MB / 440.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.978e-05/0.1978, allocations: 8.031 kB / 440.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1979, allocations: 35.58 kB / 441 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1983, allocations: 190.8 kB / 441.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.1985, allocations: 32.48 kB / 441.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/0.1986, allocations: 28 kB / 441.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.1995, allocations: 286 kB / 441.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1995, allocations: 0 / 441.5 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.1996, allocations: 12 kB / 441.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1996, allocations: 8 kB / 441.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007459/0.2004, allocations: 218.5 kB / 441.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2034, allocations: 1.028 MB / 442.7 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2035, allocations: 38.52 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.2036, allocations: 0 / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2036, allocations: 30.56 kB / 442.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.2036, allocations: 0 / 442.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000333/0.204, allocations: 73.56 kB / 442.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.185e-05/0.2041, allocations: 55.36 kB / 442.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.2047, allocations: 323 kB / 443.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.2047, allocations: 25.7 kB / 443.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.205, allocations: 230.8 kB / 443.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.205, allocations: 19.78 kB / 443.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.2051, allocations: 7.938 kB / 443.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.2053, allocations: 330.8 kB / 443.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2055, allocations: 63.97 kB / 443.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.2058, allocations: 94.44 kB / 444 MB, free: 10.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.2061, allocations: 75.98 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2062, allocations: 3.938 kB / 444.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007782/0.207, allocations: 233.3 kB / 444.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.207, allocations: 8 kB / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.207, allocations: 0 / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.207, allocations: 0 / 444.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.2075, allocations: 59.98 kB / 444.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.2076, allocations: 7.891 kB / 444.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.208, allocations: 43.58 kB / 444.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.2081, allocations: 8 kB / 444.4 MB, free: 10.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.2083, allocations: 125.8 kB / 444.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.2084, allocations: 19.81 kB / 444.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.2085, allocations: 20.89 kB / 444.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2085, allocations: 4 kB / 444.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.2085, allocations: 4 kB / 444.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.2085, allocations: 3.953 kB / 444.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2096, allocations: 0.5032 MB / 445.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2096, allocations: 3.984 kB / 445.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.2097, allocations: 8 kB / 445.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2097, allocations: 3.938 kB / 445.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2097, allocations: 7.953 kB / 445.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.2097, allocations: 8.047 kB / 445.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2098, allocations: 0 / 445.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.21, allocations: 99.56 kB / 445.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2102, allocations: 108.7 kB / 445.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.973e-05/0.2103, allocations: 7.953 kB / 445.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2105, allocations: 8.031 kB / 445.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.2105, allocations: 0 / 445.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2105, allocations: 0 / 445.4 MB, free: 9.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004599/0.211, allocations: 225.9 kB / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.211, allocations: 0 / 445.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000484/0.2115, allocations: 63.84 kB / 445.6 MB, free: 9.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001747/0.2117, allocations: 99.17 kB / 445.7 MB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.2122, allocations: 124.6 kB / 445.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.2123, allocations: 0 / 445.9 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.2123, allocations: 15.94 kB / 445.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2127, allocations: 20.83 kB / 445.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.2138, allocations: 452.5 kB / 446.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/0.2144, allocations: 0.7521 MB / 447.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.2147, allocations: 25.94 kB / 447.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.2148, allocations: 15.44 kB / 447.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2148, allocations: 0 / 447.1 MB, free: 7.48 MB / 382.1 MB Notification: Performance of Templates: time 0.007767/0.2226, allocations: 1.598 MB / 448.7 MB, free: 5.887 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: