Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.002952/0.002952, allocations: 181 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.123/1.123, allocations: 194.2 MB / 202.1 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001708/0.001708, allocations: 113.9 kB / 247.1 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1768/0.1768, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.854e-06/7.884e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09877/0.09879, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.214, allocations: 0.5803 GB / 1.017 GB, free: 43.07 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.214, allocations: 95.94 kB / 1.018 GB, free: 42.98 MB / 490.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.6764/1.89, allocations: 235.8 MB / 1.248 GB, free: 8.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.716e-05/1.891, allocations: 16 kB / 1.248 GB, free: 8.957 MB / 490.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.00279/1.893, allocations: 0.963 MB / 1.249 GB, free: 7.949 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.893, allocations: 12.03 kB / 1.249 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/1.895, allocations: 139.2 kB / 1.249 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.896, allocations: 0.539 MB / 1.249 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/1.896, allocations: 12 kB / 1.249 GB, free: 7.211 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/1.896, allocations: 24 kB / 1.249 GB, free: 7.188 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006853/1.897, allocations: 389.9 kB / 1.25 GB, free: 6.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/1.897, allocations: 492.2 kB / 1.25 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.898, allocations: 3.938 kB / 1.25 GB, free: 6.277 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.288e-05/1.898, allocations: 7.938 kB / 1.25 GB, free: 6.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.898, allocations: 15.94 kB / 1.25 GB, free: 6.254 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/1.9, allocations: 2.598 MB / 1.253 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/1.901, allocations: 234.6 kB / 1.253 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/1.901, allocations: 136.8 kB / 1.253 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/1.901, allocations: 321.2 kB / 1.254 GB, free: 2.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/1.901, allocations: 30.56 kB / 1.254 GB, free: 2.676 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/1.901, allocations: 0 / 1.254 GB, free: 2.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=30): time 0.002629/1.904, allocations: 0.814 MB / 1.254 GB, free: 1.852 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/1.904, allocations: 132.5 kB / 1.254 GB, free: 1.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/1.904, allocations: 381 kB / 1.255 GB, free: 1.309 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/1.904, allocations: 25.7 kB / 1.255 GB, free: 1.277 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.904, allocations: 255.3 kB / 1.255 GB, free: 1.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/1.904, allocations: 110.4 kB / 1.255 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/1.904, allocations: 0 / 1.255 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.124e-05/1.905, allocations: 354.8 kB / 1.256 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/1.905, allocations: 161.3 kB / 1.256 GB, free: 404 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2158/2.121, allocations: 338.9 kB / 1.256 GB, free: 142.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/2.123, allocations: 0.697 MB / 1.257 GB, free: 142.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.799e-06/2.123, allocations: 3.875 kB / 1.257 GB, free: 142.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003038/2.126, allocations: 1.068 MB / 1.258 GB, free: 142.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/2.126, allocations: 3.469 kB / 1.258 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/2.126, allocations: 3.969 kB / 1.258 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/2.127, allocations: 54.38 kB / 1.258 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/2.127, allocations: 148 kB / 1.258 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/2.131, allocations: 10.91 MB / 1.269 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/2.132, allocations: 59.16 kB / 1.269 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/2.132, allocations: 47.95 kB / 1.269 GB, free: 131.3 MB / 490.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.0002529/2.132, allocations: 157.5 kB / 1.269 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.678e-05/2.132, allocations: 46.91 kB / 1.269 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/2.134, allocations: 0.7036 MB / 1.27 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/2.134, allocations: 3.625 kB / 1.27 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/2.134, allocations: 0 / 1.27 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/2.134, allocations: 2.578 kB / 1.27 GB, free: 131.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/2.136, allocations: 1.1 MB / 1.271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/2.136, allocations: 3.875 kB / 1.271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/2.136, allocations: 49.98 kB / 1.271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001481/2.136, allocations: 54.92 kB / 1.271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/2.136, allocations: 3.938 kB / 1.271 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004103/2.137, allocations: 0.6135 MB / 1.271 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.137, allocations: 3.375 kB / 1.271 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00101/2.138, allocations: 0.6345 MB / 1.272 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/2.138, allocations: 150.2 kB / 1.272 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/2.138, allocations: 3.938 kB / 1.272 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/2.138, allocations: 28.02 kB / 1.272 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/2.138, allocations: 24.02 kB / 1.272 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/2.138, allocations: 10.28 kB / 1.272 GB, free: 129.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003131/2.139, allocations: 313.9 kB / 1.272 GB, free: 129.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002077/2.141, allocations: 449.1 kB / 1.273 GB, free: 129.5 MB / 490.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.003298/2.144, allocations: 1.42 MB / 1.274 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008553/2.145, allocations: 370.7 kB / 1.275 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/2.145, allocations: 1 kB / 1.275 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/2.145, allocations: 121 kB / 1.275 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/2.146, allocations: 203.9 kB / 1.275 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/2.153, allocations: 2.286 MB / 1.277 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000843/2.154, allocations: 0.9788 MB / 1.278 GB, free: 128.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/2.154, allocations: 3.656 kB / 1.278 GB, free: 128.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03141/2.185, allocations: 19.07 MB / 1.297 GB, free: 128 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)