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/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.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") [: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.001736/0.001736, allocations: 187.2 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006272/0.006272, allocations: 1.92 MB / 9.789 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.9798/0.9798, allocations: 205.2 MB / 215.9 MB, free: 12.12 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 83.86 kB / 264.4 MB, free: 11.02 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 4.899e-06/4.929e-06, allocations: 0 / 318.5 MB, free: 4.828 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 48.07 MB / 366.6 MB, free: 46.11 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06963/0.227, allocations: 75.98 MB / 442.6 MB, free: 7.254 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001444/0.2271, allocations: 71.94 kB / 442.7 MB, free: 7.188 MB / 330.8 MB Notification: Performance of FrontEnd: time 0.0142/0.2413, allocations: 5.176 MB / 447.8 MB, free: 2 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2414, allocations: 8 kB / 447.8 MB, free: 1.992 MB / 330.8 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.0007483/0.2421, allocations: 0.5395 MB / 448.4 MB, free: 1.41 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.2422, allocations: 8.031 kB / 448.4 MB, free: 1.402 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.2422, allocations: 31.62 kB / 448.4 MB, free: 1.371 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.2425, allocations: 243.6 kB / 448.7 MB, free: 1.09 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2425, allocations: 8 kB / 448.7 MB, free: 1.082 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.2426, allocations: 16 kB / 448.7 MB, free: 1.066 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003172/0.2429, allocations: 164.5 kB / 448.8 MB, free: 0.9102 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.2432, allocations: 187.6 kB / 449 MB, free: 0.7227 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2432, allocations: 0 / 449 MB, free: 0.7227 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.2433, allocations: 0 / 449 MB, free: 0.7227 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2433, allocations: 11.91 kB / 449 MB, free: 0.7109 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2444, allocations: 0.6828 MB / 449.7 MB, free: 15.99 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.2448, allocations: 174.9 kB / 449.9 MB, free: 15.81 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.2452, allocations: 196.5 kB / 450.1 MB, free: 15.62 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.2452, allocations: 7.984 kB / 450.1 MB, free: 15.61 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.2453, allocations: 38.56 kB / 450.1 MB, free: 15.57 MB / 346.8 MB Notification: Performance of pre-optimization done (n=32): time 2.925e-06/0.2453, allocations: 0 / 450.1 MB, free: 15.57 MB / 346.8 MB Notification: Performance of matching and sorting (n=36): time 0.002845/0.2481, allocations: 0.9438 MB / 451.1 MB, free: 14.57 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2482, allocations: 59.41 kB / 451.1 MB, free: 14.5 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2483, allocations: 166.9 kB / 451.3 MB, free: 14.33 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2483, allocations: 25.7 kB / 451.3 MB, free: 14.3 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/0.2484, allocations: 120.7 kB / 451.4 MB, free: 14.18 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.2485, allocations: 122.2 kB / 451.5 MB, free: 14.05 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.2485, allocations: 0 / 451.5 MB, free: 14.05 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2486, allocations: 334.7 kB / 451.9 MB, free: 13.72 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2488, allocations: 76 kB / 451.9 MB, free: 13.64 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2489, allocations: 77.12 kB / 452 MB, free: 13.57 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.2492, allocations: 110.8 kB / 452.1 MB, free: 13.46 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2492, allocations: 0 / 452.1 MB, free: 13.46 MB / 346.8 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007584/0.25, allocations: 361.6 kB / 452.5 MB, free: 13.1 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.25, allocations: 91 kB / 452.6 MB, free: 13.01 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.25, allocations: 7.984 kB / 452.6 MB, free: 13 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.2509, allocations: 185.6 kB / 452.8 MB, free: 12.81 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.2514, allocations: 79.88 kB / 452.8 MB, free: 12.73 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2529, allocations: 1.925 MB / 454.8 MB, free: 10.74 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.2531, allocations: 0 / 454.8 MB, free: 10.74 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2531, allocations: 15.98 kB / 454.8 MB, free: 10.72 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.2531, allocations: 4 kB / 454.8 MB, free: 10.72 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008848/0.254, allocations: 335.7 kB / 455.1 MB, free: 10.39 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.254, allocations: 4 kB / 455.1 MB, free: 10.38 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007733/0.2548, allocations: 189.5 kB / 455.3 MB, free: 10.19 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2551, allocations: 59.97 kB / 455.4 MB, free: 10.13 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.2585, allocations: 3.414 MB / 458.8 MB, free: 6.492 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.2587, allocations: 0 / 458.8 MB, free: 6.492 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.2587, allocations: 12 kB / 458.8 MB, free: 6.48 MB / 346.8 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: pipeSegment1.uin:VARIABLE(unit = "m/s" ) "Entering fluid speed" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipeSegment2.win:VARIABLE(unit = "kg/s" nominal = 0.0001 ) "Entering flow rate" type: Real pipeSegment2.pin:VARIABLE(unit = "Pa" nominal = 1000.0 ) "Entering relative pressure" 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 (21): * Single equations (assignments): 18 * 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: 2 * 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: 2 {2 10,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.2589, allocations: 114.9 kB / 458.9 MB, free: 6.363 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.2589, allocations: 27.78 kB / 458.9 MB, free: 6.336 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/0.2598, allocations: 397.2 kB / 459.3 MB, free: 5.941 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2598, allocations: 4 kB / 459.3 MB, free: 5.938 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2598, allocations: 3.969 kB / 459.3 MB, free: 5.934 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2599, allocations: 7.984 kB / 459.3 MB, free: 5.926 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.2602, allocations: 306 kB / 459.6 MB, free: 5.59 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2602, allocations: 0 / 459.6 MB, free: 5.59 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.2608, allocations: 83.88 kB / 459.7 MB, free: 5.508 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007697/0.2616, allocations: 181.6 kB / 459.9 MB, free: 5.324 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2616, allocations: 5.125 kB / 459.9 MB, free: 5.32 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.263, allocations: 1.911 MB / 461.8 MB, free: 3.336 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.263, allocations: 0 / 461.8 MB, free: 3.336 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001007/0.264, allocations: 0.5798 MB / 462.4 MB, free: 2.734 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.2642, allocations: 120.8 kB / 462.5 MB, free: 2.598 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.2642, allocations: 7.906 kB / 462.5 MB, free: 2.59 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2644, allocations: 3.984 kB / 462.5 MB, free: 2.586 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2645, allocations: 19.97 kB / 462.5 MB, free: 2.566 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.2645, allocations: 8 kB / 462.5 MB, free: 2.559 MB / 346.8 MB Notification: Performance of sort global known variables: time 9.858e-05/0.2646, allocations: 141.6 kB / 462.7 MB, free: 2.422 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.000479/0.2651, allocations: 123.9 kB / 462.8 MB, free: 2.301 MB / 346.8 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 2 {2 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.2652, allocations: 104.4 kB / 462.9 MB, free: 2.191 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2667, allocations: 0.6376 MB / 463.5 MB, free: 1.539 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2667, allocations: 0 / 463.5 MB, free: 1.539 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000653/0.2673, allocations: 203.6 kB / 463.7 MB, free: 1.34 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.2675, allocations: 16.42 kB / 463.8 MB, free: 1.324 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.2689, allocations: 0.5938 MB / 464.3 MB, free: 0.7148 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.2692, allocations: 0.7919 MB / 465.1 MB, free: 15.89 MB / 362.8 MB Notification: Performance of SimCode: time 2.7e-07/0.2692, allocations: 7.938 kB / 465.1 MB, free: 15.89 MB / 362.8 MB Notification: Performance of Templates: time 0.008484/0.2777, allocations: 5.396 MB / 470.5 MB, free: 10.52 MB / 362.8 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)