Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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 3.2.1+maint.om/package.mo): time 0.004121/0.004121, allocations: 175.3 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.509/1.509, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002003/0.002003, allocations: 111.8 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1953/0.1953, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.596e-06, allocations: 1.594 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 48.71 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.573, allocations: 0.5734 GB / 0.9623 GB, free: 110.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/1.573, allocations: 96.66 kB / 0.9624 GB, free: 110.8 MB / 426.7 MB 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.7525/2.326, allocations: 235.6 MB / 1.193 GB, free: 63.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.29e-05/2.326, allocations: 14.56 kB / 1.193 GB, free: 63.84 MB / 426.7 MB 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.002955/2.329, allocations: 0.963 MB / 1.193 GB, free: 62.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.329, allocations: 9.5 kB / 1.193 GB, free: 62.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/2.33, allocations: 147.1 kB / 1.194 GB, free: 62.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/2.332, allocations: 0.5363 MB / 1.194 GB, free: 62.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/2.332, allocations: 12 kB / 1.194 GB, free: 62.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/2.332, allocations: 27.91 kB / 1.194 GB, free: 62.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006831/2.332, allocations: 393.9 kB / 1.195 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/2.333, allocations: 487.1 kB / 1.195 GB, free: 61.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/2.333, allocations: 0 / 1.195 GB, free: 61.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/2.333, allocations: 7.984 kB / 1.195 GB, free: 61.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/2.333, allocations: 8 kB / 1.195 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/2.336, allocations: 2.605 MB / 1.198 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/2.336, allocations: 224.9 kB / 1.198 GB, free: 58.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/2.336, allocations: 136.8 kB / 1.198 GB, free: 58.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/2.337, allocations: 321.2 kB / 1.198 GB, free: 57.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/2.337, allocations: 38.97 kB / 1.198 GB, free: 57.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.716e-06/2.337, allocations: 3.938 kB / 1.198 GB, free: 57.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002608/2.339, allocations: 0.8092 MB / 1.199 GB, free: 56.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/2.339, allocations: 132.5 kB / 1.199 GB, free: 56.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/2.34, allocations: 377 kB / 1.2 GB, free: 56.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/2.34, allocations: 25.7 kB / 1.2 GB, free: 56.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/2.34, allocations: 259.3 kB / 1.2 GB, free: 55.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/2.34, allocations: 106.5 kB / 1.2 GB, free: 55.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/2.34, allocations: 0 / 1.2 GB, free: 55.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/2.34, allocations: 362.7 kB / 1.2 GB, free: 55.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/2.34, allocations: 165.2 kB / 1.2 GB, free: 55.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/2.341, allocations: 326.7 kB / 1.201 GB, free: 54.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/2.343, allocations: 0.6944 MB / 1.201 GB, free: 54.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.343, allocations: 0 / 1.201 GB, free: 54.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00306/2.346, allocations: 1.075 MB / 1.202 GB, free: 53.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/2.346, allocations: 4 kB / 1.202 GB, free: 53.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/2.346, allocations: 4 kB / 1.202 GB, free: 53.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/2.347, allocations: 57.48 kB / 1.203 GB, free: 53.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/2.347, allocations: 151.8 kB / 1.203 GB, free: 52.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/2.352, allocations: 10.91 MB / 1.213 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/2.352, allocations: 67.67 kB / 1.213 GB, free: 41.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/2.352, allocations: 51.98 kB / 1.213 GB, free: 41.01 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: fitting1.geometry.K:VARIABLE(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(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: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * 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.000256/2.353, allocations: 160.1 kB / 1.214 GB, free: 40.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/2.353, allocations: 47.44 kB / 1.214 GB, free: 40.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/2.355, allocations: 0.7028 MB / 1.214 GB, free: 40.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/2.355, allocations: 8 kB / 1.214 GB, free: 40.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/2.355, allocations: 0 / 1.214 GB, free: 40.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.355, allocations: 0 / 1.214 GB, free: 40.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/2.357, allocations: 1.112 MB / 1.215 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/2.357, allocations: 4 kB / 1.215 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/2.357, allocations: 51.91 kB / 1.215 GB, free: 38.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/2.357, allocations: 48.83 kB / 1.216 GB, free: 38.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/2.357, allocations: 4 kB / 1.216 GB, free: 38.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/2.358, allocations: 0.6265 MB / 1.216 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.358, allocations: 7.938 kB / 1.216 GB, free: 38.11 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001149/2.359, allocations: 0.6307 MB / 1.217 GB, free: 37.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/2.359, allocations: 144.5 kB / 1.217 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/2.359, allocations: 3.984 kB / 1.217 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/2.359, allocations: 23.89 kB / 1.217 GB, free: 37.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/2.36, allocations: 27.97 kB / 1.217 GB, free: 37.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/2.36, allocations: 11.98 kB / 1.217 GB, free: 37.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000352/2.36, allocations: 314.9 kB / 1.217 GB, free: 36.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002452/2.362, allocations: 447.2 kB / 1.218 GB, free: 36.42 MB / 426.7 MB 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.003057/2.366, allocations: 1.412 MB / 1.219 GB, free: 35.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007379/2.366, allocations: 356.9 kB / 1.219 GB, free: 34.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/2.366, allocations: 0 / 1.219 GB, free: 34.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/2.367, allocations: 129.2 kB / 1.22 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/2.368, allocations: 214.5 kB / 1.22 GB, free: 34.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/2.374, allocations: 2.27 MB / 1.222 GB, free: 32.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008632/2.375, allocations: 0.9718 MB / 1.223 GB, free: 31.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/2.375, allocations: 0 / 1.223 GB, free: 31.2 MB / 426.7 MB Notification: Performance of Templates: time 0.03143/2.406, allocations: 19.05 MB / 1.241 GB, free: 12.2 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)