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.0009899/0.0009901, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00148/0.00148, allocations: 172.7 kB / 15.95 MB, free: 208 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.704/1.704, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.393/0.393, allocations: 40.01 MB / 310.4 MB, free: 9.996 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.000577/0.0005771, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.158, allocations: 57.97 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.003482/0.1615, allocations: 1.907 MB / 438.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1632, allocations: 0.6207 MB / 439.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002865/0.1635, allocations: 4 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.1637, allocations: 27.77 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.1641, allocations: 59.44 kB / 439.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1645, allocations: 67.92 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.1651, allocations: 319.2 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.1654, allocations: 114.8 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1658, allocations: 111.6 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.1661, allocations: 123.5 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.1662, allocations: 24 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.1663, allocations: 16 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.1663, allocations: 51.77 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1665, allocations: 77.58 kB / 440.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.1668, allocations: 279.4 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.1668, allocations: 4 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1668, allocations: 0 / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.68e-05/0.1669, allocations: 0 / 440.6 MB, free: 14.73 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.001119/0.168, allocations: 0.5342 MB / 441.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.168, allocations: 8.031 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.1682, allocations: 35.58 kB / 441.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1685, allocations: 186.8 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1686, allocations: 32.64 kB / 441.4 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.1687, allocations: 32 kB / 441.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.1694, allocations: 278 kB / 441.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1694, allocations: 0 / 441.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.1695, allocations: 15.98 kB / 441.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1695, allocations: 11.98 kB / 441.7 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.17, allocations: 218.5 kB / 441.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.1721, allocations: 1.032 MB / 442.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.1722, allocations: 34.52 kB / 443 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.1722, allocations: 24.92 kB / 443 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1722, allocations: 0 / 443 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1723, allocations: 30.56 kB / 443 MB, free: 12.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1723, allocations: 8 kB / 443 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00025/0.1725, allocations: 65.5 kB / 443.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.1726, allocations: 59.36 kB / 443.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.1731, allocations: 318.8 kB / 443.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1731, allocations: 25.7 kB / 443.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1733, allocations: 234.8 kB / 443.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.1733, allocations: 11.84 kB / 443.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.1733, allocations: 4 kB / 443.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.1735, allocations: 342.9 kB / 444.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1736, allocations: 59.97 kB / 444.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1738, allocations: 90.44 kB / 444.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.174, allocations: 75.98 kB / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.174, allocations: 0 / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004456/0.1744, allocations: 237.3 kB / 444.5 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1745, allocations: 11.94 kB / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1745, allocations: 3.984 kB / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1745, allocations: 0 / 444.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1748, allocations: 59.89 kB / 444.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1748, allocations: 3.953 kB / 444.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.1751, allocations: 39.58 kB / 444.7 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1751, allocations: 15.94 kB / 444.7 MB, free: 10.4 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.000149/0.1753, allocations: 129.9 kB / 444.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.1753, allocations: 15.81 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.1754, allocations: 28.83 kB / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1754, allocations: 0 / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.1754, allocations: 0 / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1754, allocations: 3.953 kB / 444.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006821/0.1761, allocations: 0.4994 MB / 445.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1761, allocations: 4.062 kB / 445.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.1761, allocations: 11.92 kB / 445.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1762, allocations: 0 / 445.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1762, allocations: 3.953 kB / 445.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1762, allocations: 4 kB / 445.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1762, allocations: 0 / 445.4 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.1763, allocations: 93.81 kB / 445.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1765, allocations: 112.7 kB / 445.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.1765, allocations: 0 / 445.6 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.1766, allocations: 3.953 kB / 445.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.1766, allocations: 4 kB / 445.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1767, allocations: 0 / 445.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.1769, allocations: 229.9 kB / 445.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.1769, allocations: 0 / 445.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1772, allocations: 67.84 kB / 445.9 MB, free: 9.09 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.0001106/0.1774, allocations: 95.27 kB / 446 MB, free: 8.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1776, allocations: 116.7 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1777, allocations: 0 / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.1777, allocations: 11.98 kB / 446.1 MB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.178, allocations: 24.55 kB / 446.1 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.1789, allocations: 456.4 kB / 446.6 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.1794, allocations: 0.7481 MB / 447.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.1795, allocations: 25.92 kB / 447.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.1796, allocations: 19.44 kB / 447.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1796, allocations: 3.938 kB / 447.3 MB, free: 7.543 MB / 382.1 MB Notification: Performance of Templates: time 0.005458/0.185, allocations: 1.598 MB / 448.9 MB, free: 5.945 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: