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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001078/0.001078, allocations: 192 kB / 16.14 MB, free: 6.703 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.676/1.676, allocations: 205.1 MB / 222 MB, free: 4.957 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.4211/0.4211, allocations: 39.94 MB / 309.3 MB, free: 9.527 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.001403/0.001403, allocations: 67.91 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1529, allocations: 56.89 MB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004846/0.1578, allocations: 2.358 MB / 436.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1589, allocations: 0.6516 MB / 436.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.159, allocations: 4 kB / 436.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.912e-05/0.1591, allocations: 27.77 kB / 436.8 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1593, allocations: 59.52 kB / 436.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1596, allocations: 71.94 kB / 437 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1599, allocations: 327.2 kB / 437.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1602, allocations: 135.9 kB / 437.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.1604, allocations: 131.5 kB / 437.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1606, allocations: 151.4 kB / 437.7 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.1607, allocations: 24 kB / 437.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.859e-05/0.1607, allocations: 24 kB / 437.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.1608, allocations: 55.83 kB / 437.8 MB, free: 476 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1609, allocations: 155.2 kB / 438 MB, free: 320 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.1613, allocations: 363 kB / 438.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1613, allocations: 0 / 438.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1613, allocations: 0 / 438.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1613, allocations: 0 / 438.3 MB, free: 15.95 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.0009503/0.1622, allocations: 0.5735 MB / 438.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.1623, allocations: 8.031 kB / 438.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1624, allocations: 32.56 kB / 438.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.1626, allocations: 211.7 kB / 439.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.958e-05/0.1627, allocations: 21.22 kB / 439.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.1628, allocations: 36.38 kB / 439.2 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.1633, allocations: 282.1 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1633, allocations: 4 kB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1633, allocations: 16 kB / 439.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1634, allocations: 8 kB / 439.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.1638, allocations: 214.5 kB / 439.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.1655, allocations: 1.032 MB / 440.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.489e-05/0.1656, allocations: 30.52 kB / 440.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.1656, allocations: 28.91 kB / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1657, allocations: 0 / 440.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.1657, allocations: 30.56 kB / 440.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.525e-06/0.1657, allocations: 3.984 kB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002175/0.1659, allocations: 81.39 kB / 440.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.166, allocations: 55.41 kB / 441 MB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.1664, allocations: 326.8 kB / 441.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1664, allocations: 25.7 kB / 441.3 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1665, allocations: 230.8 kB / 441.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.1666, allocations: 11.97 kB / 441.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/0.1667, allocations: 57.52 kB / 441.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1668, allocations: 334.8 kB / 441.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1669, allocations: 72.09 kB / 442 MB, free: 12.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1671, allocations: 90.44 kB / 442.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1673, allocations: 117.7 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1673, allocations: 0 / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003842/0.1677, allocations: 237.9 kB / 442.4 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.1677, allocations: 7.938 kB / 442.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1677, allocations: 4.031 kB / 442.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1677, allocations: 4 kB / 442.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.168, allocations: 59.89 kB / 442.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1681, allocations: 0 / 442.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.1683, allocations: 43.47 kB / 442.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1683, allocations: 8 kB / 442.6 MB, free: 11.47 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.000124/0.1684, allocations: 141.7 kB / 442.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1685, allocations: 23.66 kB / 442.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1685, allocations: 24.89 kB / 442.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1686, allocations: 4 kB / 442.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1686, allocations: 0 / 442.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1686, allocations: 0 / 442.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.1691, allocations: 0.5033 MB / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1691, allocations: 0 / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.1692, allocations: 4 kB / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1692, allocations: 0 / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1692, allocations: 4.062 kB / 443.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1692, allocations: 8 kB / 443.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1692, allocations: 0 / 443.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.1693, allocations: 105.6 kB / 443.4 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1694, allocations: 100.9 kB / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.1695, allocations: 0 / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.1696, allocations: 0 / 443.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.1696, allocations: 12.02 kB / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1696, allocations: 0 / 443.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.1698, allocations: 222 kB / 443.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1699, allocations: 0 / 443.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1701, allocations: 67.75 kB / 443.8 MB, free: 10.15 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.0001094/0.1702, allocations: 103.2 kB / 443.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1705, allocations: 107.9 kB / 444 MB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1705, allocations: 4.062 kB / 444 MB, free: 9.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.1705, allocations: 15.94 kB / 444 MB, free: 9.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1709, allocations: 28.75 kB / 444 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.1716, allocations: 469.3 kB / 444.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1719, allocations: 0.7443 MB / 445.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1721, allocations: 29.92 kB / 445.2 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.1721, allocations: 15.44 kB / 445.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1721, allocations: 0 / 445.3 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Templates: time 0.00427/0.1764, allocations: 1.661 MB / 446.9 MB, free: 6.926 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)