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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001774/0.001774, allocations: 178 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006486/0.006486, allocations: 1.918 MB / 9.788 MB, free: 452 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9554/0.9554, allocations: 205.2 MB / 215.9 MB, free: 11.1 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.000789/0.000789, allocations: 86.92 kB / 264.4 MB, free: 11.32 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-06/4.178e-06, allocations: 0 / 318.5 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1589, allocations: 48.06 MB / 366.6 MB, free: 45.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06919/0.2282, allocations: 75.95 MB / 442.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.2284, allocations: 68.47 kB / 442.6 MB, free: 7.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008635/0.2371, allocations: 3.037 MB / 445.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.2371, allocations: 4 kB / 445.6 MB, free: 4.082 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.0005086/0.2376, allocations: 442 kB / 446.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2377, allocations: 8.031 kB / 446.1 MB, free: 3.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.2377, allocations: 19.72 kB / 446.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.2379, allocations: 210.8 kB / 446.3 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.238, allocations: 4 kB / 446.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.238, allocations: 8 kB / 446.3 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001777/0.2382, allocations: 83.98 kB / 446.4 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2384, allocations: 109.6 kB / 446.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2384, allocations: 0 / 446.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2384, allocations: 0 / 446.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2384, allocations: 15.39 kB / 446.5 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.2391, allocations: 454.3 kB / 447 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.2393, allocations: 104.2 kB / 447.1 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.2395, allocations: 88.97 kB / 447.2 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.2395, allocations: 3.984 kB / 447.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2396, allocations: 38.56 kB / 447.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.2396, allocations: 0 / 447.2 MB, free: 2.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001588/0.2412, allocations: 0.5764 MB / 447.8 MB, free: 1.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.2412, allocations: 55.41 kB / 447.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2413, allocations: 142.9 kB / 448 MB, free: 1.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2413, allocations: 29.7 kB / 448 MB, free: 1.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.2414, allocations: 104.4 kB / 448.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.2414, allocations: 59.11 kB / 448.2 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2415, allocations: 0 / 448.2 MB, free: 1.352 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.2416, allocations: 322.7 kB / 448.5 MB, free: 1.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.2416, allocations: 44 kB / 448.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.2417, allocations: 36 kB / 448.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2419, allocations: 58.38 kB / 448.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2419, allocations: 0 / 448.6 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003885/0.2423, allocations: 186.3 kB / 448.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.2423, allocations: 93.91 kB / 448.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2423, allocations: 4 kB / 448.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.2427, allocations: 70.36 kB / 449 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.2431, allocations: 59.95 kB / 449 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008004/0.244, allocations: 1.212 MB / 450.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.2441, allocations: 4.031 kB / 450.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.2441, allocations: 5.375 kB / 450.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.2441, allocations: 8 kB / 450.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003934/0.2445, allocations: 145.2 kB / 450.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.2445, allocations: 3.938 kB / 450.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.2448, allocations: 74.98 kB / 450.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.245, allocations: 47.91 kB / 450.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.2464, allocations: 1.552 MB / 452.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.2465, allocations: 7.938 kB / 452.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2465, allocations: 8 kB / 452.1 MB, free: 13.24 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: pipeSegment.uout:VARIABLE(unit = "m/s" ) "Leaving fluid velocity" type: Real 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 () * 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.0001118/0.2466, allocations: 109 kB / 452.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.2467, allocations: 12.56 kB / 452.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005282/0.2472, allocations: 214.1 kB / 452.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2472, allocations: 3.906 kB / 452.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.2472, allocations: 0 / 452.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2473, allocations: 7.984 kB / 452.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.2475, allocations: 218.3 kB / 452.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2475, allocations: 4 kB / 452.6 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.248, allocations: 63.89 kB / 452.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002976/0.2483, allocations: 69.55 kB / 452.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2483, allocations: 4 kB / 452.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007026/0.249, allocations: 1.193 MB / 454 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.249, allocations: 4.156 kB / 454 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006026/0.2496, allocations: 368.2 kB / 454.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.2497, allocations: 105 kB / 454.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.2498, allocations: 4 kB / 454.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2499, allocations: 4.062 kB / 454.4 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.2499, allocations: 8.641 kB / 454.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.25, allocations: 8 kB / 454.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.452e-05/0.25, allocations: 107.3 kB / 454.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.2504, allocations: 71.94 kB / 454.6 MB, free: 10.55 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 () * 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.0001323/0.2505, allocations: 103.2 kB / 454.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/0.2514, allocations: 328.4 kB / 455 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2514, allocations: 2.25 kB / 455 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.2519, allocations: 99.89 kB / 455.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2521, allocations: 14.42 kB / 455.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.2528, allocations: 336.6 kB / 455.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.2532, allocations: 0.7356 MB / 456.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2532, allocations: 0 / 456.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of Templates: time 0.005247/0.2584, allocations: 2.78 MB / 459 MB, free: 6.141 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)