Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009604/0.0009604, allocations: 183.6 kB / 8.52 MB, free: 1.852 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.186/1.186, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0008523/0.0008523, allocations: 88.78 kB / 281.2 MB, free: 5.465 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.1755/0.1755, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.842e-06/6.872e-06, allocations: 224 / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 61.9 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.17, allocations: 497.4 MB / 0.9799 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.17, allocations: 96.5 kB / 0.98 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6479/1.818, allocations: 217.9 MB / 1.193 GB, free: 89.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.486e-05/1.819, allocations: 11.05 kB / 1.193 GB, free: 89.87 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.001839/1.82, allocations: 0.9106 MB / 1.194 GB, free: 88.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.82, allocations: 15.91 kB / 1.194 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/1.821, allocations: 139.2 kB / 1.194 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/1.822, allocations: 476.5 kB / 1.194 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.822, allocations: 12 kB / 1.194 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/1.822, allocations: 24 kB / 1.194 GB, free: 88.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005972/1.823, allocations: 401.8 kB / 1.195 GB, free: 87.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/1.823, allocations: 0.4932 MB / 1.195 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.824, allocations: 3.906 kB / 1.195 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.824, allocations: 4 kB / 1.195 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.824, allocations: 8 kB / 1.195 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/1.826, allocations: 2.63 MB / 1.198 GB, free: 84.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/1.826, allocations: 233.8 kB / 1.198 GB, free: 84.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/1.826, allocations: 128.8 kB / 1.198 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/1.827, allocations: 433.1 kB / 1.199 GB, free: 83.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.827, allocations: 42.55 kB / 1.199 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.255e-06/1.827, allocations: 0 / 1.199 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002335/1.829, allocations: 0.6785 MB / 1.199 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/1.829, allocations: 132.5 kB / 1.199 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/1.829, allocations: 361 kB / 1.2 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/1.83, allocations: 25.7 kB / 1.2 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/1.83, allocations: 239.6 kB / 1.2 GB, free: 82.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/1.83, allocations: 110.4 kB / 1.2 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/1.83, allocations: 0 / 1.2 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/1.83, allocations: 350.8 kB / 1.2 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.83, allocations: 145 kB / 1.201 GB, free: 81.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/1.83, allocations: 279.6 kB / 1.201 GB, free: 81.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/1.832, allocations: 0.5264 MB / 1.201 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.832, allocations: 0 / 1.201 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002617/1.835, allocations: 0.8677 MB / 1.202 GB, free: 79.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.835, allocations: 4 kB / 1.202 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.835, allocations: 4 kB / 1.202 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/1.835, allocations: 49.27 kB / 1.202 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/1.836, allocations: 143.8 kB / 1.202 GB, free: 79.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/1.84, allocations: 8.326 MB / 1.21 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/1.841, allocations: 47.7 kB / 1.211 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/1.841, allocations: 56.05 kB / 1.211 GB, free: 70.42 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.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.0002926/1.841, allocations: 133.9 kB / 1.211 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/1.841, allocations: 39.53 kB / 1.211 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/1.843, allocations: 1.427 MB / 1.212 GB, free: 68.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.843, allocations: 7.984 kB / 1.212 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/1.843, allocations: 4 kB / 1.212 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.843, allocations: 0 / 1.212 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/1.845, allocations: 1.115 MB / 1.213 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.845, allocations: 4 kB / 1.213 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/1.845, allocations: 51.91 kB / 1.213 GB, free: 67.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/1.846, allocations: 44.83 kB / 1.213 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.846, allocations: 15.89 kB / 1.213 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004037/1.846, allocations: 0.6147 MB / 1.214 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.846, allocations: 4 kB / 1.214 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001015/1.847, allocations: 0.6264 MB / 1.215 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/1.847, allocations: 140.5 kB / 1.215 GB, free: 65.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/1.847, allocations: 4 kB / 1.215 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/1.848, allocations: 27.97 kB / 1.215 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/1.848, allocations: 31.81 kB / 1.215 GB, free: 65.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/1.848, allocations: 19.98 kB / 1.215 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002788/1.848, allocations: 295.2 kB / 1.215 GB, free: 65.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00166/1.85, allocations: 407.3 kB / 1.215 GB, free: 65.19 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.001928/1.852, allocations: 1.317 MB / 1.217 GB, free: 64.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006913/1.852, allocations: 328.4 kB / 1.217 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.852, allocations: 4.25 kB / 1.217 GB, free: 63.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.853, allocations: 131.5 kB / 1.217 GB, free: 63.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.854, allocations: 218.1 kB / 1.217 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.855, allocations: 0.5591 MB / 1.218 GB, free: 62.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/1.855, allocations: 0.9989 MB / 1.219 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.856, allocations: 4 kB / 1.219 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.02527/1.881, allocations: 18.74 MB / 1.237 GB, free: 43.07 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)