Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [: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 4.0.0+maint.om/package.mo): time 0.0009476/0.0009474, allocations: 179.7 kB / 8.52 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 221.4 MB / 230.3 MB, free: 7.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 91.28 kB / 281.2 MB, free: 5.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1582/0.1582, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.975e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 61.92 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.057, allocations: 498.3 MB / 0.9807 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.057, allocations: 91.94 kB / 0.9808 GB, free: 120.6 MB / 0.5105 GB Error: Variable fitting1.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Error: Variable fitting2.geometry in package ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend is not constant. Notification: Performance of FrontEnd: time 0.6351/1.692, allocations: 222.9 MB / 1.198 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.485e-05/1.693, allocations: 15.91 kB / 1.199 GB, free: 96.16 MB / 0.5105 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.001934/1.695, allocations: 0.9125 MB / 1.199 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.695, allocations: 15.97 kB / 1.199 GB, free: 95.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.696, allocations: 135.2 kB / 1.2 GB, free: 95.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/1.696, allocations: 494.9 kB / 1.2 GB, free: 94.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/1.696, allocations: 15.91 kB / 1.2 GB, free: 94.53 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/1.696, allocations: 24 kB / 1.2 GB, free: 94.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005834/1.697, allocations: 397.9 kB / 1.2 GB, free: 94.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/1.698, allocations: 0.501 MB / 1.201 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.698, allocations: 0 / 1.201 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/1.698, allocations: 4 kB / 1.201 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.698, allocations: 8 kB / 1.201 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/1.7, allocations: 2.639 MB / 1.204 GB, free: 90.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/1.7, allocations: 230.6 kB / 1.204 GB, free: 90.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/1.701, allocations: 132.8 kB / 1.204 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/1.701, allocations: 433.5 kB / 1.204 GB, free: 89.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.701, allocations: 46.56 kB / 1.204 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/1.701, allocations: 0 / 1.204 GB, free: 89.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002289/1.703, allocations: 0.6868 MB / 1.205 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/1.703, allocations: 132.5 kB / 1.205 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/1.704, allocations: 373 kB / 1.205 GB, free: 88.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.704, allocations: 25.7 kB / 1.205 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.704, allocations: 239.6 kB / 1.206 GB, free: 88.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/1.704, allocations: 106.5 kB / 1.206 GB, free: 88.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/1.704, allocations: 4 kB / 1.206 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/1.704, allocations: 354.7 kB / 1.206 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/1.704, allocations: 165 kB / 1.206 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/1.704, allocations: 295.3 kB / 1.207 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.706, allocations: 0.5461 MB / 1.207 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.706, allocations: 4 kB / 1.207 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002489/1.709, allocations: 0.9072 MB / 1.208 GB, free: 85.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.709, allocations: 8 kB / 1.208 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.709, allocations: 4 kB / 1.208 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/1.709, allocations: 44.83 kB / 1.208 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/1.71, allocations: 143.8 kB / 1.208 GB, free: 85.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/1.713, allocations: 10.91 MB / 1.219 GB, free: 73.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/1.714, allocations: 55.67 kB / 1.219 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/1.714, allocations: 51.98 kB / 1.219 GB, free: 73.74 MB / 0.5105 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting1.geometry.R_0 "Curvature radius" 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.R_0:VARIABLE(min = 0.0 unit = "m" ) = fitting2.geometry.R_0 "Curvature radius" 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 (54): * 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): 8 * 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: 8 {1,1,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.0002395/1.714, allocations: 146.8 kB / 1.219 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/1.714, allocations: 47.44 kB / 1.219 GB, free: 73.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/1.717, allocations: 1.429 MB / 1.221 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.717, allocations: 7.906 kB / 1.221 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/1.717, allocations: 0 / 1.221 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/1.717, allocations: 3.984 kB / 1.221 GB, free: 72.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.718, allocations: 1.123 MB / 1.222 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.718, allocations: 4 kB / 1.222 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/1.719, allocations: 55.84 kB / 1.222 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/1.719, allocations: 48.83 kB / 1.222 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/1.719, allocations: 4 kB / 1.222 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000426/1.719, allocations: 0.6189 MB / 1.222 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.719, allocations: 7.938 kB / 1.222 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001048/1.72, allocations: 0.6373 MB / 1.223 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/1.72, allocations: 148.4 kB / 1.223 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/1.721, allocations: 0 / 1.223 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.721, allocations: 35.91 kB / 1.223 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.721, allocations: 27.91 kB / 1.223 GB, free: 69.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/1.721, allocations: 15.98 kB / 1.223 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002778/1.721, allocations: 307.1 kB / 1.224 GB, free: 68.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001809/1.723, allocations: 403.2 kB / 1.224 GB, free: 68.46 MB / 0.5105 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.001834/1.725, allocations: 1.31 MB / 1.225 GB, free: 67.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006379/1.726, allocations: 360 kB / 1.226 GB, free: 66.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/1.726, allocations: 7.938 kB / 1.226 GB, free: 66.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/1.726, allocations: 131.2 kB / 1.226 GB, free: 66.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/1.727, allocations: 210.6 kB / 1.226 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.728, allocations: 0.575 MB / 1.226 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/1.729, allocations: 1.007 MB / 1.227 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/1.729, allocations: 0 / 1.227 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.02548/1.754, allocations: 18.81 MB / 1.246 GB, free: 46.24 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)