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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 217.2 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 207.6 MB / 233 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008401/0.008401, allocations: 1.962 MB / 287.2 MB, free: 3.852 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.7 kB / 402.3 MB, free: 50.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06684/0.06895, allocations: 49.7 MB / 452 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002451/0.0714, allocations: 2.252 MB / 454.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.07215, allocations: 0.6672 MB / 454.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.776e-05/0.07221, allocations: 0 / 454.9 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.436e-05/0.07227, allocations: 23.78 kB / 454.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.0724, allocations: 71.41 kB / 455 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.07259, allocations: 59.86 kB / 455 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.07277, allocations: 227.3 kB / 455.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.07287, allocations: 25.81 kB / 455.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.07298, allocations: 95.62 kB / 455.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.07309, allocations: 83.62 kB / 455.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.07311, allocations: 16 kB / 455.5 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.07317, allocations: 27.98 kB / 455.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.07319, allocations: 39.84 kB / 455.5 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.07325, allocations: 87.55 kB / 455.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.07342, allocations: 187.2 kB / 455.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.07342, allocations: 0 / 455.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.07343, allocations: 0 / 455.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.07343, allocations: 0 / 455.8 MB, free: 1.891 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.0006343/0.07407, allocations: 413.4 kB / 456.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.07409, allocations: 15.98 kB / 456.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.07413, allocations: 20.8 kB / 456.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.0743, allocations: 163.6 kB / 456.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.07431, allocations: 12.36 kB / 456.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.07434, allocations: 12.38 kB / 456.4 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.07455, allocations: 137.9 kB / 456.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.07456, allocations: 0 / 456.6 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.07458, allocations: 4 kB / 456.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.07458, allocations: 8 kB / 456.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.07476, allocations: 99.88 kB / 456.7 MB, free: 0.9648 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.000594/0.07536, allocations: 475.3 kB / 457.1 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.07561, allocations: 150.6 kB / 457.3 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.0758, allocations: 88.94 kB / 457.4 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.07582, allocations: 7.938 kB / 457.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.07583, allocations: 34.56 kB / 457.4 MB, free: 164 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.07583, allocations: 0 / 457.4 MB, free: 164 kB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002536/0.07837, allocations: 0.6966 MB / 458.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.07841, allocations: 51.41 kB / 458.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.07859, allocations: 187.2 kB / 458.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.07861, allocations: 25.7 kB / 458.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.0787, allocations: 112.5 kB / 458.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.07875, allocations: 63.47 kB / 458.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.07882, allocations: 45.66 kB / 458.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.07897, allocations: 326.8 kB / 458.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.07908, allocations: 48.84 kB / 459 MB, free: 14.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.07919, allocations: 51.97 kB / 459 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.07942, allocations: 117.9 kB / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.07942, allocations: 0 / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004748/0.07989, allocations: 222.2 kB / 459.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.07991, allocations: 8 kB / 459.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.07991, allocations: 0 / 459.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.08055, allocations: 96.72 kB / 459.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.08103, allocations: 71.94 kB / 459.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009045/0.08193, allocations: 1.181 MB / 460.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.08204, allocations: 8.031 kB / 460.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.08206, allocations: 4 kB / 460.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001708/0.08223, allocations: 140.1 kB / 460.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.199e-05/0.08232, allocations: 43.98 kB / 460.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002172/0.08254, allocations: 120.7 kB / 461 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.08254, allocations: 0 / 461 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005192/0.08306, allocations: 218.8 kB / 461.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.08307, allocations: 8 kB / 461.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.08307, allocations: 80 / 461.2 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.08337, allocations: 80.77 kB / 461.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.08358, allocations: 43.91 kB / 461.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.08539, allocations: 1.738 MB / 463.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.08549, allocations: 4 kB / 463.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.0855, allocations: 4.031 kB / 463.1 MB, free: 10.2 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 (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 0.0001282/0.08562, allocations: 200.2 kB / 463.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.08567, allocations: 15.91 kB / 463.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.08626, allocations: 232.2 kB / 463.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.08626, allocations: 4 kB / 463.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.08626, allocations: 0 / 463.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.08627, allocations: 3.984 kB / 463.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.08656, allocations: 232.6 kB / 463.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.08656, allocations: 8 kB / 463.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.08701, allocations: 59.89 kB / 463.8 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.08751, allocations: 84.78 kB / 463.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.08753, allocations: 8 kB / 463.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007949/0.08832, allocations: 1.181 MB / 465.1 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.08832, allocations: 4.031 kB / 465.1 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.08903, allocations: 388.1 kB / 465.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.62e-05/0.0891, allocations: 39.84 kB / 465.5 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.08913, allocations: 4 kB / 465.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.08926, allocations: 4 kB / 465.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.0893, allocations: 15.91 kB / 465.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.08931, allocations: 8.062 kB / 465.6 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.08943, allocations: 133.2 kB / 465.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08943, allocations: 0 / 465.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000397/0.08983, allocations: 72 kB / 465.8 MB, free: 7.398 MB / 334.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.0001338/0.08996, allocations: 107 kB / 465.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.09102, allocations: 374.6 kB / 466.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.09102, allocations: 0 / 466.2 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.09148, allocations: 95.94 kB / 466.3 MB, free: 6.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.0918, allocations: 27.98 kB / 466.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.09282, allocations: 0.5159 MB / 466.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.09316, allocations: 0.7206 MB / 467.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.704e-05/0.09323, allocations: 21.41 kB / 467.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.09326, allocations: 11.44 kB / 467.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.09326, allocations: 0 / 467.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of Templates: time 0.006521/0.09978, allocations: 2.877 MB / 470.5 MB, free: 2.582 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.052645355928689] Failed to read output from testmodel.py, exit status != 0: 0.1070288980845362 0.121559603 0.04526485 Calling exit ...