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.004788/0.004788, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001098/0.001098, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 205.1 MB / 222.6 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008474/0.008474, allocations: 1.935 MB / 271.8 MB, free: 3.258 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.00262/0.00262, allocations: 67.91 kB / 378.2 MB, free: 448 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1263, allocations: 47.12 MB / 425.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.2429/0.3692, allocations: 2.878 MB / 428.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3704, allocations: 0.7744 MB / 429 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3705, allocations: 2.844 kB / 429 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.957e-05/0.3706, allocations: 43.34 kB / 429.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.3709, allocations: 123.4 kB / 429.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3712, allocations: 107.4 kB / 429.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.3715, allocations: 419.7 kB / 429.7 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3717, allocations: 72.12 kB / 429.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.3719, allocations: 147.4 kB / 429.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.3721, allocations: 175.1 kB / 430.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.3722, allocations: 29.28 kB / 430.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3723, allocations: 42.88 kB / 430.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.3724, allocations: 64.06 kB / 430.2 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3725, allocations: 170.1 kB / 430.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3729, allocations: 329.3 kB / 430.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3729, allocations: 1.156 kB / 430.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3729, allocations: 0.5938 kB / 430.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3729, allocations: 4 kB / 430.7 MB, free: 9.379 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.0009719/0.3739, allocations: 0.6219 MB / 431.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3739, allocations: 13.61 kB / 431.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.374, allocations: 40.53 kB / 431.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.3742, allocations: 263.5 kB / 431.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.3743, allocations: 18.03 kB / 431.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.3743, allocations: 24.91 kB / 431.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3747, allocations: 228.7 kB / 431.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3747, allocations: 1.281 kB / 431.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3748, allocations: 9.953 kB / 431.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3748, allocations: 11.78 kB / 431.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.3751, allocations: 184.4 kB / 432.1 MB, free: 8.391 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.001145/0.3763, allocations: 0.7406 MB / 432.9 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.3769, allocations: 311.9 kB / 433.2 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.3771, allocations: 149.3 kB / 433.3 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.3772, allocations: 9.547 kB / 433.3 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.3772, allocations: 36.56 kB / 433.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.3772, allocations: 0 / 433.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.005191/0.3824, allocations: 1.542 MB / 434.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3824, allocations: 58.84 kB / 435 MB, free: 6.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.3827, allocations: 233.2 kB / 435.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3827, allocations: 32.14 kB / 435.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.534e-05/0.3828, allocations: 140.9 kB / 435.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.031e-05/0.3829, allocations: 127.2 kB / 435.5 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.383, allocations: 60.89 kB / 435.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.3831, allocations: 335.9 kB / 435.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.3833, allocations: 100.3 kB / 436 MB, free: 5.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3835, allocations: 96.12 kB / 436.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3839, allocations: 229.7 kB / 436.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3839, allocations: 3.938 kB / 436.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008502/0.3848, allocations: 389.1 kB / 436.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3848, allocations: 14.38 kB / 436.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3848, allocations: 0 / 436.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.3865, allocations: 271.2 kB / 436.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.3871, allocations: 89 kB / 437 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.3881, allocations: 1.853 MB / 438.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3884, allocations: 16.42 kB / 438.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3884, allocations: 6.828 kB / 438.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002269/0.3886, allocations: 193.2 kB / 439.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001612/0.3888, allocations: 93.03 kB / 439.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003379/0.3891, allocations: 223 kB / 439.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.3891, allocations: 1.172 kB / 439.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.001007/0.3902, allocations: 446.5 kB / 439.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.3902, allocations: 9.219 kB / 439.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-06/0.3902, allocations: 0 / 439.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007916/0.391, allocations: 196.8 kB / 440 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3913, allocations: 61.39 kB / 440.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.3949, allocations: 3.99 MB / 444.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.3951, allocations: 20.05 kB / 444.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3952, allocations: 10.91 kB / 444.1 MB, free: 15.75 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 (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 0.0001497/0.3953, allocations: 192.7 kB / 444.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.3954, allocations: 33.31 kB / 444.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009012/0.3963, allocations: 413.9 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3963, allocations: 7.781 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3963, allocations: 2.531 kB / 444.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3963, allocations: 1.172 kB / 444.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.3968, allocations: 353.1 kB / 445.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3968, allocations: 1.406 kB / 445.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.3973, allocations: 77.69 kB / 445.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.3988, allocations: 248 kB / 445.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3988, allocations: 10.06 kB / 445.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.4001, allocations: 1.863 MB / 447.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4001, allocations: 3.562 kB / 447.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4012, allocations: 0.6083 MB / 447.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.4013, allocations: 135.6 kB / 448 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.4014, allocations: 6.672 kB / 448 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.4016, allocations: 7.938 kB / 448 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.4017, allocations: 20.42 kB / 448.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4017, allocations: 12.33 kB / 448.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.4019, allocations: 167.5 kB / 448.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4019, allocations: 4.156 kB / 448.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000614/0.4025, allocations: 147.9 kB / 448.4 MB, free: 12.63 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.0001641/0.4027, allocations: 111.6 kB / 448.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.4046, allocations: 0.7657 MB / 449.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4047, allocations: 4 kB / 449.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.4054, allocations: 215.9 kB / 449.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.4058, allocations: 37.22 kB / 449.5 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.4075, allocations: 0.8255 MB / 450.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4079, allocations: 0.7692 MB / 451.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.408, allocations: 24.78 kB / 451.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.4081, allocations: 16.53 kB / 451.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4081, allocations: 0 / 451.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01007/0.4182, allocations: 5.489 MB / 456.6 MB, free: 8.949 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)