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/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/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.001152/0.001152, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01357/0.01357, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 221.4 MB, free: 7.273 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.0008909/0.000891, allocations: 93.5 kB / 270.1 MB, free: 7.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.594e-05, allocations: 0 / 326 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3693, allocations: 48.07 MB / 374.1 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4787, allocations: 76.67 MB / 450.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.479, allocations: 67.97 kB / 450.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008797/0.4878, allocations: 3.358 MB / 454.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4879, allocations: 0 / 454.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4879, allocations: 0 / 454.2 MB, free: 14.76 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.0005317/0.4884, allocations: 438.7 kB / 454.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4885, allocations: 8.031 kB / 454.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.4885, allocations: 19.8 kB / 454.6 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4888, allocations: 208.1 kB / 454.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4888, allocations: 11.98 kB / 454.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.4888, allocations: 19.95 kB / 454.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.4891, allocations: 133.6 kB / 455 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4891, allocations: 0 / 455 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4891, allocations: 4 kB / 455 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.4891, allocations: 4 kB / 455 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.4893, allocations: 80 kB / 455.1 MB, free: 13.76 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0007841/0.4901, allocations: 0.5059 MB / 455.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.4904, allocations: 151.9 kB / 455.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.4906, allocations: 93.25 kB / 455.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.4907, allocations: 8.5 kB / 455.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4907, allocations: 34.5 kB / 455.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.4907, allocations: 3.984 kB / 455.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001681/0.4924, allocations: 0.6037 MB / 456.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.4924, allocations: 51.41 kB / 456.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4926, allocations: 157.5 kB / 456.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4926, allocations: 32.23 kB / 456.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.4927, allocations: 108.5 kB / 456.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.4927, allocations: 63.09 kB / 456.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.4928, allocations: 7.938 kB / 456.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4929, allocations: 326.8 kB / 457.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.4929, allocations: 36 kB / 457.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.493, allocations: 42.36 kB / 457.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.4931, allocations: 47.25 kB / 457.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4931, allocations: 4 kB / 457.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003537/0.4935, allocations: 186.3 kB / 457.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.4936, allocations: 101.8 kB / 457.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4936, allocations: 0 / 457.6 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.4941, allocations: 84.73 kB / 457.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.4946, allocations: 67.94 kB / 457.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007236/0.4953, allocations: 1.185 MB / 458.9 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.4954, allocations: 11.97 kB / 459 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4954, allocations: 4 kB / 459 MB, free: 9.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.4955, allocations: 4 kB / 459 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003939/0.4959, allocations: 160.7 kB / 459.1 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/0.4959, allocations: 4.094 kB / 459.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.4962, allocations: 68.8 kB / 459.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4964, allocations: 51.92 kB / 459.2 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.4979, allocations: 1.63 MB / 460.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.4981, allocations: 16.08 kB / 460.9 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4981, allocations: 7.938 kB / 460.9 MB, free: 7.582 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 () * 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 8.121e-05/0.4982, allocations: 109 kB / 461 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.4982, allocations: 15.77 kB / 461 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.4987, allocations: 220.9 kB / 461.2 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4987, allocations: 8.062 kB / 461.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4988, allocations: 7.953 kB / 461.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4988, allocations: 3.984 kB / 461.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.499, allocations: 257.6 kB / 461.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4991, allocations: 0 / 461.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.4995, allocations: 59.95 kB / 461.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.4999, allocations: 94.59 kB / 461.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.5, allocations: 0 / 461.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00065/0.5006, allocations: 1.181 MB / 462.8 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5006, allocations: 4.875 kB / 462.8 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.5012, allocations: 370.5 kB / 463.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5013, allocations: 108.9 kB / 463.3 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.5013, allocations: 8.156 kB / 463.3 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.5015, allocations: 7.984 kB / 463.3 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/0.5015, allocations: 11.98 kB / 463.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.5015, allocations: 4 kB / 463.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.191e-05/0.5016, allocations: 136.6 kB / 463.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5016, allocations: 0 / 463.5 MB, free: 4.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.5021, allocations: 79.94 kB / 463.6 MB, free: 4.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 () * 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.000152/0.5022, allocations: 109.2 kB / 463.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008727/0.5031, allocations: 360.3 kB / 464 MB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5031, allocations: 3.938 kB / 464 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.5035, allocations: 99.91 kB / 464.1 MB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.5037, allocations: 16.72 kB / 464.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007238/0.5045, allocations: 346.6 kB / 464.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.5047, allocations: 0.7287 MB / 465.2 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.638e-05/0.5048, allocations: 13.2 kB / 465.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.5049, allocations: 11.44 kB / 465.2 MB, free: 3.039 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5049, allocations: 4 kB / 465.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of Templates: time 0.005368/0.5103, allocations: 2.544 MB / 467.8 MB, free: 0.5234 MB / 346.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)