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.001939/0.001939, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002405/0.002405, allocations: 214.7 kB / 22.25 MB, free: 4.859 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.422/1.422, allocations: 207.7 MB / 233.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.009063/0.009063, allocations: 1.97 MB / 287.3 MB, free: 3.68 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.002447/0.002447, allocations: 75.47 kB / 402.3 MB, free: 50.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06301/0.06546, allocations: 49.7 MB / 452 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002656/0.06811, allocations: 2.124 MB / 454.1 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009631/0.06907, allocations: 0.6206 MB / 454.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.06919, allocations: 0 / 454.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.508e-05/0.06925, allocations: 27.77 kB / 454.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.06944, allocations: 67.42 kB / 454.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.06967, allocations: 59.86 kB / 454.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.06986, allocations: 227.3 kB / 455.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.06997, allocations: 29.8 kB / 455.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.07011, allocations: 83.72 kB / 455.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.07023, allocations: 87.53 kB / 455.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.07025, allocations: 16 kB / 455.3 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.633e-05/0.07032, allocations: 16 kB / 455.3 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.07035, allocations: 39.84 kB / 455.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.07041, allocations: 75.66 kB / 455.4 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.0706, allocations: 183.2 kB / 455.6 MB, free: 1.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.0706, allocations: 4 kB / 455.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0706, allocations: 0 / 455.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.07061, allocations: 0 / 455.6 MB, free: 1.941 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.0006537/0.07126, allocations: 413.4 kB / 456 MB, free: 1.508 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.07129, allocations: 11.98 kB / 456 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.22e-05/0.07135, allocations: 20.8 kB / 456 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.07152, allocations: 164.6 kB / 456.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.07153, allocations: 16.36 kB / 456.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.07156, allocations: 12.38 kB / 456.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.0718, allocations: 137.9 kB / 456.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.07181, allocations: 0 / 456.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.07183, allocations: 4 kB / 456.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.07183, allocations: 7.938 kB / 456.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.07202, allocations: 95.95 kB / 456.5 MB, free: 1.02 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.0005957/0.07262, allocations: 415.9 kB / 456.9 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.0729, allocations: 150.7 kB / 457 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.0731, allocations: 88.81 kB / 457.1 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.07312, allocations: 0 / 457.1 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.07315, allocations: 34.56 kB / 457.1 MB, free: 300 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.07315, allocations: 0 / 457.1 MB, free: 300 kB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002604/0.07575, allocations: 0.6971 MB / 457.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.0758, allocations: 55.41 kB / 457.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.07597, allocations: 159.3 kB / 458.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.076, allocations: 29.7 kB / 458.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/0.07608, allocations: 116.5 kB / 458.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.07615, allocations: 63.47 kB / 458.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.07622, allocations: 33.67 kB / 458.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.07637, allocations: 326.8 kB / 458.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.07651, allocations: 56.83 kB / 458.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.07663, allocations: 55.98 kB / 458.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.07688, allocations: 121.8 kB / 458.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.07688, allocations: 0 / 458.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005124/0.0774, allocations: 218.2 kB / 459.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.07741, allocations: 4 kB / 459.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.07742, allocations: 0 / 459.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.07808, allocations: 104.8 kB / 459.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.07858, allocations: 63.94 kB / 459.2 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009224/0.0795, allocations: 1.185 MB / 460.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.07961, allocations: 8.031 kB / 460.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.07963, allocations: 7.984 kB / 460.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001913/0.07982, allocations: 136.1 kB / 460.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.997e-05/0.07992, allocations: 43.98 kB / 460.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002277/0.08015, allocations: 120.7 kB / 460.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.42e-07/0.08015, allocations: 0 / 460.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005538/0.08071, allocations: 222.8 kB / 460.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.08072, allocations: 7.938 kB / 460.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.08072, allocations: 0 / 460.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.08105, allocations: 76.73 kB / 461 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.08126, allocations: 39.97 kB / 461.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.08322, allocations: 1.708 MB / 462.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.08332, allocations: 0 / 462.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.08333, allocations: 4.031 kB / 462.8 MB, free: 10.39 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.0001342/0.08346, allocations: 196.3 kB / 463 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.08352, allocations: 15.91 kB / 463 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/0.08415, allocations: 244.2 kB / 463.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.08416, allocations: 4 kB / 463.2 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.08416, allocations: 7.922 kB / 463.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.08417, allocations: 0 / 463.2 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.08444, allocations: 173.3 kB / 463.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.08444, allocations: 0 / 463.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.08491, allocations: 67.94 kB / 463.5 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.08543, allocations: 84.78 kB / 463.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.08545, allocations: 0 / 463.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008626/0.08631, allocations: 1.185 MB / 464.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.08632, allocations: 3.984 kB / 464.7 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.08708, allocations: 395.9 kB / 465.1 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.08716, allocations: 23.89 kB / 465.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.08718, allocations: 8 kB / 465.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.08731, allocations: 224 / 465.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.08736, allocations: 19.97 kB / 465.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.08737, allocations: 4 kB / 465.2 MB, free: 7.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.08748, allocations: 120 kB / 465.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08748, allocations: 0 / 465.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00043/0.08791, allocations: 72 kB / 465.4 MB, free: 7.68 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.000152/0.08806, allocations: 103 kB / 465.5 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.0892, allocations: 370.6 kB / 465.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.08921, allocations: 0 / 465.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.0897, allocations: 107.8 kB / 465.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.09004, allocations: 19.92 kB / 465.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.09116, allocations: 0.5079 MB / 466.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.09129, allocations: 112.1 kB / 466.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.09136, allocations: 8.656 kB / 466.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.0914, allocations: 15.44 kB / 466.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.0914, allocations: 0 / 466.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of Templates: time 0.00668/0.09808, allocations: 2.56 MB / 469.1 MB, free: 3.816 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.421397563070059] Failed to read output from testmodel.py, exit status != 0: 0.10614289529621601 0.12246496099999994 0.04854550399999994 Calling exit ...