Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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 3.2.1+maint.om/package.mo): time 0.004719/0.004719, allocations: 181.3 kB / 7.459 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.589/1.589, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.00168/0.00168, allocations: 104.6 kB / 217.7 MB, free: 8.23 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.1728/0.1728, allocations: 37.96 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.384e-06/7.414e-06, allocations: 1.344 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 48.7 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.488, allocations: 0.5726 GB / 0.9615 GB, free: 148.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.488, allocations: 97.16 kB / 0.9616 GB, free: 148.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.7088/2.197, allocations: 230.7 MB / 1.187 GB, free: 76.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.118e-05/2.197, allocations: 18.78 kB / 1.187 GB, free: 76.26 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.003522/2.201, allocations: 0.9701 MB / 1.188 GB, free: 75.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/2.201, allocations: 8.188 kB / 1.188 GB, free: 75.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/2.202, allocations: 135.8 kB / 1.188 GB, free: 75.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/2.204, allocations: 0.5256 MB / 1.188 GB, free: 75.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/2.204, allocations: 13.06 kB / 1.188 GB, free: 75.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/2.204, allocations: 25.84 kB / 1.188 GB, free: 75.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009449/2.205, allocations: 388.5 kB / 1.189 GB, free: 74.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/2.206, allocations: 489 kB / 1.189 GB, free: 74.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/2.206, allocations: 9.031 kB / 1.189 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/2.207, allocations: 6.219 kB / 1.189 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/2.207, allocations: 13.19 kB / 1.189 GB, free: 74.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/2.21, allocations: 2.601 MB / 1.192 GB, free: 72.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/2.21, allocations: 227.9 kB / 1.192 GB, free: 72.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/2.211, allocations: 134.3 kB / 1.192 GB, free: 71.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/2.211, allocations: 318.7 kB / 1.193 GB, free: 71.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/2.211, allocations: 36.59 kB / 1.193 GB, free: 71.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.274e-06/2.211, allocations: 0 / 1.193 GB, free: 71.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00309/2.214, allocations: 0.8065 MB / 1.193 GB, free: 71.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/2.214, allocations: 140.3 kB / 1.193 GB, free: 71.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/2.215, allocations: 356.6 kB / 1.194 GB, free: 70.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/2.215, allocations: 27.42 kB / 1.194 GB, free: 70.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/2.215, allocations: 257.6 kB / 1.194 GB, free: 70.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/2.215, allocations: 104.5 kB / 1.194 GB, free: 70.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/2.215, allocations: 0 / 1.194 GB, free: 70.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/2.215, allocations: 358 kB / 1.195 GB, free: 70.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/2.215, allocations: 143.2 kB / 1.195 GB, free: 70.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/2.216, allocations: 310.5 kB / 1.195 GB, free: 69.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/2.218, allocations: 0.6879 MB / 1.196 GB, free: 69.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/2.218, allocations: 0 / 1.196 GB, free: 69.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00323/2.221, allocations: 1.024 MB / 1.197 GB, free: 69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/2.221, allocations: 5.219 kB / 1.197 GB, free: 69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/2.221, allocations: 6.781 kB / 1.197 GB, free: 69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/2.222, allocations: 51.52 kB / 1.197 GB, free: 68.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/2.222, allocations: 139.3 kB / 1.197 GB, free: 68.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003528/2.226, allocations: 8.332 MB / 1.205 GB, free: 60.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/2.226, allocations: 61.7 kB / 1.205 GB, free: 60.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/2.227, allocations: 50.92 kB / 1.205 GB, free: 60.14 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.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.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 (59): * 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): 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.0002642/2.227, allocations: 158.8 kB / 1.205 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/2.227, allocations: 51.34 kB / 1.205 GB, free: 59.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/2.229, allocations: 0.6911 MB / 1.206 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/2.229, allocations: 4 kB / 1.206 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/2.229, allocations: 0 / 1.206 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/2.229, allocations: 0 / 1.206 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/2.231, allocations: 1.101 MB / 1.207 GB, free: 58.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/2.231, allocations: 0 / 1.207 GB, free: 58.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/2.231, allocations: 54.88 kB / 1.207 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/2.231, allocations: 48.77 kB / 1.207 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/2.231, allocations: 15.84 kB / 1.207 GB, free: 57.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000445/2.232, allocations: 0.6093 MB / 1.208 GB, free: 57.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/2.232, allocations: 0 / 1.208 GB, free: 57.35 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001134/2.233, allocations: 0.6227 MB / 1.208 GB, free: 56.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/2.233, allocations: 156.3 kB / 1.208 GB, free: 56.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/2.233, allocations: 6.281 kB / 1.208 GB, free: 56.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/2.234, allocations: 26.53 kB / 1.209 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/2.234, allocations: 19.97 kB / 1.209 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/2.234, allocations: 12 kB / 1.209 GB, free: 56.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003231/2.234, allocations: 297.4 kB / 1.209 GB, free: 56.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00221/2.236, allocations: 451.2 kB / 1.209 GB, free: 55.7 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.003493/2.24, allocations: 1.402 MB / 1.211 GB, free: 54.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008274/2.241, allocations: 343 kB / 1.211 GB, free: 54.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/2.241, allocations: 4 kB / 1.211 GB, free: 54.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002161/2.241, allocations: 111.8 kB / 1.211 GB, free: 54.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/2.242, allocations: 214.1 kB / 1.211 GB, free: 53.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/2.249, allocations: 2.277 MB / 1.213 GB, free: 51.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/2.25, allocations: 0.976 MB / 1.214 GB, free: 50.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/2.25, allocations: 0 / 1.214 GB, free: 50.71 MB / 426.7 MB Notification: Performance of Templates: time 0.03022/2.28, allocations: 18.97 MB / 1.233 GB, free: 31.81 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)