Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestPipeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008498/0.0008495, allocations: 173 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006591/0.006591, allocations: 1.926 MB / 18.79 MB, free: 3.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.4 MB / 225.4 MB, free: 5.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007328/0.0007328, allocations: 98.28 kB / 274.3 MB, free: 5.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 12 kB / 333.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1847, allocations: 48.08 MB / 381.1 MB, free: 44.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07513/0.2599, allocations: 76.79 MB / 457.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.2601, allocations: 71.97 kB / 458 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008652/0.2688, allocations: 3.363 MB / 461.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2688, allocations: 0 / 461.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2688, allocations: 8 kB / 461.4 MB, free: 13.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005498/0.2694, allocations: 454.9 kB / 461.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2694, allocations: 8.031 kB / 461.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.2695, allocations: 16.75 kB / 461.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2697, allocations: 224.6 kB / 462.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2697, allocations: 12.36 kB / 462.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.2698, allocations: 12.38 kB / 462.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.27, allocations: 138.2 kB / 462.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.27, allocations: 192 / 462.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2701, allocations: 7.938 kB / 462.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2701, allocations: 4 kB / 462.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.2703, allocations: 107.9 kB / 462.3 MB, free: 12.36 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.271, allocations: 0.496 MB / 462.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.2713, allocations: 162.8 kB / 463 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2716, allocations: 96.81 kB / 463.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.2716, allocations: 4 kB / 463.1 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2716, allocations: 34.5 kB / 463.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2716, allocations: 0 / 463.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002364/0.274, allocations: 0.8522 MB / 464 MB, free: 10.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.274, allocations: 55.34 kB / 464 MB, free: 10.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2742, allocations: 170.4 kB / 464.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2742, allocations: 25.7 kB / 464.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.2743, allocations: 108.5 kB / 464.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.2743, allocations: 67.08 kB / 464.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2743, allocations: 8 kB / 464.4 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2744, allocations: 330.7 kB / 464.7 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.2746, allocations: 47.92 kB / 464.8 MB, free: 9.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.2747, allocations: 52.83 kB / 464.8 MB, free: 9.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.2749, allocations: 117.1 kB / 464.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2749, allocations: 4 kB / 464.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003895/0.2753, allocations: 202.2 kB / 465.1 MB, free: 9.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.2754, allocations: 97.81 kB / 465.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2754, allocations: 0 / 465.2 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.2759, allocations: 100.8 kB / 465.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.2764, allocations: 63.95 kB / 465.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006488/0.277, allocations: 1.185 MB / 466.6 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2772, allocations: 8.031 kB / 466.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.2772, allocations: 4 kB / 466.6 MB, free: 7.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/0.2772, allocations: 4 kB / 466.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004405/0.2776, allocations: 188.8 kB / 466.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.2776, allocations: 0 / 466.8 MB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.2779, allocations: 72.78 kB / 466.8 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.2781, allocations: 51.91 kB / 466.9 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2796, allocations: 1.643 MB / 468.5 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.2797, allocations: 4.031 kB / 468.5 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2797, allocations: 11.94 kB / 468.6 MB, free: 5.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.2798, allocations: 201 kB / 468.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.2799, allocations: 15.88 kB / 468.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005349/0.2804, allocations: 247.1 kB / 469 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2804, allocations: 0 / 469 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2804, allocations: 4 kB / 469 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2804, allocations: 0 / 469 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.2807, allocations: 269.5 kB / 469.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2807, allocations: 3.938 kB / 469.3 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.2811, allocations: 55.95 kB / 469.3 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.2815, allocations: 92.77 kB / 469.4 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2816, allocations: 4 kB / 469.4 MB, free: 4.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005788/0.2821, allocations: 1.181 MB / 470.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2822, allocations: 0 / 470.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.2828, allocations: 396.1 kB / 471 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.2829, allocations: 100.9 kB / 471.1 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2829, allocations: 8 kB / 471.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2831, allocations: 20.05 kB / 471.1 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2831, allocations: 15.92 kB / 471.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2831, allocations: 4 kB / 471.1 MB, free: 2.988 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.371e-05/0.2832, allocations: 132.5 kB / 471.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2832, allocations: 0 / 471.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003728/0.2836, allocations: 87.88 kB / 471.4 MB, free: 2.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pipeSegment.p) * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/0.2837, allocations: 103.2 kB / 471.5 MB, free: 2.664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.2847, allocations: 398.7 kB / 471.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2847, allocations: 0 / 471.8 MB, free: 2.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.2851, allocations: 110.6 kB / 472 MB, free: 2.156 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2854, allocations: 24.59 kB / 472 MB, free: 2.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.2864, allocations: 0.585 MB / 472.6 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2866, allocations: 0.7209 MB / 473.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.661e-05/0.2867, allocations: 17.41 kB / 473.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.2868, allocations: 11.44 kB / 473.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2868, allocations: 0 / 473.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of Templates: time 0.004977/0.2917, allocations: 2.424 MB / 475.7 MB, free: 14.32 MB / 362.7 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile (rm -f MEV_MEV.Test.TestPipeSegment.pipe ; mkfifo MEV_MEV.Test.TestPipeSegment.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipeSegment.pipe >> ../files/MEV_MEV.Test.TestPipeSegment.sim & ./MEV_MEV.Test.TestPipeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)