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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.007712/0.007712, allocations: 174.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.618/1.618, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001758/0.001758, allocations: 116.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1778/0.1778, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 17.48 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 54.87 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.2352, allocations: 82.87 MB / 0.5312 GB, free: 360 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.2355, allocations: 71.95 kB / 0.5312 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2457/0.4812, allocations: 4.165 MB / 0.5353 GB, free: 83.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4812, allocations: 0 / 0.5353 GB, free: 83.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4813, allocations: 6.812 kB / 0.5353 GB, free: 83.55 MB / 378.7 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.0007979/0.4821, allocations: 0.5178 MB / 0.5358 GB, free: 83.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4821, allocations: 8.656 kB / 0.5358 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.4822, allocations: 39.2 kB / 0.5358 GB, free: 83.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.4824, allocations: 199.2 kB / 0.536 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4825, allocations: 31.55 kB / 0.5361 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.4826, allocations: 30.66 kB / 0.5361 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.4831, allocations: 273.4 kB / 0.5364 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4831, allocations: 4.453 kB / 0.5364 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.4832, allocations: 12.62 kB / 0.5364 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.4832, allocations: 7.375 kB / 0.5364 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004442/0.4836, allocations: 218.1 kB / 0.5366 GB, free: 82.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.4854, allocations: 1.035 MB / 0.5376 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.4855, allocations: 35.48 kB / 0.5376 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.4855, allocations: 0 / 0.5376 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.4855, allocations: 36.64 kB / 0.5377 GB, free: 82.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.4855, allocations: 3.938 kB / 0.5377 GB, free: 82.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002007/0.4857, allocations: 68.86 kB / 0.5377 GB, free: 82.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4858, allocations: 57.91 kB / 0.5378 GB, free: 82.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.4861, allocations: 296.3 kB / 0.5381 GB, free: 82.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.4862, allocations: 26.27 kB / 0.5381 GB, free: 82.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.4863, allocations: 234.2 kB / 0.5383 GB, free: 81.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.4864, allocations: 13.66 kB / 0.5383 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.4864, allocations: 5.281 kB / 0.5383 GB, free: 81.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.4865, allocations: 330.2 kB / 0.5387 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.4866, allocations: 62.69 kB / 0.5387 GB, free: 81.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4868, allocations: 91.53 kB / 0.5388 GB, free: 81.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.487, allocations: 70.95 kB / 0.5389 GB, free: 81.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.487, allocations: 4.766 kB / 0.5389 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004193/0.4874, allocations: 232 kB / 0.5391 GB, free: 81.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4874, allocations: 4.75 kB / 0.5391 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4874, allocations: 2.109 kB / 0.5391 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4875, allocations: 1.438 kB / 0.5391 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.4878, allocations: 57.77 kB / 0.5392 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.4878, allocations: 5.25 kB / 0.5392 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.488, allocations: 50.16 kB / 0.5392 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4881, allocations: 8.359 kB / 0.5392 GB, free: 81.5 MB / 378.7 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.000109/0.4882, allocations: 130.3 kB / 0.5393 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.4882, allocations: 21.05 kB / 0.5394 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.4883, allocations: 26.27 kB / 0.5394 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4883, allocations: 0.7031 kB / 0.5394 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4883, allocations: 1.312 kB / 0.5394 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.4883, allocations: 0 / 0.5394 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.4889, allocations: 0.504 MB / 0.5399 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4889, allocations: 2.031 kB / 0.5399 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.489, allocations: 7.812 kB / 0.5399 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.489, allocations: 0.6562 kB / 0.5399 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.489, allocations: 1.031 kB / 0.5399 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.489, allocations: 5.047 kB / 0.5399 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.489, allocations: 8.625 kB / 0.5399 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.4891, allocations: 111.6 kB / 0.54 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.4892, allocations: 98.5 kB / 0.5401 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4893, allocations: 5.766 kB / 0.5401 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4894, allocations: 7.938 kB / 0.5401 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.4894, allocations: 2.844 kB / 0.5401 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4894, allocations: 1.156 kB / 0.5401 GB, free: 80.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.4897, allocations: 232.3 kB / 0.5403 GB, free: 80.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4897, allocations: 0 / 0.5403 GB, free: 80.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.49, allocations: 69.44 kB / 0.5404 GB, free: 80.64 MB / 378.7 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 8.616e-05/0.4901, allocations: 92.05 kB / 0.5405 GB, free: 80.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.4904, allocations: 117.1 kB / 0.5406 GB, free: 80.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4904, allocations: 0 / 0.5406 GB, free: 80.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.77e-05/0.4904, allocations: 16.62 kB / 0.5406 GB, free: 80.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.4907, allocations: 18.38 kB / 0.5406 GB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/0.4914, allocations: 456.4 kB / 0.5411 GB, free: 80.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4917, allocations: 0.7508 MB / 0.5418 GB, free: 79.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.4918, allocations: 22.69 kB / 0.5418 GB, free: 79.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.4919, allocations: 17.34 kB / 0.5418 GB, free: 79.51 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4919, allocations: 0 / 0.5418 GB, free: 79.51 MB / 378.7 MB Notification: Performance of Templates: time 0.004294/0.4962, allocations: 1.593 MB / 0.5434 GB, free: 79.12 MB / 378.7 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)