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.0008641/0.0008641, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008396/0.0008396, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8105/0.8105, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 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.00597/0.00597, allocations: 1.428 MB / 238.7 MB, free: 13.95 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 353.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.993e-05, allocations: 2.281 kB / 353.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.001823/0.001843, allocations: 2.128 MB / 355.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007125/0.002556, allocations: 0.6208 MB / 356.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.002619, allocations: 0 / 356.5 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.002666, allocations: 27.77 kB / 356.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.002784, allocations: 67.36 kB / 356.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.003006, allocations: 59.86 kB / 356.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.003164, allocations: 235.3 kB / 356.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003271, allocations: 29.78 kB / 356.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.003409, allocations: 119.7 kB / 357 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.00349, allocations: 75.78 kB / 357.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.00351, allocations: 12 kB / 357.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.003561, allocations: 23.94 kB / 357.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.003584, allocations: 35.84 kB / 357.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.003623, allocations: 67.83 kB / 357.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.003791, allocations: 183.4 kB / 357.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003793, allocations: 4 kB / 357.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003794, allocations: 0 / 357.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.003798, allocations: 3.938 kB / 357.4 MB, free: 11.72 MB / 282.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.000454/0.004252, allocations: 409.4 kB / 357.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.004285, allocations: 15.98 kB / 357.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.00433, allocations: 24.8 kB / 357.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.004464, allocations: 162.2 kB / 358 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004474, allocations: 8.375 kB / 358 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.004498, allocations: 12.38 kB / 358 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.004665, allocations: 134.2 kB / 358.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.004673, allocations: 192 / 358.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.004686, allocations: 8.375 kB / 358.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004692, allocations: 7.938 kB / 358.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.004814, allocations: 95.95 kB / 358.2 MB, free: 10.8 MB / 282.7 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.0004286/0.005243, allocations: 404 kB / 358.6 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.005452, allocations: 151.2 kB / 358.8 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.005582, allocations: 84.81 kB / 358.9 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.005606, allocations: 4 kB / 358.9 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.139e-05/0.005617, allocations: 38.55 kB / 358.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 8.52e-07/0.005618, allocations: 0 / 358.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001323/0.006941, allocations: 0.7014 MB / 359.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.006961, allocations: 55.41 kB / 359.7 MB, free: 9.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.218e-05/0.007033, allocations: 157.9 kB / 359.8 MB, free: 9.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.007043, allocations: 37.64 kB / 359.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.007073, allocations: 112.5 kB / 360 MB, free: 8.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.007102, allocations: 67.42 kB / 360 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.007139, allocations: 33.67 kB / 360.1 MB, free: 8.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.732e-05/0.007167, allocations: 330.8 kB / 360.4 MB, free: 8.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.007236, allocations: 56.77 kB / 360.4 MB, free: 8.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.007293, allocations: 55.94 kB / 360.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.007418, allocations: 116.8 kB / 360.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.007419, allocations: 0 / 360.6 MB, free: 8.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002316/0.00765, allocations: 210.3 kB / 360.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.00766, allocations: 4 kB / 360.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.007665, allocations: 11.88 kB / 360.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.007991, allocations: 100.8 kB / 360.9 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.008215, allocations: 67.94 kB / 361 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003135/0.008529, allocations: 1.185 MB / 362.2 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.008574, allocations: 8.031 kB / 362.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.008583, allocations: 8 kB / 362.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.325e-05/0.008666, allocations: 140.1 kB / 362.3 MB, free: 6.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.005e-05/0.008716, allocations: 44.5 kB / 362.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001129/0.008829, allocations: 121.1 kB / 362.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-07/0.00883, allocations: 0 / 362.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0002438/0.009074, allocations: 218.4 kB / 362.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/0.00908, allocations: 8 kB / 362.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-06/0.009081, allocations: 0 / 362.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.009227, allocations: 68.8 kB / 362.8 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.00932, allocations: 47.97 kB / 362.8 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/0.0101, allocations: 1.681 MB / 364.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.01014, allocations: 8.016 kB / 364.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.01015, allocations: 8.062 kB / 364.5 MB, free: 4.203 MB / 282.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 () * 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 5.495e-05/0.0102, allocations: 192.3 kB / 364.7 MB, free: 4.008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.01022, allocations: 19.84 kB / 364.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.01051, allocations: 240 kB / 365 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01051, allocations: 0 / 365 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.62e-07/0.01051, allocations: 0 / 365 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01052, allocations: 11.92 kB / 365 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.01064, allocations: 173.3 kB / 365.1 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01064, allocations: 4 kB / 365.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.01084, allocations: 59.94 kB / 365.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.01106, allocations: 88.77 kB / 365.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.01107, allocations: 8 kB / 365.3 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002511/0.01133, allocations: 1.181 MB / 366.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01133, allocations: 0 / 366.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.01165, allocations: 387 kB / 366.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.0117, allocations: 31.91 kB / 366.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.01171, allocations: 7.938 kB / 366.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.01177, allocations: 12.16 kB / 366.9 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.0118, allocations: 19.88 kB / 366.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.0118, allocations: 7.938 kB / 366.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.233e-05/0.01185, allocations: 120.2 kB / 367.1 MB, free: 1.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01185, allocations: 4 kB / 367.1 MB, free: 1.547 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.0121, allocations: 68 kB / 367.1 MB, free: 1.48 MB / 282.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 () * 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 9.544e-05/0.01219, allocations: 95.25 kB / 367.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.01273, allocations: 378.7 kB / 367.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01273, allocations: 0 / 367.6 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.01292, allocations: 103.8 kB / 367.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01314, allocations: 27.98 kB / 367.7 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005665/0.01371, allocations: 483.4 kB / 368.2 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.129e-05/0.01376, allocations: 116.2 kB / 368.3 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.01379, allocations: 12.5 kB / 368.3 MB, free: 224 kB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01379, allocations: 0 / 368.3 MB, free: 224 kB / 282.7 MB Notification: Performance of Templates: time 0.003334/0.01712, allocations: 3.139 MB / 371.5 MB, free: 13.07 MB / 298.7 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.328229707665741] Failed to read output from testmodel.py, exit status != 0: 0.02189895138144493 0.030155371 0.024772461000000003 Calling exit ...