Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") translateModel(MEV.Test.TestPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 103.8 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009622/0.009622, allocations: 1.924 MB / 272.5 MB, free: 10.06 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 71.09 kB / 378.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07286/0.07434, allocations: 47.14 MB / 426 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.00283/0.07721, allocations: 2.878 MB / 428.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.07812, allocations: 0.7769 MB / 429.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.07823, allocations: 4 kB / 429.7 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.442e-05/0.07832, allocations: 43.55 kB / 429.7 MB, free: 16.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.07852, allocations: 119 kB / 429.9 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.0788, allocations: 107.7 kB / 430 MB, free: 16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.07907, allocations: 419 kB / 430.4 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.07922, allocations: 77.19 kB / 430.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.07938, allocations: 147.5 kB / 430.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.07955, allocations: 167.2 kB / 430.8 MB, free: 15.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.07959, allocations: 31.94 kB / 430.8 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.613e-05/0.07969, allocations: 51.97 kB / 430.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.07974, allocations: 63.77 kB / 430.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.07984, allocations: 167.2 kB / 431.1 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.08009, allocations: 330.8 kB / 431.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.0801, allocations: 0 / 431.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.08011, allocations: 4 kB / 431.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.08012, allocations: 0 / 431.4 MB, free: 14.57 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009021/0.08103, allocations: 0.6158 MB / 432 MB, free: 13.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.08107, allocations: 11.89 kB / 432 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.08113, allocations: 32.56 kB / 432 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.08133, allocations: 263.6 kB / 432.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.08135, allocations: 20.94 kB / 432.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.08139, allocations: 28.38 kB / 432.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.08175, allocations: 237.1 kB / 432.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.08177, allocations: 0 / 432.6 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.0818, allocations: 8 kB / 432.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.08181, allocations: 7.938 kB / 432.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.08211, allocations: 186.2 kB / 432.8 MB, free: 13.09 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.0009348/0.08305, allocations: 0.7369 MB / 433.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.08356, allocations: 302.6 kB / 433.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.08377, allocations: 148.8 kB / 434 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.08381, allocations: 4 kB / 434 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.08383, allocations: 46.55 kB / 434 MB, free: 11.79 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.373e-06/0.08384, allocations: 0 / 434 MB, free: 11.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.004713/0.08856, allocations: 1.549 MB / 435.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.08859, allocations: 55.41 kB / 435.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.08874, allocations: 229 kB / 435.8 MB, free: 9.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.08877, allocations: 33.7 kB / 435.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.08882, allocations: 132.9 kB / 436 MB, free: 9.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.08889, allocations: 114.2 kB / 436.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.08897, allocations: 69.59 kB / 436.2 MB, free: 9.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.08902, allocations: 330.8 kB / 436.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.08919, allocations: 96.81 kB / 436.6 MB, free: 9.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.08934, allocations: 99.72 kB / 436.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.08966, allocations: 225.1 kB / 436.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.08967, allocations: 7.938 kB / 436.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006684/0.09034, allocations: 390.4 kB / 437.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.09036, allocations: 15.92 kB / 437.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.09037, allocations: 0 / 437.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.09191, allocations: 281.3 kB / 437.6 MB, free: 8.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/0.09244, allocations: 83.88 kB / 437.7 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000904/0.09336, allocations: 1.858 MB / 439.5 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.09355, allocations: 8.25 kB / 439.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.09358, allocations: 12 kB / 439.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001974/0.09378, allocations: 200 kB / 439.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001306/0.09392, allocations: 88.03 kB / 439.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002845/0.09421, allocations: 216.4 kB / 440 MB, free: 5.492 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.09422, allocations: 0 / 440 MB, free: 5.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009124/0.09513, allocations: 442.7 kB / 440.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.09515, allocations: 8 kB / 440.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.09516, allocations: 0 / 440.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/0.09587, allocations: 193.5 kB / 440.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.09613, allocations: 63.95 kB / 440.7 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.09912, allocations: 3.988 MB / 444.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.0993, allocations: 11.97 kB / 444.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.09932, allocations: 12 kB / 444.7 MB, free: 0.4922 MB / 318.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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,10), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.09941, allocations: 196.1 kB / 444.9 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.09946, allocations: 27.69 kB / 445 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007972/0.1003, allocations: 418.4 kB / 445.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1003, allocations: 7.984 kB / 445.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1003, allocations: 0 / 445.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1003, allocations: 3.984 kB / 445.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.1007, allocations: 361.5 kB / 445.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1007, allocations: 0 / 445.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.1012, allocations: 75.94 kB / 445.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.1026, allocations: 249.4 kB / 446.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.1027, allocations: 7.938 kB / 446.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.104, allocations: 1.859 MB / 447.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.104, allocations: 8.25 kB / 447.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.105, allocations: 0.6025 MB / 448.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1052, allocations: 132.8 kB / 448.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1052, allocations: 4 kB / 448.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.1054, allocations: 12 kB / 448.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.1055, allocations: 20.12 kB / 448.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1055, allocations: 15.94 kB / 448.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1057, allocations: 168.5 kB / 448.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1057, allocations: 0 / 448.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.1062, allocations: 144 kB / 449 MB, free: 12.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipeSegment1.p,pipeSegment2.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(1,6), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001388/0.1064, allocations: 107.2 kB / 449.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.1082, allocations: 0.7744 MB / 449.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1082, allocations: 0 / 449.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007231/0.1089, allocations: 219.6 kB / 450.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1093, allocations: 40.31 kB / 450.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.1108, allocations: 0.8306 MB / 451 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.1111, allocations: 0.7682 MB / 451.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1112, allocations: 19.38 kB / 451.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1112, allocations: 4 kB / 451.8 MB, free: 9.176 MB / 334.1 MB Notification: Performance of Templates: time 0.007501/0.1187, allocations: 6.073 MB / 457.8 MB, free: 3.086 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestPipes.makefile (rm -f MEV_MEV.Test.TestPipes.pipe ; mkfifo MEV_MEV.Test.TestPipes.pipe ; head -c 1048576 < MEV_MEV.Test.TestPipes.pipe >> ../files/MEV_MEV.Test.TestPipes.sim & ./MEV_MEV.Test.TestPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPipes.pipe 2>&1)