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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 111.8 kB / 16.37 MB, free: 5.539 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.001097/0.001097, allocations: 191.8 kB / 17.3 MB, free: 5.18 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01029/0.01029, allocations: 1.935 MB / 272.5 MB, free: 10.09 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.001431/0.001431, allocations: 59.91 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2754, allocations: 47.11 MB / 378.4 MB, free: 53.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.003182/0.2786, allocations: 2.234 MB / 380.6 MB, free: 52.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009933/0.2797, allocations: 0.6458 MB / 381.3 MB, free: 52.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.2798, allocations: 1.406 kB / 381.3 MB, free: 52.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.684e-05/0.2798, allocations: 32.3 kB / 381.3 MB, free: 52.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.28, allocations: 58.77 kB / 381.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.2803, allocations: 63.06 kB / 381.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.2806, allocations: 222.7 kB / 381.7 MB, free: 52.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2807, allocations: 35.62 kB / 381.7 MB, free: 52.08 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.2809, allocations: 88.12 kB / 381.8 MB, free: 52.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.2811, allocations: 87.28 kB / 381.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.2811, allocations: 14.75 kB / 381.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.2812, allocations: 23.88 kB / 381.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.2813, allocations: 37.48 kB / 381.9 MB, free: 52.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.2814, allocations: 95.53 kB / 382 MB, free: 52.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.2816, allocations: 185.1 kB / 382.2 MB, free: 51.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2816, allocations: 0.6562 kB / 382.2 MB, free: 51.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2816, allocations: 0 / 382.2 MB, free: 51.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2816, allocations: 1.125 kB / 382.2 MB, free: 51.97 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007134/0.2824, allocations: 489.9 kB / 382.7 MB, free: 51.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2824, allocations: 13.27 kB / 382.7 MB, free: 51.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.2825, allocations: 17.06 kB / 382.7 MB, free: 51.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2827, allocations: 226.6 kB / 382.9 MB, free: 51.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.2827, allocations: 11.03 kB / 382.9 MB, free: 51.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.2827, allocations: 12.78 kB / 383 MB, free: 51.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.283, allocations: 144.5 kB / 383.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.283, allocations: 0 / 383.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2831, allocations: 8.922 kB / 383.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2831, allocations: 3.719 kB / 383.1 MB, free: 51.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.2833, allocations: 97.67 kB / 383.2 MB, free: 51.29 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.0007678/0.2841, allocations: 497 kB / 383.7 MB, free: 50.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.2844, allocations: 168.5 kB / 383.9 MB, free: 50.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.2846, allocations: 102.8 kB / 384 MB, free: 50.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.2847, allocations: 1.906 kB / 384 MB, free: 50.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2847, allocations: 32.75 kB / 384 MB, free: 50.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2847, allocations: 0 / 384 MB, free: 50.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002485/0.2872, allocations: 0.8482 MB / 384.8 MB, free: 50.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.2872, allocations: 53.53 kB / 384.9 MB, free: 50.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2874, allocations: 183.5 kB / 385.1 MB, free: 50.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2874, allocations: 27.77 kB / 385.1 MB, free: 50.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.2875, allocations: 115.9 kB / 385.2 MB, free: 49.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.2875, allocations: 62.92 kB / 385.3 MB, free: 49.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.2876, allocations: 35.16 kB / 385.3 MB, free: 49.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.2877, allocations: 327.3 kB / 385.6 MB, free: 49.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2878, allocations: 60.22 kB / 385.7 MB, free: 49.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.2879, allocations: 48.83 kB / 385.7 MB, free: 49.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.2881, allocations: 124.2 kB / 385.9 MB, free: 49.45 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2881, allocations: 0 / 385.9 MB, free: 49.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004353/0.2886, allocations: 217.6 kB / 386.1 MB, free: 49.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2886, allocations: 6.531 kB / 386.1 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2886, allocations: 0 / 386.1 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006355/0.2893, allocations: 92.69 kB / 386.2 MB, free: 49.33 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.2898, allocations: 79.89 kB / 386.2 MB, free: 49.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005257/0.2903, allocations: 1.175 MB / 387.4 MB, free: 48.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2904, allocations: 11.69 kB / 387.4 MB, free: 48.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2904, allocations: 7.281 kB / 387.4 MB, free: 48.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001415/0.2906, allocations: 139.8 kB / 387.6 MB, free: 48.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.751e-05/0.2907, allocations: 52.16 kB / 387.6 MB, free: 48.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001863/0.2909, allocations: 111.4 kB / 387.7 MB, free: 47.99 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.2909, allocations: 0 / 387.7 MB, free: 47.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004677/0.2914, allocations: 228.2 kB / 388 MB, free: 47.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.2914, allocations: 5.906 kB / 388 MB, free: 47.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.2914, allocations: 0.7031 kB / 388 MB, free: 47.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/0.2917, allocations: 69.19 kB / 388 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2919, allocations: 44.44 kB / 388.1 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.2933, allocations: 1.831 MB / 389.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2935, allocations: 10.08 kB / 389.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2935, allocations: 4 kB / 389.9 MB, free: 46.18 MB / 318.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 9.327e-05/0.2936, allocations: 190.8 kB / 390.1 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.2936, allocations: 20.22 kB / 390.1 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.2942, allocations: 243.5 kB / 390.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2942, allocations: 1.125 kB / 390.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.2942, allocations: 1.094 kB / 390.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2942, allocations: 1.547 kB / 390.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.2945, allocations: 259 kB / 390.6 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2945, allocations: 2.156 kB / 390.6 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.295, allocations: 66.47 kB / 390.7 MB, free: 45.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004893/0.2955, allocations: 85.91 kB / 390.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.2955, allocations: 6.609 kB / 390.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004849/0.296, allocations: 1.182 MB / 392 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.296, allocations: 0.5625 kB / 392 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/0.2966, allocations: 395.5 kB / 392.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.2967, allocations: 109.4 kB / 392.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2968, allocations: 1.375 kB / 392.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2969, allocations: 7.922 kB / 392.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2969, allocations: 13.66 kB / 392.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.297, allocations: 4.125 kB / 392.5 MB, free: 44.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.2971, allocations: 137.2 kB / 392.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2971, allocations: 6.219 kB / 392.6 MB, free: 43.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.2975, allocations: 71.25 kB / 392.7 MB, free: 43.98 MB / 318.1 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 (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000126/0.2976, allocations: 101 kB / 392.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.2986, allocations: 387 kB / 393.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2987, allocations: 0 / 393.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.2991, allocations: 109.4 kB / 393.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2995, allocations: 23.48 kB / 393.3 MB, free: 43.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3005, allocations: 0.5109 MB / 393.8 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.3007, allocations: 0.7212 MB / 394.5 MB, free: 42.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.565e-05/0.3008, allocations: 14.53 kB / 394.5 MB, free: 42.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3009, allocations: 12.81 kB / 394.6 MB, free: 42.68 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3009, allocations: 1.5 kB / 394.6 MB, free: 42.68 MB / 318.1 MB Notification: Performance of Templates: time 0.007249/0.3081, allocations: 2.68 MB / 397.2 MB, free: 42.56 MB / 318.1 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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestPipeSegment.pipe 2>&1)