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.001867/0.001867, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002476/0.002476, allocations: 213.5 kB / 23.01 MB, free: 4.566 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.465/1.465, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.009064/0.009064, allocations: 1.966 MB / 288 MB, free: 3.859 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.002282/0.002282, allocations: 78.61 kB / 403 MB, free: 50.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07698/0.07926, allocations: 49.71 MB / 452.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.00269/0.08195, allocations: 2.256 MB / 455 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.08283, allocations: 0.6595 MB / 455.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.08291, allocations: 0 / 455.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.363e-05/0.08297, allocations: 27.77 kB / 455.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.08312, allocations: 71.39 kB / 455.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.08335, allocations: 59.88 kB / 455.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.08355, allocations: 223.4 kB / 456 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.08367, allocations: 33.78 kB / 456.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.08379, allocations: 87.59 kB / 456.1 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.08391, allocations: 91.61 kB / 456.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.08394, allocations: 16 kB / 456.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.084, allocations: 24 kB / 456.3 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.08403, allocations: 39.89 kB / 456.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.0841, allocations: 91.53 kB / 456.4 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.08429, allocations: 179.2 kB / 456.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.0843, allocations: 4 kB / 456.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.0843, allocations: 0 / 456.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.08431, allocations: 0 / 456.6 MB, free: 1.895 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.000672/0.08498, allocations: 413.4 kB / 457 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.08502, allocations: 15.98 kB / 457 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.08506, allocations: 20.8 kB / 457 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.08524, allocations: 160.6 kB / 457.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.08525, allocations: 12.36 kB / 457.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.08529, allocations: 12.38 kB / 457.2 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.08552, allocations: 141.9 kB / 457.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.08553, allocations: 0 / 457.3 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.08555, allocations: 12 kB / 457.3 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.08556, allocations: 4 kB / 457.4 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.08574, allocations: 91.95 kB / 457.4 MB, free: 0.9727 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.0006273/0.08637, allocations: 475.3 kB / 457.9 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.08664, allocations: 154.7 kB / 458.1 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.08684, allocations: 80.81 kB / 458.1 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.08687, allocations: 7.984 kB / 458.1 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.08688, allocations: 38.5 kB / 458.2 MB, free: 172 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.08688, allocations: 4 kB / 458.2 MB, free: 168 kB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002633/0.08952, allocations: 0.6927 MB / 458.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.08956, allocations: 51.41 kB / 458.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.08976, allocations: 187.2 kB / 459.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.08978, allocations: 29.7 kB / 459.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.08985, allocations: 108.5 kB / 459.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.08992, allocations: 67.47 kB / 459.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.08999, allocations: 41.61 kB / 459.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.09013, allocations: 322.8 kB / 459.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.09025, allocations: 56.83 kB / 459.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.09036, allocations: 47.98 kB / 459.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.0906, allocations: 121.8 kB / 459.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.0906, allocations: 4 kB / 459.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004784/0.09108, allocations: 222.2 kB / 460.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.09109, allocations: 4 kB / 460.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.0911, allocations: 4 kB / 460.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.09177, allocations: 96.77 kB / 460.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004923/0.09227, allocations: 67.94 kB / 460.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000893/0.09316, allocations: 1.185 MB / 461.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.09327, allocations: 4.031 kB / 461.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.09329, allocations: 8 kB / 461.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001802/0.09347, allocations: 136.1 kB / 461.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.431e-05/0.09356, allocations: 43.98 kB / 461.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002148/0.09378, allocations: 120.8 kB / 461.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.62e-07/0.09378, allocations: 8 kB / 461.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0005204/0.0943, allocations: 222.7 kB / 462 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.09431, allocations: 8 kB / 462 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-06/0.09431, allocations: 0 / 462 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.09461, allocations: 72.8 kB / 462.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.09482, allocations: 39.97 kB / 462.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.09671, allocations: 1.738 MB / 463.9 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.09682, allocations: 4 kB / 463.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.09683, allocations: 4 kB / 463.9 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.000145/0.09697, allocations: 200.2 kB / 464.1 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.09702, allocations: 19.84 kB / 464.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.09764, allocations: 236.2 kB / 464.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.09764, allocations: 8 kB / 464.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.09764, allocations: 0 / 464.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.09765, allocations: 4 kB / 464.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.09795, allocations: 220.6 kB / 464.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.09795, allocations: 0 / 464.5 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.0984, allocations: 67.88 kB / 464.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005223/0.09892, allocations: 92.77 kB / 464.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.09894, allocations: 4 kB / 464.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008182/0.09975, allocations: 1.173 MB / 465.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09976, allocations: 160 / 465.9 MB, free: 8.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.1005, allocations: 396 kB / 466.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.1006, allocations: 35.84 kB / 466.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1006, allocations: 0 / 466.3 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1007, allocations: 11.94 kB / 466.3 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.1008, allocations: 16.03 kB / 466.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1008, allocations: 11.94 kB / 466.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1009, allocations: 133.2 kB / 466.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1009, allocations: 0 / 466.5 MB, free: 7.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.1013, allocations: 72 kB / 466.5 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.0001443/0.1014, allocations: 99.05 kB / 466.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1025, allocations: 378.6 kB / 467 MB, free: 6.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1025, allocations: 4 kB / 467 MB, free: 6.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.103, allocations: 99.88 kB / 467.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1033, allocations: 24.23 kB / 467.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1044, allocations: 0.5408 MB / 467.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1048, allocations: 0.7245 MB / 468.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.1048, allocations: 15.44 kB / 468.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1048, allocations: 0 / 468.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Templates: time 0.005635/0.1105, allocations: 3.163 MB / 471.6 MB, free: 2.273 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: 7.559636187041178] Failed to read output from testmodel.py, exit status != 0: 0.11834378191269934 0.13335724099999996 0.046045114000000005 Calling exit ...