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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") translateModel(MEV.Test.TestPipeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPipeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006976/0.006976, allocations: 173.6 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01383/0.01383, allocations: 1.937 MB / 17.79 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.4 MB / 224.4 MB, free: 11.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009327/0.0009326, allocations: 98.16 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 12 kB / 331.8 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 48.09 MB / 379.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5478, allocations: 76.76 MB / 456.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5481, allocations: 75.95 kB / 456.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008741/0.5569, allocations: 3.357 MB / 460.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5569, allocations: 0 / 460.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.5569, allocations: 4 kB / 460.1 MB, free: 7.359 MB / 330.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.0006254/0.5576, allocations: 459.3 kB / 460.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5576, allocations: 8.031 kB / 460.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.5577, allocations: 15.81 kB / 460.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.5579, allocations: 215.6 kB / 460.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.5579, allocations: 8 kB / 460.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.558, allocations: 19.95 kB / 460.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5582, allocations: 133.6 kB / 461 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.5583, allocations: 4 kB / 461 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.5583, allocations: 8 kB / 461 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.5583, allocations: 4 kB / 461 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.5585, allocations: 103.9 kB / 461.1 MB, free: 6.309 MB / 330.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.0007792/0.5593, allocations: 0.5 MB / 461.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.5596, allocations: 158.7 kB / 461.7 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.5597, allocations: 8 kB / 461.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.5597, allocations: 34.56 kB / 461.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.5597, allocations: 0 / 461.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.002413/0.5621, allocations: 0.8246 MB / 462.6 MB, free: 4.648 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.5622, allocations: 51.41 kB / 462.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.5623, allocations: 153.3 kB / 462.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5624, allocations: 37.7 kB / 462.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.5624, allocations: 108.5 kB / 462.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.5625, allocations: 63.09 kB / 463 MB, free: 4.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.5625, allocations: 0 / 463 MB, free: 4.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5626, allocations: 326.8 kB / 463.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.5627, allocations: 43.97 kB / 463.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.5628, allocations: 56.39 kB / 463.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.563, allocations: 60.3 kB / 463.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.563, allocations: 0 / 463.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004002/0.5634, allocations: 202.9 kB / 463.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.5634, allocations: 93.88 kB / 463.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5635, allocations: 4 kB / 463.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000596/0.5641, allocations: 88.77 kB / 463.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.5645, allocations: 59.89 kB / 463.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007103/0.5652, allocations: 1.189 MB / 465.1 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5653, allocations: 4 kB / 465.1 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.5654, allocations: 7.969 kB / 465.1 MB, free: 2.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.5654, allocations: 4.156 kB / 465.1 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004657/0.5659, allocations: 192.6 kB / 465.3 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/0.5659, allocations: 0 / 465.3 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002789/0.5662, allocations: 72.8 kB / 465.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.5664, allocations: 43.97 kB / 465.4 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.568, allocations: 1.659 MB / 467.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.5681, allocations: 3.953 kB / 467.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.5681, allocations: 4 kB / 467.1 MB, free: 15.91 MB / 346.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.5683, allocations: 209.1 kB / 467.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.5683, allocations: 15.81 kB / 467.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.5689, allocations: 244.3 kB / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5689, allocations: 4 kB / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.5689, allocations: 0 / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5689, allocations: 4 kB / 467.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.5692, allocations: 257.6 kB / 467.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5692, allocations: 3.984 kB / 467.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.5696, allocations: 55.95 kB / 467.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004803/0.5701, allocations: 93.48 kB / 468 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5702, allocations: 11.98 kB / 468 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006555/0.5708, allocations: 1.177 MB / 469.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5708, allocations: 160 / 469.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006344/0.5715, allocations: 399.2 kB / 469.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/0.5716, allocations: 108.9 kB / 469.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.5716, allocations: 4.062 kB / 469.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5717, allocations: 11.94 kB / 469.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.5718, allocations: 7.984 kB / 469.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.5718, allocations: 8.25 kB / 469.7 MB, free: 13.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.5719, allocations: 136.5 kB / 469.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5719, allocations: 0 / 469.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003986/0.5723, allocations: 83.89 kB / 469.9 MB, free: 12.96 MB / 346.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.5725, allocations: 103.2 kB / 470 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.5734, allocations: 371.6 kB / 470.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5735, allocations: 0 / 470.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.5739, allocations: 111.9 kB / 470.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5741, allocations: 25.34 kB / 470.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008924/0.575, allocations: 0.5698 MB / 471.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5753, allocations: 0.7287 MB / 471.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.5754, allocations: 9.422 kB / 471.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.5754, allocations: 15.44 kB / 471.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5754, allocations: 0 / 471.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Templates: time 0.005133/0.5806, allocations: 2.416 MB / 474.2 MB, free: 8.555 MB / 346.7 MB make -j1 -f MEV_MEV.Test.TestPipeSegment.makefile (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)