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.001198/0.001198, allocations: 103.1 kB / 16.27 MB, free: 5.988 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.001126/0.001126, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.147/1.147, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00733/0.00733, allocations: 1.935 MB / 272.4 MB, free: 10.15 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.001461/0.001461, allocations: 63.91 kB / 330.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06717/0.06864, allocations: 47.12 MB / 377.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.1146/0.1832, allocations: 2.237 MB / 379.9 MB, free: 52.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.184, allocations: 0.6437 MB / 380.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.1841, allocations: 2.188 kB / 380.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.93e-05/0.1841, allocations: 29.91 kB / 380.5 MB, free: 51.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1843, allocations: 61.7 kB / 380.6 MB, free: 51.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.1845, allocations: 52.83 kB / 380.6 MB, free: 51.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.1847, allocations: 237 kB / 380.9 MB, free: 51.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1848, allocations: 38.48 kB / 380.9 MB, free: 51.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1849, allocations: 84.08 kB / 381 MB, free: 51.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.185, allocations: 89.22 kB / 381.1 MB, free: 51.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1851, allocations: 16.09 kB / 381.1 MB, free: 51.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.1851, allocations: 26.31 kB / 381.1 MB, free: 51.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1852, allocations: 31.27 kB / 381.2 MB, free: 51.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.1852, allocations: 95.83 kB / 381.3 MB, free: 51.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.1854, allocations: 178.8 kB / 381.4 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.1854, allocations: 1.062 kB / 381.4 MB, free: 51.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.1854, allocations: 0 / 381.4 MB, free: 51.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1854, allocations: 0 / 381.4 MB, free: 51.63 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.0006014/0.186, allocations: 491.9 kB / 381.9 MB, free: 51.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.746e-05/0.1861, allocations: 16.64 kB / 381.9 MB, free: 51.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.1861, allocations: 17.97 kB / 381.9 MB, free: 51.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1863, allocations: 214.4 kB / 382.1 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1863, allocations: 11.94 kB / 382.2 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1863, allocations: 13.66 kB / 382.2 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1866, allocations: 145 kB / 382.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1866, allocations: 3.906 kB / 382.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1866, allocations: 4.719 kB / 382.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1866, allocations: 2.844 kB / 382.3 MB, free: 50.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.1868, allocations: 96.42 kB / 382.4 MB, free: 50.96 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.0005924/0.1874, allocations: 498.2 kB / 382.9 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1877, allocations: 171 kB / 383.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1879, allocations: 95.3 kB / 383.2 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1879, allocations: 3.094 kB / 383.2 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.131e-05/0.1879, allocations: 36.47 kB / 383.2 MB, free: 50.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1879, allocations: 3.938 kB / 383.2 MB, free: 50.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002335/0.1903, allocations: 0.8415 MB / 384.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.1903, allocations: 57.41 kB / 384.1 MB, free: 50.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.1904, allocations: 192 kB / 384.3 MB, free: 50.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1905, allocations: 29.92 kB / 384.3 MB, free: 50 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.1905, allocations: 105.8 kB / 384.4 MB, free: 49.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1905, allocations: 58.83 kB / 384.5 MB, free: 49.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1906, allocations: 43.56 kB / 384.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.1907, allocations: 327.2 kB / 384.8 MB, free: 49.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1908, allocations: 51.47 kB / 384.9 MB, free: 49.53 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.1909, allocations: 54.66 kB / 385 MB, free: 49.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.1911, allocations: 121.7 kB / 385.1 MB, free: 49.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1911, allocations: 3.219 kB / 385.1 MB, free: 49.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000404/0.1915, allocations: 210.1 kB / 385.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1915, allocations: 6.469 kB / 385.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1915, allocations: 1.156 kB / 385.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.1921, allocations: 97.52 kB / 385.4 MB, free: 49.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1926, allocations: 83.31 kB / 385.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004359/0.193, allocations: 1.175 MB / 386.6 MB, free: 48.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1931, allocations: 7.328 kB / 386.6 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.1932, allocations: 13.56 kB / 386.7 MB, free: 48.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000122/0.1933, allocations: 140.3 kB / 386.8 MB, free: 48.11 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.096e-05/0.1934, allocations: 52.23 kB / 386.8 MB, free: 48.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001657/0.1935, allocations: 112.7 kB / 387 MB, free: 48.04 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.1935, allocations: 0 / 387 MB, free: 48.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004423/0.194, allocations: 219 kB / 387.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/0.194, allocations: 8.5 kB / 387.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.194, allocations: 0 / 387.2 MB, free: 47.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.1943, allocations: 73.17 kB / 387.2 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.1945, allocations: 42.81 kB / 387.3 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.1957, allocations: 1.842 MB / 389.1 MB, free: 46.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.1958, allocations: 7.453 kB / 389.1 MB, free: 46.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1958, allocations: 3.625 kB / 389.1 MB, free: 46.21 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 (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 6.529e-05/0.1959, allocations: 193.1 kB / 389.3 MB, free: 46.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.1959, allocations: 19.81 kB / 389.4 MB, free: 46.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.1965, allocations: 238.5 kB / 389.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1965, allocations: 2.219 kB / 389.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1965, allocations: 2.266 kB / 389.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1965, allocations: 0.7031 kB / 389.6 MB, free: 45.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1967, allocations: 260.1 kB / 389.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1967, allocations: 4 kB / 389.8 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.1971, allocations: 68.28 kB / 389.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.1976, allocations: 90.67 kB / 390 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1976, allocations: 0.75 kB / 390 MB, free: 45.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003852/0.198, allocations: 1.181 MB / 391.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.198, allocations: 1.125 kB / 391.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.1986, allocations: 393.9 kB / 391.6 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.1986, allocations: 108.9 kB / 391.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1987, allocations: 2.031 kB / 391.7 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1988, allocations: 7.078 kB / 391.7 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1988, allocations: 16.73 kB / 391.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.1989, allocations: 3.438 kB / 391.7 MB, free: 44.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.954e-05/0.1989, allocations: 137.2 kB / 391.8 MB, free: 44.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.199, allocations: 0 / 391.8 MB, free: 44.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1993, allocations: 68.69 kB / 391.9 MB, free: 44.03 MB / 318.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 9.066e-05/0.1994, allocations: 104.5 kB / 392 MB, free: 43.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000901/0.2003, allocations: 395.2 kB / 392.4 MB, free: 43.74 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2004, allocations: 0 / 392.4 MB, free: 43.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.2008, allocations: 107.8 kB / 392.5 MB, free: 43.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2011, allocations: 27.5 kB / 392.5 MB, free: 43.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.2019, allocations: 0.5339 MB / 393.1 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.202, allocations: 0.7228 MB / 393.8 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.2021, allocations: 18.31 kB / 393.8 MB, free: 42.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2021, allocations: 0 / 393.8 MB, free: 42.68 MB / 318.1 MB Notification: Performance of Templates: time 0.004562/0.2067, allocations: 3.14 MB / 396.9 MB, free: 42.5 MB / 318.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)