Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001327/0.001327, allocations: 204.2 kB / 8.537 MB, free: 484 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.5 MB / 234.4 MB, free: 9.504 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009287/0.0009285, allocations: 85.5 kB / 286.3 MB, free: 5.93 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 45.15 MB / 383.3 MB, free: 4.977 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.282e-06, allocations: 4 kB / 452.6 MB, free: 48.33 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 63.24 MB / 0.5038 GB, free: 1.027 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.232, allocations: 499.3 MB / 0.9914 GB, free: 137.8 MB / 0.5339 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.232, allocations: 94.56 kB / 0.9915 GB, free: 137.7 MB / 0.5339 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.6623/1.894, allocations: 223.1 MB / 1.209 GB, free: 123.7 MB / 0.5339 GB Notification: Performance of Transformations before backend: time 4.216e-05/1.894, allocations: 17.89 kB / 1.209 GB, free: 123.7 MB / 0.5339 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.002135/1.897, allocations: 0.9102 MB / 1.21 GB, free: 123 MB / 0.5339 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.897, allocations: 9.219 kB / 1.21 GB, free: 123 MB / 0.5339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.898, allocations: 143.7 kB / 1.21 GB, free: 122.9 MB / 0.5339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/1.899, allocations: 495.9 kB / 1.211 GB, free: 122.5 MB / 0.5339 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.899, allocations: 19.12 kB / 1.211 GB, free: 122.5 MB / 0.5339 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/1.899, allocations: 23.06 kB / 1.211 GB, free: 122.5 MB / 0.5339 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007612/1.899, allocations: 402.7 kB / 1.211 GB, free: 122.3 MB / 0.5339 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/1.9, allocations: 0.4962 MB / 1.212 GB, free: 122 MB / 0.5339 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/1.9, allocations: 4.625 kB / 1.212 GB, free: 122 MB / 0.5339 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/1.9, allocations: 2.594 kB / 1.212 GB, free: 122 MB / 0.5339 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/1.9, allocations: 9.875 kB / 1.212 GB, free: 122 MB / 0.5339 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/1.903, allocations: 2.628 MB / 1.214 GB, free: 119.6 MB / 0.5339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/1.903, allocations: 239.4 kB / 1.215 GB, free: 119.5 MB / 0.5339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/1.904, allocations: 127.1 kB / 1.215 GB, free: 119.4 MB / 0.5339 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/1.904, allocations: 434 kB / 1.215 GB, free: 119 MB / 0.5339 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.904, allocations: 40.7 kB / 1.215 GB, free: 118.9 MB / 0.5339 GB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/1.904, allocations: 0 / 1.215 GB, free: 118.9 MB / 0.5339 GB Notification: Performance of matching and sorting (n=30): time 0.002638/1.907, allocations: 0.6835 MB / 1.216 GB, free: 118.6 MB / 0.5339 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.907, allocations: 136.6 kB / 1.216 GB, free: 118.4 MB / 0.5339 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005023/1.907, allocations: 368.2 kB / 1.216 GB, free: 118.2 MB / 0.5339 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/1.907, allocations: 30.91 kB / 1.216 GB, free: 118.1 MB / 0.5339 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/1.908, allocations: 245.6 kB / 1.217 GB, free: 117.9 MB / 0.5339 GB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/1.908, allocations: 104.2 kB / 1.217 GB, free: 117.8 MB / 0.5339 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.908, allocations: 3.562 kB / 1.217 GB, free: 117.8 MB / 0.5339 GB Notification: Performance of setup shared object (initialization): time 8.438e-05/1.908, allocations: 353.8 kB / 1.217 GB, free: 117.5 MB / 0.5339 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/1.908, allocations: 164.4 kB / 1.217 GB, free: 117.4 MB / 0.5339 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/1.908, allocations: 302 kB / 1.217 GB, free: 117.2 MB / 0.5339 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/1.91, allocations: 0.5414 MB / 1.218 GB, free: 116.9 MB / 0.5339 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.91, allocations: 1 kB / 1.218 GB, free: 116.9 MB / 0.5339 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002682/1.913, allocations: 0.9109 MB / 1.219 GB, free: 116.4 MB / 0.5339 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.913, allocations: 4.344 kB / 1.219 GB, free: 116.4 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.913, allocations: 4.375 kB / 1.219 GB, free: 116.4 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/1.913, allocations: 53.23 kB / 1.219 GB, free: 116.4 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/1.914, allocations: 141.2 kB / 1.219 GB, free: 116.4 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/1.918, allocations: 10.91 MB / 1.23 GB, free: 104.9 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.918, allocations: 62.22 kB / 1.23 GB, free: 104.9 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/1.918, allocations: 48.92 kB / 1.23 GB, free: 104.8 MB / 0.5339 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.0002671/1.919, allocations: 143.4 kB / 1.23 GB, free: 104.7 MB / 0.5339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.919, allocations: 46.5 kB / 1.23 GB, free: 104.7 MB / 0.5339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/1.922, allocations: 1.417 MB / 1.231 GB, free: 104 MB / 0.5339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.922, allocations: 6.156 kB / 1.231 GB, free: 104 MB / 0.5339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/1.922, allocations: 1.094 kB / 1.231 GB, free: 104 MB / 0.5339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/1.922, allocations: 3.984 kB / 1.231 GB, free: 103.9 MB / 0.5339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/1.924, allocations: 1.131 MB / 1.233 GB, free: 103 MB / 0.5339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.924, allocations: 1.031 kB / 1.233 GB, free: 103 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/1.924, allocations: 57.62 kB / 1.233 GB, free: 103 MB / 0.5339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/1.924, allocations: 49.17 kB / 1.233 GB, free: 103 MB / 0.5339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/1.924, allocations: 4.75 kB / 1.233 GB, free: 103 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004558/1.924, allocations: 0.6158 MB / 1.233 GB, free: 102.4 MB / 0.5339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.925, allocations: 6.219 kB / 1.233 GB, free: 102.4 MB / 0.5339 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001099/1.926, allocations: 0.6394 MB / 1.234 GB, free: 101.9 MB / 0.5339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/1.926, allocations: 145 kB / 1.234 GB, free: 101.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/1.926, allocations: 3.156 kB / 1.234 GB, free: 101.7 MB / 0.5339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/1.926, allocations: 30.41 kB / 1.234 GB, free: 101.7 MB / 0.5339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.926, allocations: 25.44 kB / 1.234 GB, free: 101.7 MB / 0.5339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/1.926, allocations: 14.5 kB / 1.234 GB, free: 101.7 MB / 0.5339 GB Notification: Performance of sort global known variables: time 0.000413/1.927, allocations: 317.2 kB / 1.234 GB, free: 101.5 MB / 0.5339 GB Notification: Performance of remove unused functions: time 0.002264/1.929, allocations: 428.5 kB / 1.235 GB, free: 101.4 MB / 0.5339 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.002425/1.932, allocations: 1.336 MB / 1.236 GB, free: 100.8 MB / 0.5339 GB Notification: Performance of simCode: created initialization part: time 0.0008263/1.932, allocations: 362.3 kB / 1.236 GB, free: 100.5 MB / 0.5339 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.932, allocations: 7.906 kB / 1.236 GB, free: 100.5 MB / 0.5339 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/1.933, allocations: 124.9 kB / 1.237 GB, free: 100.4 MB / 0.5339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.934, allocations: 214.9 kB / 1.237 GB, free: 100.1 MB / 0.5339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/1.935, allocations: 0.5723 MB / 1.237 GB, free: 99.54 MB / 0.5339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/1.936, allocations: 1.011 MB / 1.238 GB, free: 98.49 MB / 0.5339 GB Notification: Performance of SimCode: time 8.51e-07/1.936, allocations: 0 / 1.238 GB, free: 98.49 MB / 0.5339 GB Notification: Performance of Templates: time 0.02669/1.962, allocations: 18.99 MB / 1.257 GB, free: 79.62 MB / 0.5339 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)