Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipes.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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007154/0.007154, allocations: 95.61 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.001789/0.001789, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008668/0.008668, allocations: 1.928 MB / 271.8 MB, free: 3.246 MB / 222.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: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.91 kB / 378.2 MB, free: 436 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08964, allocations: 47.13 MB / 425.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.1667/0.2564, allocations: 2.87 MB / 428.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.2576, allocations: 0.7885 MB / 429 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2578, allocations: 2.531 kB / 429 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.286e-05/0.2578, allocations: 43.25 kB / 429.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2581, allocations: 109.7 kB / 429.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.2584, allocations: 104.5 kB / 429.3 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.2588, allocations: 420.6 kB / 429.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.259, allocations: 70.52 kB / 429.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2592, allocations: 148.9 kB / 429.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2594, allocations: 167.6 kB / 430.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.2595, allocations: 29.75 kB / 430.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.2596, allocations: 42.2 kB / 430.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.2597, allocations: 69.61 kB / 430.2 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.2598, allocations: 174 kB / 430.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.2602, allocations: 327.5 kB / 430.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2602, allocations: 0 / 430.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2602, allocations: 0 / 430.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2602, allocations: 1.219 kB / 430.7 MB, free: 9.367 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009937/0.2612, allocations: 0.6234 MB / 431.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2612, allocations: 14.53 kB / 431.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.2613, allocations: 36.14 kB / 431.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2615, allocations: 263.1 kB / 431.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2615, allocations: 18.38 kB / 431.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.2616, allocations: 25.59 kB / 431.7 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.262, allocations: 236.8 kB / 431.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.262, allocations: 0 / 431.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.2621, allocations: 11.17 kB / 431.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2621, allocations: 6.281 kB / 431.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.2624, allocations: 187.5 kB / 432.1 MB, free: 8.387 MB / 318.1 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.001071/0.2635, allocations: 0.7404 MB / 432.8 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.2641, allocations: 305.3 kB / 433.1 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.2644, allocations: 151.5 kB / 433.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.2644, allocations: 11.95 kB / 433.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2644, allocations: 41.31 kB / 433.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.2644, allocations: 0 / 433.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.004896/0.2693, allocations: 1.546 MB / 434.9 MB, free: 6.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.2694, allocations: 55.58 kB / 434.9 MB, free: 6.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.2696, allocations: 233.4 kB / 435.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.2696, allocations: 30.86 kB / 435.2 MB, free: 6.602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.2697, allocations: 139.2 kB / 435.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.2697, allocations: 126.7 kB / 435.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.963e-05/0.2698, allocations: 64.67 kB / 435.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.2699, allocations: 340.1 kB / 435.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.2701, allocations: 98.2 kB / 436 MB, free: 5.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.2703, allocations: 92.5 kB / 436 MB, free: 5.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.2707, allocations: 226.2 kB / 436.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2707, allocations: 3.938 kB / 436.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007601/0.2715, allocations: 401.6 kB / 436.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2715, allocations: 8.938 kB / 436.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2715, allocations: 1.844 kB / 436.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.2731, allocations: 270.4 kB / 436.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.2736, allocations: 80.77 kB / 437 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000999/0.2746, allocations: 1.865 MB / 438.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.2748, allocations: 8.328 kB / 438.9 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.2749, allocations: 14.66 kB / 438.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002273/0.2751, allocations: 189.1 kB / 439.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001599/0.2753, allocations: 94.31 kB / 439.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003389/0.2756, allocations: 223 kB / 439.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.2756, allocations: 0 / 439.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009964/0.2766, allocations: 435.4 kB / 439.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2767, allocations: 9.219 kB / 439.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2767, allocations: 1.344 kB / 439.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008347/0.2775, allocations: 199.6 kB / 440 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2778, allocations: 65.42 kB / 440.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.2816, allocations: 3.988 MB / 444.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.2818, allocations: 16.66 kB / 444.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2818, allocations: 5.375 kB / 444.1 MB, free: 15.75 MB / 334.1 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.282, allocations: 201.2 kB / 444.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.2821, allocations: 37.19 kB / 444.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.2831, allocations: 408.8 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2831, allocations: 8.328 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2831, allocations: 1.344 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.2831, allocations: 2.016 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.2836, allocations: 352.7 kB / 445.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2836, allocations: 1.375 kB / 445.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.2841, allocations: 82.03 kB / 445.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.2855, allocations: 246.1 kB / 445.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2856, allocations: 9.969 kB / 445.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.2869, allocations: 1.862 MB / 447.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2869, allocations: 4.062 kB / 447.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.2879, allocations: 0.6077 MB / 447.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2881, allocations: 136.8 kB / 448 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2881, allocations: 7.031 kB / 448 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.2883, allocations: 9.109 kB / 448 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.2884, allocations: 24.81 kB / 448.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2884, allocations: 6.344 kB / 448.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.2886, allocations: 171.6 kB / 448.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2886, allocations: 1 kB / 448.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.2892, allocations: 143.3 kB / 448.4 MB, free: 12.63 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001397/0.2893, allocations: 99.55 kB / 448.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.2912, allocations: 0.7816 MB / 449.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2912, allocations: 1.688 kB / 449.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.2919, allocations: 211.4 kB / 449.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2923, allocations: 38.5 kB / 449.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2939, allocations: 0.8215 MB / 450.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.2942, allocations: 0.7735 MB / 451.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.2943, allocations: 22.67 kB / 451.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.2944, allocations: 15.66 kB / 451.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2944, allocations: 1.312 kB / 451.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Templates: time 0.009466/0.3039, allocations: 5.486 MB / 456.6 MB, free: 8.949 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)