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.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007946/0.0007946, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000808/0.000808, allocations: 183.9 kB / 16.92 MB, free: 6.703 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.3/1.3, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008066/0.008066, allocations: 1.916 MB / 273.3 MB, free: 3.312 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.0005104/0.0005104, allocations: 12 kB / 332.1 MB, free: 33.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07322/0.07374, allocations: 48.1 MB / 380.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002328/0.07613, allocations: 2.19 MB / 382.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.07717, allocations: 0.6637 MB / 383.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.07726, allocations: 0 / 383.1 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.07734, allocations: 23.83 kB / 383.1 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.07753, allocations: 55.55 kB / 383.2 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.0778, allocations: 47.94 kB / 383.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.07807, allocations: 219.4 kB / 383.4 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.07823, allocations: 29.95 kB / 383.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.07839, allocations: 83.58 kB / 383.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.07856, allocations: 87.61 kB / 383.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.0786, allocations: 8 kB / 383.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.07869, allocations: 16 kB / 383.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.07873, allocations: 27.84 kB / 383.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.07884, allocations: 101.3 kB / 383.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.07903, allocations: 127.6 kB / 383.9 MB, free: 13.17 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.07904, allocations: 3.938 kB / 383.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.07905, allocations: 0 / 383.9 MB, free: 13.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.07907, allocations: 7.938 kB / 383.9 MB, free: 13.16 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.0007675/0.07984, allocations: 458.8 kB / 384.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.07989, allocations: 11.97 kB / 384.4 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.07995, allocations: 24.75 kB / 384.4 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.08016, allocations: 212.7 kB / 384.6 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.08019, allocations: 8.375 kB / 384.6 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.08023, allocations: 20.31 kB / 384.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.08051, allocations: 137.9 kB / 384.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.08053, allocations: 0 / 384.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.08055, allocations: 8 kB / 384.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.08057, allocations: 0 / 384.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.0808, allocations: 108 kB / 384.9 MB, free: 12.1 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.0007597/0.08157, allocations: 0.4922 MB / 385.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.08191, allocations: 174.6 kB / 385.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.08215, allocations: 96.81 kB / 385.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.08219, allocations: 4 kB / 385.6 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.08221, allocations: 34.56 kB / 385.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.08222, allocations: 0 / 385.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002753/0.08498, allocations: 0.8583 MB / 386.5 MB, free: 10.3 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.08503, allocations: 55.41 kB / 386.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.0852, allocations: 186.9 kB / 386.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.08523, allocations: 25.7 kB / 386.8 MB, free: 10.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.0853, allocations: 116.5 kB / 386.9 MB, free: 9.895 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.08536, allocations: 59.11 kB / 387 MB, free: 9.836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.08541, allocations: 25.7 kB / 387 MB, free: 9.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.08552, allocations: 326.8 kB / 387.3 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.08564, allocations: 43.98 kB / 387.4 MB, free: 9.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.08576, allocations: 59.91 kB / 387.4 MB, free: 9.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.086, allocations: 117.1 kB / 387.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.08601, allocations: 0 / 387.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004771/0.08649, allocations: 226.1 kB / 387.8 MB, free: 9.027 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.08656, allocations: 90.12 kB / 387.8 MB, free: 8.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.08657, allocations: 7.984 kB / 387.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.08727, allocations: 100.8 kB / 387.9 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.08781, allocations: 67.94 kB / 388 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007112/0.08854, allocations: 1.193 MB / 389.2 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.08866, allocations: 4 kB / 389.2 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.08869, allocations: 4 kB / 389.2 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.0887, allocations: 4.156 kB / 389.2 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005023/0.08921, allocations: 188.6 kB / 389.4 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.08922, allocations: 7.938 kB / 389.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.08954, allocations: 72.8 kB / 389.5 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.08976, allocations: 43.91 kB / 389.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.09136, allocations: 1.651 MB / 391.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.09147, allocations: 8.016 kB / 391.2 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.09149, allocations: 4 kB / 391.2 MB, free: 5.395 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 0.0001376/0.09163, allocations: 209.2 kB / 391.4 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.09168, allocations: 19.75 kB / 391.4 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006117/0.0923, allocations: 240.1 kB / 391.6 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.09231, allocations: 0 / 391.6 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.09233, allocations: 12 kB / 391.7 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.09234, allocations: 7.938 kB / 391.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.09262, allocations: 253.6 kB / 391.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.09263, allocations: 0 / 391.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.09309, allocations: 63.94 kB / 392 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/0.09363, allocations: 92.77 kB / 392.1 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.09366, allocations: 4 kB / 392.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006365/0.0943, allocations: 1.185 MB / 393.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.09431, allocations: 0 / 393.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.09503, allocations: 394.2 kB / 393.6 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.09513, allocations: 112.9 kB / 393.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.09517, allocations: 3.984 kB / 393.8 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.09531, allocations: 8 kB / 393.8 MB, free: 2.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.09536, allocations: 7.984 kB / 393.8 MB, free: 2.652 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.09538, allocations: 8 kB / 393.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.09549, allocations: 136.1 kB / 393.9 MB, free: 2.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0955, allocations: 0 / 393.9 MB, free: 2.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.09592, allocations: 76 kB / 394 MB, free: 2.438 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.0001334/0.09606, allocations: 105.6 kB / 394.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.09714, allocations: 402.9 kB / 394.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.09716, allocations: 0 / 394.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.09763, allocations: 107.9 kB / 394.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.098, allocations: 23.92 kB / 394.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.09908, allocations: 0.6509 MB / 395.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.09936, allocations: 0.7245 MB / 396 MB, free: 368 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.09941, allocations: 11.44 kB / 396 MB, free: 356 kB / 286.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09942, allocations: 3.938 kB / 396 MB, free: 352 kB / 286.1 MB Notification: Performance of Templates: time 0.004958/0.1044, allocations: 3.116 MB / 399.1 MB, free: 13.22 MB / 302.1 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)