Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [: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.0009188/0.0009188, allocations: 188 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001034/0.001034, allocations: 95.28 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1485/0.1485, allocations: 43.5 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.44e-06/5.46e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 58.85 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.869/1.075, allocations: 0.5829 GB / 1.048 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/1.075, allocations: 90.12 kB / 1.048 GB, free: 175.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5574/1.633, allocations: 232.5 MB / 1.275 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.948e-05/1.633, allocations: 15.25 kB / 1.275 GB, free: 100.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001721/1.634, allocations: 0.9682 MB / 1.276 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/1.635, allocations: 7.875 kB / 1.276 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/1.635, allocations: 140.8 kB / 1.277 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/1.636, allocations: 489.9 kB / 1.277 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/1.636, allocations: 13.75 kB / 1.277 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/1.636, allocations: 24.84 kB / 1.277 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005308/1.637, allocations: 394.6 kB / 1.277 GB, free: 100 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/1.637, allocations: 0.4889 MB / 1.278 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.637, allocations: 1.219 kB / 1.278 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/1.637, allocations: 10.8 kB / 1.278 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/1.637, allocations: 10.19 kB / 1.278 GB, free: 99.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/1.64, allocations: 2.647 MB / 1.281 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/1.64, allocations: 230.2 kB / 1.281 GB, free: 98.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/1.64, allocations: 126 kB / 1.281 GB, free: 98.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/1.64, allocations: 319 kB / 1.281 GB, free: 97.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/1.64, allocations: 40.75 kB / 1.281 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/1.64, allocations: 0 / 1.281 GB, free: 97.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002347/1.643, allocations: 0.8102 MB / 1.282 GB, free: 97.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/1.643, allocations: 132.5 kB / 1.282 GB, free: 97.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/1.643, allocations: 358.2 kB / 1.282 GB, free: 97.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/1.643, allocations: 25.7 kB / 1.283 GB, free: 97.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/1.643, allocations: 232.7 kB / 1.283 GB, free: 97.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/1.643, allocations: 113.1 kB / 1.283 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/1.643, allocations: 0 / 1.283 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/1.643, allocations: 351 kB / 1.283 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/1.643, allocations: 147.1 kB / 1.283 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/1.644, allocations: 275.8 kB / 1.284 GB, free: 96.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/1.646, allocations: 0.6636 MB / 1.284 GB, free: 96.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.646, allocations: 3.531 kB / 1.284 GB, free: 96.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002526/1.648, allocations: 0.9962 MB / 1.285 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.648, allocations: 11.22 kB / 1.285 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.648, allocations: 3.844 kB / 1.285 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/1.649, allocations: 44.83 kB / 1.285 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/1.649, allocations: 130.9 kB / 1.285 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/1.652, allocations: 8.329 MB / 1.294 GB, free: 88.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/1.652, allocations: 57.42 kB / 1.294 GB, free: 88.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/1.652, allocations: 48.28 kB / 1.294 GB, free: 88.17 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.delta:VARIABLE(unit = "rad" ) = fitting1.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.d_hyd "Hydraulic diameter" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.K:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.K "Absolute roughness, with a default for a smooth steel pipe" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.delta:VARIABLE(unit = "rad" ) = fitting2.geometry.delta "Angle of turning" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting2.geometry.d_hyd:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.d_hyd "Hydraulic diameter" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/1.652, allocations: 141.4 kB / 1.294 GB, free: 88.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/1.652, allocations: 47.66 kB / 1.294 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.654, allocations: 0.7049 MB / 1.294 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.654, allocations: 0 / 1.294 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/1.654, allocations: 7.688 kB / 1.294 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.654, allocations: 3.891 kB / 1.294 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.655, allocations: 1.117 MB / 1.296 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.656, allocations: 2.969 kB / 1.296 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/1.656, allocations: 60.61 kB / 1.296 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001302/1.656, allocations: 47.3 kB / 1.296 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.656, allocations: 10.91 kB / 1.296 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000359/1.656, allocations: 0.6102 MB / 1.296 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.656, allocations: 10.94 kB / 1.296 GB, free: 86.86 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009506/1.657, allocations: 0.6274 MB / 1.297 GB, free: 86.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.657, allocations: 150.7 kB / 1.297 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/1.657, allocations: 0 / 1.297 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/1.658, allocations: 32.42 kB / 1.297 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/1.658, allocations: 28.02 kB / 1.297 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/1.658, allocations: 20.09 kB / 1.297 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002423/1.658, allocations: 288 kB / 1.297 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001434/1.66, allocations: 461.5 kB / 1.298 GB, free: 86.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/1.661, allocations: 1.415 MB / 1.299 GB, free: 85.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005687/1.662, allocations: 334.7 kB / 1.3 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.662, allocations: 3.938 kB / 1.3 GB, free: 85.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/1.662, allocations: 118.5 kB / 1.3 GB, free: 85.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/1.663, allocations: 217.6 kB / 1.3 GB, free: 85.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/1.664, allocations: 0.5582 MB / 1.3 GB, free: 85.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/1.664, allocations: 0.9772 MB / 1.301 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of SimCode: time 2.71e-07/1.665, allocations: 0 / 1.301 GB, free: 84.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.02772/1.692, allocations: 19.45 MB / 1.32 GB, free: 80.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)