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.001431/0.001431, allocations: 81.39 kB / 19.18 MB, free: 2.516 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.001684/0.001684, allocations: 160.7 kB / 22.46 MB, free: 5.375 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.502/1.502, allocations: 158.6 MB / 184.2 MB, free: 6.402 MB / 174.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.008639/0.008639, allocations: 1.421 MB / 237.9 MB, free: 1.711 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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 353 MB, free: 19.24 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.275e-05, allocations: 6.281 kB / 353 MB, free: 19.23 MB / 286.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002738/0.00277, allocations: 2.124 MB / 355.1 MB, free: 17.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.003726, allocations: 0.6208 MB / 355.7 MB, free: 16.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.003814, allocations: 0 / 355.7 MB, free: 16.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.921e-05/0.003894, allocations: 31.7 kB / 355.7 MB, free: 16.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001622/0.004056, allocations: 67.41 kB / 355.8 MB, free: 16.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.004314, allocations: 51.88 kB / 355.9 MB, free: 16.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.004546, allocations: 239.3 kB / 356.1 MB, free: 16.08 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.004672, allocations: 25.8 kB / 356.1 MB, free: 16.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.004862, allocations: 127.6 kB / 356.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.004982, allocations: 75.78 kB / 356.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.005012, allocations: 12 kB / 356.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.005078, allocations: 23.94 kB / 356.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.005111, allocations: 39.83 kB / 356.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.005174, allocations: 67.83 kB / 356.5 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.005399, allocations: 183.5 kB / 356.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.005402, allocations: 0 / 356.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005403, allocations: 3.938 kB / 356.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.005408, allocations: 0 / 356.6 MB, free: 15.54 MB / 286.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.0006495/0.006058, allocations: 413.4 kB / 357 MB, free: 15.1 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.006096, allocations: 15.98 kB / 357.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.006141, allocations: 20.8 kB / 357.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.006304, allocations: 158.2 kB / 357.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.006317, allocations: 8.375 kB / 357.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.006349, allocations: 12.38 kB / 357.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.006586, allocations: 138.2 kB / 357.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006598, allocations: 4.188 kB / 357.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.006613, allocations: 4.375 kB / 357.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.006619, allocations: 7.938 kB / 357.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.006804, allocations: 99.89 kB / 357.5 MB, free: 14.61 MB / 286.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.0005789/0.007383, allocations: 400 kB / 357.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.007684, allocations: 150.7 kB / 358 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.007897, allocations: 96.75 kB / 358.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.00793, allocations: 4 kB / 358.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.007945, allocations: 34.56 kB / 358.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.007946, allocations: 0 / 358.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002468/0.01041, allocations: 0.7041 MB / 358.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.01044, allocations: 55.41 kB / 358.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01054, allocations: 157.2 kB / 359.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.01056, allocations: 33.7 kB / 359.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.0106, allocations: 108.5 kB / 359.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.01064, allocations: 67.42 kB / 359.3 MB, free: 12.71 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.01069, allocations: 41.66 kB / 359.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.01074, allocations: 326.8 kB / 359.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.01085, allocations: 52.83 kB / 359.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.01093, allocations: 47.98 kB / 359.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.01113, allocations: 112.8 kB / 359.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01113, allocations: 4 kB / 359.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003886/0.01152, allocations: 214.3 kB / 360.1 MB, free: 11.9 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01153, allocations: 11.94 kB / 360.1 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.01154, allocations: 3.938 kB / 360.1 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000607/0.01215, allocations: 100.8 kB / 360.2 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.0126, allocations: 67.89 kB / 360.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/0.01309, allocations: 1.185 MB / 361.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.01319, allocations: 8.031 kB / 361.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.0132, allocations: 8.156 kB / 361.5 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001246/0.01333, allocations: 140.1 kB / 361.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.581e-05/0.0134, allocations: 48.45 kB / 361.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001688/0.01357, allocations: 108.8 kB / 361.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.01357, allocations: 0 / 361.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004283/0.014, allocations: 222.2 kB / 362 MB, free: 9.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.01401, allocations: 11.98 kB / 362 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/0.01401, allocations: 0 / 362 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.01427, allocations: 68.78 kB / 362 MB, free: 9.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01446, allocations: 51.91 kB / 362.1 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01568, allocations: 1.681 MB / 363.8 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.01578, allocations: 16.08 kB / 363.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01579, allocations: 4 kB / 363.8 MB, free: 8.008 MB / 286.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 7.821e-05/0.01587, allocations: 184.3 kB / 364 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.0159, allocations: 15.84 kB / 364 MB, free: 7.805 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.01641, allocations: 240.1 kB / 364.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01642, allocations: 0 / 364.2 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01642, allocations: 4 kB / 364.2 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01642, allocations: 7.922 kB / 364.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.01661, allocations: 177.3 kB / 364.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01661, allocations: 0 / 364.4 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.01703, allocations: 67.88 kB / 364.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.0175, allocations: 92.75 kB / 364.6 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01751, allocations: 8 kB / 364.6 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.01794, allocations: 1.177 MB / 365.7 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01794, allocations: 4.156 kB / 365.8 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.01851, allocations: 380.1 kB / 366.1 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.01857, allocations: 31.91 kB / 366.2 MB, free: 5.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.01859, allocations: 7.938 kB / 366.2 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01872, allocations: 8 kB / 366.2 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.01877, allocations: 19.81 kB / 366.2 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.01878, allocations: 4 kB / 366.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.459e-05/0.01884, allocations: 128.9 kB / 366.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01884, allocations: 0 / 366.3 MB, free: 5.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00042/0.01926, allocations: 68 kB / 366.4 MB, free: 5.293 MB / 286.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.0001437/0.01941, allocations: 95.25 kB / 366.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009596/0.02037, allocations: 382.3 kB / 366.9 MB, free: 4.809 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02037, allocations: 3.938 kB / 366.9 MB, free: 4.805 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.02078, allocations: 99.84 kB / 367 MB, free: 4.707 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.02113, allocations: 23.98 kB / 367 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.022, allocations: 457.6 kB / 367.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.02207, allocations: 112.3 kB / 367.5 MB, free: 4.082 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.819e-05/0.02213, allocations: 16.62 kB / 367.5 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.02216, allocations: 12.5 kB / 367.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of SimCode: time 3.9e-07/0.02216, allocations: 0 / 367.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of Templates: time 0.005725/0.02789, allocations: 2.374 MB / 369.9 MB, free: 1.688 MB / 286.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.430229190737009] Failed to read output from testmodel.py, exit status != 0: 0.03714703023433685 0.053109825000000006 0.044616966 Calling exit ...