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.001068/0.001068, allocations: 181.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006797/0.006797, allocations: 1.935 MB / 18.67 MB, free: 3.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 225 MB, free: 4.828 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.0009405/0.0009404, allocations: 107.3 kB / 272.9 MB, free: 6.059 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 51.91 kB / 330.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2101, allocations: 47.12 MB / 377.9 MB, free: 44.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPipeSegment): time 0.002665/0.2128, allocations: 2.543 MB / 380.5 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.2136, allocations: 0.6794 MB / 381.1 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.2137, allocations: 2.25 kB / 381.1 MB, free: 42.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.2138, allocations: 16.94 kB / 381.2 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2139, allocations: 63.41 kB / 381.2 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.2141, allocations: 42.86 kB / 381.3 MB, free: 41.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.2143, allocations: 219.7 kB / 381.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2144, allocations: 30.53 kB / 381.5 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2145, allocations: 88.73 kB / 381.6 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.2146, allocations: 85.22 kB / 381.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.2146, allocations: 10.06 kB / 381.7 MB, free: 41.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.2147, allocations: 16.64 kB / 381.7 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.2147, allocations: 31.88 kB / 381.7 MB, free: 41.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.736e-05/0.2148, allocations: 78.48 kB / 381.8 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.215, allocations: 172.7 kB / 382 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.215, allocations: 0 / 382 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.215, allocations: 1.281 kB / 382 MB, free: 41.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.215, allocations: 0 / 382 MB, free: 41.47 MB / 298.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.0005957/0.2156, allocations: 492.3 kB / 382.5 MB, free: 41.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2156, allocations: 8.75 kB / 382.5 MB, free: 41.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.2157, allocations: 17.41 kB / 382.5 MB, free: 41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.2158, allocations: 224.1 kB / 382.7 MB, free: 40.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2158, allocations: 13.66 kB / 382.7 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.2159, allocations: 16.12 kB / 382.7 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.2161, allocations: 142.8 kB / 382.9 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2161, allocations: 0 / 382.9 MB, free: 40.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2161, allocations: 5.188 kB / 382.9 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2162, allocations: 4.875 kB / 382.9 MB, free: 40.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2163, allocations: 100.1 kB / 383 MB, free: 40.6 MB / 298.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.0005932/0.2169, allocations: 0.4935 MB / 383.5 MB, free: 40.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.2172, allocations: 164.3 kB / 383.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.2174, allocations: 103.6 kB / 383.7 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2175, allocations: 2.406 kB / 383.7 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.2175, allocations: 31.81 kB / 383.8 MB, free: 39.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.2175, allocations: 0 / 383.8 MB, free: 39.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.002256/0.2197, allocations: 0.8431 MB / 384.6 MB, free: 39.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.2198, allocations: 54.19 kB / 384.7 MB, free: 39.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.2199, allocations: 188.3 kB / 384.9 MB, free: 39.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2199, allocations: 30.83 kB / 384.9 MB, free: 39.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.22, allocations: 106.2 kB / 385 MB, free: 38.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.22, allocations: 58.05 kB / 385 MB, free: 38.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.2201, allocations: 45.23 kB / 385.1 MB, free: 38.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.2201, allocations: 326.4 kB / 385.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2202, allocations: 50.78 kB / 385.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.2203, allocations: 51.5 kB / 385.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.2205, allocations: 124.6 kB / 385.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2205, allocations: 0 / 385.6 MB, free: 38.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003804/0.2209, allocations: 224.7 kB / 385.9 MB, free: 38.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2209, allocations: 4.969 kB / 385.9 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2209, allocations: 1.125 kB / 385.9 MB, free: 38.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.2215, allocations: 97.55 kB / 386 MB, free: 38.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.2219, allocations: 70.95 kB / 386 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000419/0.2223, allocations: 1.189 MB / 387.2 MB, free: 36.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.2225, allocations: 4 kB / 387.2 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2225, allocations: 4.031 kB / 387.2 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001105/0.2226, allocations: 148 kB / 387.4 MB, free: 36.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.032e-05/0.2227, allocations: 43.94 kB / 387.4 MB, free: 36.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001503/0.2228, allocations: 109.4 kB / 387.5 MB, free: 36.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.2228, allocations: 0 / 387.5 MB, free: 36.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0003986/0.2232, allocations: 234.1 kB / 387.7 MB, free: 36.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.2233, allocations: 11.94 kB / 387.8 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-06/0.2233, allocations: 80 / 387.8 MB, free: 36.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.2235, allocations: 84.75 kB / 387.8 MB, free: 36.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2237, allocations: 39.97 kB / 387.9 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2247, allocations: 1.643 MB / 389.5 MB, free: 34.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.669e-05/0.2248, allocations: 4.031 kB / 389.5 MB, free: 34.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.2249, allocations: 8 kB / 389.5 MB, free: 34.5 MB / 298.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 (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 5.915e-05/0.2249, allocations: 192.5 kB / 389.7 MB, free: 34.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.225, allocations: 23.86 kB / 389.7 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.2254, allocations: 234.7 kB / 390 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2254, allocations: 7.938 kB / 390 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2254, allocations: 0 / 390 MB, free: 34.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2255, allocations: 3.984 kB / 390 MB, free: 34.03 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.2256, allocations: 261.7 kB / 390.2 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2257, allocations: 0 / 390.2 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.226, allocations: 63.95 kB / 390.3 MB, free: 33.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.2265, allocations: 84.78 kB / 390.4 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2265, allocations: 0 / 390.4 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003822/0.2269, allocations: 1.185 MB / 391.6 MB, free: 32.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2269, allocations: 0 / 391.6 MB, free: 32.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005023/0.2319, allocations: 4.007 MB / 395.6 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.232, allocations: 108.9 kB / 395.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.232, allocations: 0 / 395.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.2321, allocations: 8 kB / 395.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.2322, allocations: 12.11 kB / 395.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2322, allocations: 8 kB / 395.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.2323, allocations: 133.2 kB / 395.8 MB, free: 27.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2323, allocations: 0 / 395.8 MB, free: 27.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.2328, allocations: 139.9 kB / 396 MB, free: 27.64 MB / 298.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 (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.082e-05/0.2329, allocations: 95.25 kB / 396.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008258/0.2338, allocations: 394.2 kB / 396.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2338, allocations: 0 / 396.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.2342, allocations: 111.9 kB / 396.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2344, allocations: 20 kB / 396.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.2354, allocations: 0.8773 MB / 397.5 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2355, allocations: 0.7285 MB / 398.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.2356, allocations: 13.42 kB / 398.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.2357, allocations: 23.36 kB / 398.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2357, allocations: 0 / 398.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of Templates: time 0.005101/0.2408, allocations: 3.77 MB / 402 MB, free: 21.54 MB / 298.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)