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.001382/0.001382, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01722/0.01722, allocations: 1.926 MB / 9.998 MB, free: 0.582 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.3 MB / 216.2 MB, free: 15.89 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.0008387/0.0008386, allocations: 97.62 kB / 264.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.578e-05, allocations: 4 kB / 319 MB, free: 19.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 48.08 MB / 367.1 MB, free: 3.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4939, allocations: 76.01 MB / 443.1 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4941, allocations: 69.84 kB / 443.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008789/0.5029, allocations: 3.322 MB / 446.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.503, allocations: 0 / 446.5 MB, free: 15.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.503, allocations: 12 kB / 446.5 MB, free: 15.13 MB / 330.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.0005248/0.5035, allocations: 429.1 kB / 447 MB, free: 14.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5036, allocations: 12.03 kB / 447 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.5037, allocations: 19.8 kB / 447 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.5039, allocations: 207.8 kB / 447.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.5039, allocations: 11.98 kB / 447.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.5039, allocations: 11.95 kB / 447.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001778/0.5041, allocations: 78.75 kB / 447.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.5043, allocations: 104.7 kB / 447.4 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5043, allocations: 9.344 kB / 447.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.5044, allocations: 0 / 447.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5044, allocations: 0 / 447.4 MB, free: 14.25 MB / 330.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.0007207/0.5051, allocations: 461 kB / 447.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.5054, allocations: 151.5 kB / 448 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.5056, allocations: 97.47 kB / 448.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.5056, allocations: 0 / 448.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.5056, allocations: 41.81 kB / 448.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.5056, allocations: 0 / 448.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001565/0.5072, allocations: 0.5695 MB / 448.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5072, allocations: 55.41 kB / 448.8 MB, free: 13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5074, allocations: 134.4 kB / 448.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.5074, allocations: 25.7 kB / 448.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.5074, allocations: 113.4 kB / 449 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.5075, allocations: 64.78 kB / 449.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.5075, allocations: 3.938 kB / 449.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5076, allocations: 326.4 kB / 449.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-05/0.5077, allocations: 38.38 kB / 449.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.838e-05/0.5078, allocations: 46.16 kB / 449.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.5079, allocations: 49.42 kB / 449.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5079, allocations: 0 / 449.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003709/0.5083, allocations: 184.5 kB / 449.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/0.5084, allocations: 97.52 kB / 449.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5084, allocations: 0 / 449.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.5087, allocations: 71.91 kB / 449.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.5092, allocations: 63.39 kB / 450 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/0.51, allocations: 1.201 MB / 451.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.5101, allocations: 12 kB / 451.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.5101, allocations: 4 kB / 451.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5102, allocations: 7.281 kB / 451.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003772/0.5105, allocations: 147.9 kB / 451.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.5106, allocations: 4.031 kB / 451.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.5108, allocations: 71.88 kB / 451.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.5111, allocations: 43.97 kB / 451.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.5124, allocations: 1.562 MB / 453 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.5125, allocations: 4.031 kB / 453 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.5126, allocations: 8.062 kB / 453 MB, free: 8.91 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: pipeSegment.uout:VARIABLE(unit = "m/s" ) "Leaving fluid velocity" type: Real 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 0.0001297/0.5127, allocations: 101 kB / 453.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.5127, allocations: 15.81 kB / 453.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.5133, allocations: 212.6 kB / 453.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5133, allocations: 11.94 kB / 453.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.5133, allocations: 0 / 453.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5133, allocations: 3.984 kB / 453.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.5136, allocations: 224.9 kB / 453.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5136, allocations: 0 / 453.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.514, allocations: 67.27 kB / 453.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.5143, allocations: 67.5 kB / 453.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.5143, allocations: 0 / 453.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/0.5151, allocations: 1.195 MB / 454.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5151, allocations: 12.11 kB / 454.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.5157, allocations: 351.1 kB / 455.2 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.5158, allocations: 104.4 kB / 455.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.5158, allocations: 0 / 455.3 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.516, allocations: 12.05 kB / 455.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.516, allocations: 15.88 kB / 455.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.516, allocations: 7.062 kB / 455.4 MB, free: 6.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.713e-05/0.5161, allocations: 115 kB / 455.5 MB, free: 6.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5161, allocations: 0 / 455.5 MB, free: 6.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003978/0.5165, allocations: 68 kB / 455.6 MB, free: 6.434 MB / 330.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.0001527/0.5167, allocations: 91.25 kB / 455.7 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008175/0.5175, allocations: 343.5 kB / 456 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5175, allocations: 0 / 456 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.5179, allocations: 100.6 kB / 456.1 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.5181, allocations: 15.36 kB / 456.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.5189, allocations: 325 kB / 456.4 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.5192, allocations: 0.7243 MB / 457.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.5193, allocations: 24.53 kB / 457.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.5194, allocations: 11.44 kB / 457.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5194, allocations: 0 / 457.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of Templates: time 0.004936/0.5243, allocations: 2.199 MB / 459.4 MB, free: 2.676 MB / 330.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)