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.00116/0.00116, allocations: 104.2 kB / 16.27 MB, free: 6.414 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.001129/0.001129, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.134/1.134, 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.007155/0.007155, allocations: 1.924 MB / 272.4 MB, free: 10.16 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.001281/0.001281, allocations: 67.95 kB / 330.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06646/0.06776, allocations: 47.11 MB / 377.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipes): time 0.1161/0.1838, allocations: 2.879 MB / 380.5 MB, free: 51.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008713/0.1847, allocations: 0.7814 MB / 381.3 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/0.1848, allocations: 5.156 kB / 381.3 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.655e-05/0.1849, allocations: 38.84 kB / 381.3 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.1851, allocations: 116.1 kB / 381.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1854, allocations: 108.2 kB / 381.5 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.1857, allocations: 415.7 kB / 382 MB, free: 51.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1858, allocations: 67.16 kB / 382 MB, free: 51.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.186, allocations: 147.6 kB / 382.2 MB, free: 51.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1861, allocations: 170.6 kB / 382.3 MB, free: 51.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1862, allocations: 30.19 kB / 382.4 MB, free: 51.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.1863, allocations: 43.89 kB / 382.4 MB, free: 51.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1864, allocations: 70.84 kB / 382.5 MB, free: 51.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1865, allocations: 157.6 kB / 382.6 MB, free: 51.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.1867, allocations: 331.7 kB / 382.9 MB, free: 51.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1868, allocations: 0 / 382.9 MB, free: 51.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1868, allocations: 4.125 kB / 383 MB, free: 51.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1868, allocations: 0.9062 kB / 383 MB, free: 51.05 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.0008748/0.1877, allocations: 0.6111 MB / 383.6 MB, free: 50.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.1877, allocations: 12.95 kB / 383.6 MB, free: 50.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1878, allocations: 36.66 kB / 383.6 MB, free: 50.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.188, allocations: 269.9 kB / 383.9 MB, free: 50.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.188, allocations: 18 kB / 383.9 MB, free: 50.35 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.188, allocations: 24.38 kB / 383.9 MB, free: 50.35 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.1884, allocations: 238 kB / 384.1 MB, free: 50.31 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1884, allocations: 1.031 kB / 384.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1884, allocations: 8.812 kB / 384.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1885, allocations: 6.375 kB / 384.2 MB, free: 50.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1888, allocations: 182.1 kB / 384.3 MB, free: 50.3 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.0009689/0.1898, allocations: 0.7423 MB / 385.1 MB, free: 49.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.1903, allocations: 311.8 kB / 385.4 MB, free: 49.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1905, allocations: 156.3 kB / 385.5 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1906, allocations: 3.719 kB / 385.5 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.1906, allocations: 38 kB / 385.6 MB, free: 49.6 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.412e-06/0.1906, allocations: 0 / 385.6 MB, free: 49.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.004765/0.1953, allocations: 1.544 MB / 387.1 MB, free: 48.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.1954, allocations: 55.75 kB / 387.2 MB, free: 48.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1956, allocations: 232.7 kB / 387.4 MB, free: 48.61 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1956, allocations: 30.86 kB / 387.4 MB, free: 48.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.1956, allocations: 134.2 kB / 387.6 MB, free: 48.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1957, allocations: 127.6 kB / 387.7 MB, free: 48.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.1958, allocations: 59.44 kB / 387.8 MB, free: 48.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.489e-05/0.1959, allocations: 336.5 kB / 388.1 MB, free: 47.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.196, allocations: 95.22 kB / 388.2 MB, free: 47.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.1962, allocations: 101 kB / 388.3 MB, free: 47.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1965, allocations: 231.1 kB / 388.5 MB, free: 47.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.1965, allocations: 3.938 kB / 388.5 MB, free: 47.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007051/0.1973, allocations: 398.6 kB / 388.9 MB, free: 47.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1973, allocations: 9.438 kB / 388.9 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1973, allocations: 0 / 388.9 MB, free: 47.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.1988, allocations: 271.7 kB / 389.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1993, allocations: 91.94 kB / 389.3 MB, free: 47.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008886/0.2002, allocations: 1.859 MB / 391.1 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.2004, allocations: 12.22 kB / 391.1 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2004, allocations: 7.703 kB / 391.1 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002054/0.2006, allocations: 190.6 kB / 391.3 MB, free: 45.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001398/0.2008, allocations: 93.12 kB / 391.4 MB, free: 45.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002987/0.2011, allocations: 221.2 kB / 391.6 MB, free: 45.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.2011, allocations: 0 / 391.6 MB, free: 45.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0009128/0.202, allocations: 437.5 kB / 392.1 MB, free: 45.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.202, allocations: 6 kB / 392.1 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.202, allocations: 0 / 392.1 MB, free: 45.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/0.2027, allocations: 202.1 kB / 392.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.203, allocations: 58.86 kB / 392.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.206, allocations: 3.986 MB / 396.3 MB, free: 41.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2062, allocations: 12.89 kB / 396.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2062, allocations: 18.53 kB / 396.3 MB, free: 41.78 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 7.794e-05/0.2063, allocations: 189.6 kB / 396.5 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.2064, allocations: 28.22 kB / 396.5 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007307/0.2071, allocations: 420.6 kB / 397 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.2071, allocations: 8.469 kB / 397 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2071, allocations: 2.438 kB / 397 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2071, allocations: 2.016 kB / 397 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.2075, allocations: 354.2 kB / 397.3 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2075, allocations: 0 / 397.3 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.208, allocations: 77.39 kB / 397.4 MB, free: 41.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.2093, allocations: 248.2 kB / 397.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.2093, allocations: 11.41 kB / 397.6 MB, free: 41.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.2101, allocations: 1.855 MB / 399.5 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2102, allocations: 224 / 399.5 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.211, allocations: 0.6134 MB / 400.1 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.2111, allocations: 136.6 kB / 400.2 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.2112, allocations: 6.422 kB / 400.3 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2114, allocations: 7.734 kB / 400.3 MB, free: 38.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.2114, allocations: 20.42 kB / 400.3 MB, free: 38.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2115, allocations: 15.11 kB / 400.3 MB, free: 38.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.2116, allocations: 168.3 kB / 400.5 MB, free: 38.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2116, allocations: 0 / 400.5 MB, free: 38.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005403/0.2121, allocations: 144.5 kB / 400.6 MB, free: 38.68 MB / 318.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.0001118/0.2123, allocations: 105.4 kB / 400.7 MB, free: 38.59 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/0.2139, allocations: 0.7849 MB / 401.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2139, allocations: 1.594 kB / 401.5 MB, free: 38.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.2146, allocations: 214.7 kB / 401.7 MB, free: 38.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.215, allocations: 39.61 kB / 401.7 MB, free: 38.1 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2163, allocations: 0.8427 MB / 402.6 MB, free: 37.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.2165, allocations: 0.7695 MB / 403.3 MB, free: 36.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2165, allocations: 17.78 kB / 403.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2165, allocations: 0 / 403.4 MB, free: 36.92 MB / 318.1 MB Notification: Performance of Templates: time 0.006539/0.2231, allocations: 6.068 MB / 409.4 MB, free: 34.68 MB / 318.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)