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-master/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-master/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: "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestPipes,fileNamePrefix="MEV_MEV_Test_TestPipes",fmuType="me",version="2.0",platforms={"static"}) [: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.002049/0.002049, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007067/0.007067, allocations: 1.925 MB / 9.793 MB, free: 464 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.9781/0.9781, allocations: 205.2 MB / 215.9 MB, free: 12.06 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.0008251/0.000825, allocations: 92.58 kB / 264.4 MB, free: 11.02 MB / 218.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08485/0.08571, allocations: 54.21 MB / 318.6 MB, free: 4.734 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.2523, allocations: 48.07 MB / 366.7 MB, free: 45.99 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07374/0.3261, allocations: 75.98 MB / 442.7 MB, free: 7.156 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3264, allocations: 67.97 kB / 442.7 MB, free: 7.09 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.01517/0.3415, allocations: 5.724 MB / 448.5 MB, free: 1.32 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3416, allocations: 12 kB / 448.5 MB, free: 1.309 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.3416, allocations: 27.62 kB / 448.5 MB, free: 1.281 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3419, allocations: 248.6 kB / 448.8 MB, free: 0.9961 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3419, allocations: 8 kB / 448.8 MB, free: 0.9883 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.342, allocations: 16 kB / 448.8 MB, free: 0.9727 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003051/0.3423, allocations: 168.9 kB / 448.9 MB, free: 0.8086 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.3426, allocations: 183.1 kB / 449.1 MB, free: 0.625 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3426, allocations: 3.5 kB / 449.1 MB, free: 0.625 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.3426, allocations: 0 / 449.1 MB, free: 0.625 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3427, allocations: 11.89 kB / 449.1 MB, free: 0.6133 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3437, allocations: 0.6863 MB / 449.8 MB, free: 15.89 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.3441, allocations: 166 kB / 450 MB, free: 15.72 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.3445, allocations: 193.4 kB / 450.2 MB, free: 15.53 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3445, allocations: 7.938 kB / 450.2 MB, free: 15.52 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3446, allocations: 38.56 kB / 450.2 MB, free: 15.48 MB / 346.8 MB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.3446, allocations: 0 / 450.2 MB, free: 15.48 MB / 346.8 MB Notification: Performance of matching and sorting (n=36): time 0.002779/0.3473, allocations: 0.9439 MB / 451.2 MB, free: 14.47 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.3474, allocations: 55.41 kB / 451.2 MB, free: 14.41 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.3475, allocations: 171 kB / 451.4 MB, free: 14.23 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.3476, allocations: 25.7 kB / 451.4 MB, free: 14.2 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.3476, allocations: 124.7 kB / 451.5 MB, free: 14.08 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.3477, allocations: 114.2 kB / 451.6 MB, free: 13.96 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.3477, allocations: 4 kB / 451.6 MB, free: 13.96 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3478, allocations: 334.7 kB / 452 MB, free: 13.62 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.348, allocations: 77.12 kB / 452 MB, free: 13.55 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3481, allocations: 76 kB / 452.1 MB, free: 13.48 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.3484, allocations: 106.8 kB / 452.2 MB, free: 13.38 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3484, allocations: 0 / 452.2 MB, free: 13.38 MB / 346.8 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007376/0.3491, allocations: 357.7 kB / 452.6 MB, free: 13.02 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.3492, allocations: 98.92 kB / 452.7 MB, free: 12.91 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3492, allocations: 3.938 kB / 452.7 MB, free: 12.91 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008469/0.3501, allocations: 189.5 kB / 452.9 MB, free: 12.72 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.3506, allocations: 83.94 kB / 452.9 MB, free: 12.64 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3521, allocations: 1.91 MB / 454.9 MB, free: 10.65 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3523, allocations: 4.109 kB / 454.9 MB, free: 10.65 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.3523, allocations: 19.92 kB / 454.9 MB, free: 10.63 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/0.3523, allocations: 10.12 kB / 454.9 MB, free: 10.62 MB / 346.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008835/0.3532, allocations: 329.2 kB / 455.2 MB, free: 10.29 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/0.3532, allocations: 0 / 455.2 MB, free: 10.29 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/0.354, allocations: 195.7 kB / 455.4 MB, free: 10.1 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3543, allocations: 55.97 kB / 455.5 MB, free: 10.04 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/0.3578, allocations: 3.413 MB / 458.9 MB, free: 6.398 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3579, allocations: 4 kB / 458.9 MB, free: 6.395 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.358, allocations: 12 kB / 458.9 MB, free: 6.383 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.0001347/0.3581, allocations: 117.6 kB / 459 MB, free: 6.262 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3582, allocations: 23.72 kB / 459 MB, free: 6.238 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008915/0.3591, allocations: 401.7 kB / 459.4 MB, free: 5.84 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.3591, allocations: 4 kB / 459.4 MB, free: 5.836 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3591, allocations: 3.906 kB / 459.4 MB, free: 5.832 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.3591, allocations: 4.641 kB / 459.4 MB, free: 5.828 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.3594, allocations: 310 kB / 459.7 MB, free: 5.488 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3595, allocations: 4.062 kB / 459.7 MB, free: 5.484 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.36, allocations: 79.94 kB / 459.8 MB, free: 5.406 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007615/0.3607, allocations: 185.6 kB / 460 MB, free: 5.219 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3608, allocations: 0 / 460 MB, free: 5.219 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.3621, allocations: 1.908 MB / 461.9 MB, free: 3.242 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3621, allocations: 9.344 kB / 461.9 MB, free: 3.234 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009885/0.3631, allocations: 0.5719 MB / 462.5 MB, free: 2.641 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001293/0.3644, allocations: 1.084 MB / 463.6 MB, free: 1.531 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3645, allocations: 124.8 kB / 463.7 MB, free: 1.391 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3646, allocations: 4 kB / 463.7 MB, free: 1.387 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.3648, allocations: 4.062 kB / 463.7 MB, free: 1.383 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3648, allocations: 19.97 kB / 463.7 MB, free: 1.363 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.3649, allocations: 8 kB / 463.7 MB, free: 1.355 MB / 346.8 MB Notification: Performance of sort global known variables: time 9.25e-05/0.365, allocations: 136.8 kB / 463.9 MB, free: 1.223 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0016/0.3666, allocations: 135.8 kB / 464 MB, free: 1.09 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.0001495/0.3667, allocations: 107.2 kB / 464.1 MB, free: 0.9766 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3682, allocations: 0.6459 MB / 464.7 MB, free: 324 kB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3682, allocations: 5.125 kB / 464.7 MB, free: 320 kB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006691/0.3689, allocations: 191.6 kB / 464.9 MB, free: 124 kB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3691, allocations: 22.06 kB / 464.9 MB, free: 104 kB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3705, allocations: 0.5983 MB / 465.5 MB, free: 15.48 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.3709, allocations: 0.7956 MB / 466.3 MB, free: 14.66 MB / 362.8 MB Notification: Performance of SimCode: time 2.8e-07/0.3709, allocations: 0 / 466.3 MB, free: 14.66 MB / 362.8 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestPipes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestPipes.fmu > MEV_MEV.Test.TestPipes.pipe 2>&1)