Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.EdgedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.2+maint.om/package.mo): time 0.002073/0.002073, allocations: 184.1 kB / 7.457 MB, free: 2.504 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.188/1.188, allocations: 194.2 MB / 202.1 MB, free: 8.758 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.001704/0.001704, allocations: 122.2 kB / 247.1 MB, free: 6.223 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.1807/0.1807, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.751e-06/5.781e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.336, allocations: 0.5794 GB / 1.017 GB, free: 168.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/1.336, allocations: 93.22 kB / 1.017 GB, free: 168.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.719/2.055, allocations: 230.8 MB / 1.242 GB, free: 96.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.622e-05/2.056, allocations: 18.73 kB / 1.242 GB, free: 96.47 MB / 474.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.002296/2.058, allocations: 0.9673 MB / 1.243 GB, free: 96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/2.058, allocations: 6.719 kB / 1.243 GB, free: 96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/2.059, allocations: 150.4 kB / 1.243 GB, free: 95.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/2.06, allocations: 0.5202 MB / 1.244 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/2.06, allocations: 16.72 kB / 1.244 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/2.06, allocations: 24.44 kB / 1.244 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006077/2.061, allocations: 388 kB / 1.244 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/2.061, allocations: 495.9 kB / 1.245 GB, free: 95.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/2.061, allocations: 0 / 1.245 GB, free: 95.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/2.062, allocations: 2.312 kB / 1.245 GB, free: 95.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/2.062, allocations: 10.72 kB / 1.245 GB, free: 95.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/2.064, allocations: 2.609 MB / 1.247 GB, free: 93.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/2.064, allocations: 220.5 kB / 1.247 GB, free: 93.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/2.064, allocations: 134 kB / 1.247 GB, free: 93.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/2.065, allocations: 323.8 kB / 1.248 GB, free: 93.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/2.065, allocations: 40.38 kB / 1.248 GB, free: 93.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/2.065, allocations: 0 / 1.248 GB, free: 93.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.00251/2.067, allocations: 0.7989 MB / 1.249 GB, free: 93.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/2.067, allocations: 137.3 kB / 1.249 GB, free: 93.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/2.068, allocations: 356.3 kB / 1.249 GB, free: 93.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/2.068, allocations: 25.7 kB / 1.249 GB, free: 93.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/2.068, allocations: 254.3 kB / 1.249 GB, free: 92.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/2.068, allocations: 106.2 kB / 1.249 GB, free: 92.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/2.068, allocations: 0 / 1.249 GB, free: 92.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.023e-05/2.068, allocations: 355.8 kB / 1.25 GB, free: 92.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/2.068, allocations: 150.6 kB / 1.25 GB, free: 92.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/2.068, allocations: 318 kB / 1.25 GB, free: 92.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/2.071, allocations: 0.6731 MB / 1.251 GB, free: 92.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/2.071, allocations: 0 / 1.251 GB, free: 92.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002727/2.073, allocations: 1.035 MB / 1.252 GB, free: 92.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/2.073, allocations: 3.531 kB / 1.252 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/2.073, allocations: 3.844 kB / 1.252 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/2.074, allocations: 60.53 kB / 1.252 GB, free: 92.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/2.074, allocations: 143.3 kB / 1.252 GB, free: 92.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/2.077, allocations: 8.326 MB / 1.26 GB, free: 83.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/2.077, allocations: 63.67 kB / 1.26 GB, free: 83.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/2.078, allocations: 48.31 kB / 1.26 GB, free: 83.83 MB / 474.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.0002148/2.078, allocations: 149 kB / 1.26 GB, free: 83.72 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/2.078, allocations: 51.22 kB / 1.261 GB, free: 83.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/2.08, allocations: 0.693 MB / 1.261 GB, free: 83.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/2.08, allocations: 3 kB / 1.261 GB, free: 83.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/2.08, allocations: 0 / 1.261 GB, free: 83.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/2.08, allocations: 6.344 kB / 1.261 GB, free: 83.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/2.081, allocations: 1.085 MB / 1.262 GB, free: 83.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/2.081, allocations: 9.688 kB / 1.262 GB, free: 83.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/2.082, allocations: 52.7 kB / 1.262 GB, free: 83.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/2.082, allocations: 49.75 kB / 1.262 GB, free: 83.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/2.082, allocations: 11.03 kB / 1.262 GB, free: 83.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003889/2.082, allocations: 0.6068 MB / 1.263 GB, free: 82.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/2.082, allocations: 3.688 kB / 1.263 GB, free: 82.55 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009926/2.083, allocations: 0.6253 MB / 1.264 GB, free: 82.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/2.083, allocations: 147.9 kB / 1.264 GB, free: 82.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.121e-05/2.083, allocations: 0 / 1.264 GB, free: 82.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/2.084, allocations: 30.95 kB / 1.264 GB, free: 82.08 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/2.084, allocations: 28.12 kB / 1.264 GB, free: 82.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/2.084, allocations: 13.12 kB / 1.264 GB, free: 82.08 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002715/2.084, allocations: 295.1 kB / 1.264 GB, free: 82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001736/2.086, allocations: 449.8 kB / 1.265 GB, free: 81.93 MB / 474.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.002605/2.088, allocations: 1.416 MB / 1.266 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006543/2.089, allocations: 335.4 kB / 1.266 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/2.089, allocations: 0 / 1.266 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/2.089, allocations: 116.4 kB / 1.266 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/2.09, allocations: 215.4 kB / 1.267 GB, free: 81.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/2.097, allocations: 2.268 MB / 1.269 GB, free: 81.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/2.098, allocations: 0.9743 MB / 1.27 GB, free: 80.72 MB / 474.7 MB Notification: Performance of SimCode: time 6.02e-07/2.098, allocations: 0 / 1.27 GB, free: 80.72 MB / 474.7 MB Notification: Performance of Templates: time 0.03115/2.129, allocations: 18.98 MB / 1.288 GB, free: 79.68 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)