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.008605/0.008605, allocations: 100 kB / 15.73 MB, free: 6.047 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.001473/0.001474, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.746/1.746, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.4554/0.4554, allocations: 39.95 MB / 309.8 MB, free: 9.43 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.001545/0.001546, allocations: 63.89 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4693, allocations: 56.89 MB / 492.6 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Leakage): time 0.004493/0.4738, allocations: 2.303 MB / 494.9 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.4755, allocations: 0.6548 MB / 495.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.4756, allocations: 5.875 kB / 495.6 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.4758, allocations: 45.5 kB / 495.7 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.476, allocations: 72.77 kB / 495.7 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.4764, allocations: 92.19 kB / 495.8 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.4769, allocations: 347.4 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.4773, allocations: 152 kB / 496.3 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.4777, allocations: 145.1 kB / 496.4 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.478, allocations: 153.8 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.4781, allocations: 33.78 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.4782, allocations: 33.69 kB / 496.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.4783, allocations: 72.83 kB / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.4785, allocations: 156.2 kB / 496.9 MB, free: 16.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.4792, allocations: 373 kB / 497.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.4792, allocations: 0 / 497.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4792, allocations: 0.9375 kB / 497.2 MB, free: 16.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4792, allocations: 0 / 497.2 MB, free: 16.54 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.001047/0.4802, allocations: 0.582 MB / 497.8 MB, free: 16.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.4803, allocations: 13.14 kB / 497.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.4804, allocations: 35.56 kB / 497.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.4807, allocations: 201.3 kB / 498.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.4807, allocations: 25.81 kB / 498.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.4808, allocations: 28.81 kB / 498.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.4814, allocations: 279.6 kB / 498.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4814, allocations: 1.562 kB / 498.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.4814, allocations: 14.16 kB / 498.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.4815, allocations: 8.156 kB / 498.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.4819, allocations: 212.6 kB / 498.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.4838, allocations: 1.022 MB / 499.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.4839, allocations: 36.23 kB / 499.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.484, allocations: 27.41 kB / 499.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.484, allocations: 0 / 499.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.484, allocations: 36.38 kB / 499.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.484, allocations: 0 / 499.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.4843, allocations: 74.56 kB / 499.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.4843, allocations: 52.47 kB / 499.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.4847, allocations: 323 kB / 0.4885 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.4847, allocations: 27.11 kB / 0.4885 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4849, allocations: 231.8 kB / 0.4887 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.4849, allocations: 11.77 kB / 0.4887 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.485, allocations: 58.7 kB / 0.4888 GB, free: 14.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.4851, allocations: 333.9 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4852, allocations: 63.25 kB / 0.4892 GB, free: 13.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.4854, allocations: 93.41 kB / 0.4892 GB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4856, allocations: 123 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4856, allocations: 1.062 kB / 0.4894 GB, free: 13.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004388/0.4861, allocations: 231.3 kB / 0.4896 GB, free: 13.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4861, allocations: 5.562 kB / 0.4896 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4861, allocations: 5.984 kB / 0.4896 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.4862, allocations: 1.906 kB / 0.4896 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.4865, allocations: 54.17 kB / 0.4897 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.4865, allocations: 9.703 kB / 0.4897 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4868, allocations: 36.67 kB / 0.4897 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.4868, allocations: 9.5 kB / 0.4897 GB, free: 13.62 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.0001201/0.4869, allocations: 127.5 kB / 0.4898 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.487, allocations: 21.31 kB / 0.4898 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.487, allocations: 27.59 kB / 0.4899 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.487, allocations: 0 / 0.4899 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.487, allocations: 1.156 kB / 0.4899 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.487, allocations: 12.44 kB / 0.4899 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.4877, allocations: 0.5008 MB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4877, allocations: 0 / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.4877, allocations: 7.594 kB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4877, allocations: 0 / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4877, allocations: 1.781 kB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.4877, allocations: 1.969 kB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4877, allocations: 1.781 kB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.4879, allocations: 104.9 kB / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.925e-05/0.488, allocations: 101.6 kB / 0.4906 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4881, allocations: 7.859 kB / 0.4906 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4882, allocations: 0 / 0.4906 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.4882, allocations: 1.781 kB / 0.4906 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.4882, allocations: 6 kB / 0.4906 GB, free: 12.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.4885, allocations: 225.6 kB / 0.4908 GB, free: 12.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4885, allocations: 0 / 0.4908 GB, free: 12.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.4888, allocations: 67.44 kB / 0.4909 GB, free: 12.65 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 8.532e-05/0.4889, allocations: 99.75 kB / 0.491 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.4893, allocations: 113.5 kB / 0.4911 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4893, allocations: 0 / 0.4911 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/0.4893, allocations: 14.09 kB / 0.4911 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.4897, allocations: 26.58 kB / 0.4911 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007715/0.4905, allocations: 367.6 kB / 0.4915 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.4908, allocations: 0.743 MB / 0.4922 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.4909, allocations: 22.19 kB / 0.4922 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.4909, allocations: 18.03 kB / 0.4922 GB, free: 11.54 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4909, allocations: 0 / 0.4922 GB, free: 11.54 MB / 382.1 MB Notification: Performance of Templates: time 0.006534/0.4975, allocations: 1.842 MB / 0.494 GB, free: 11.17 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)