Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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.3+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 186.8 kB / 7.802 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000863/0.0008629, allocations: 96.48 kB / 261.4 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1526/0.1526, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.36e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2177, allocations: 58.84 MB / 476.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8973/1.115, allocations: 0.5838 GB / 1.049 GB, free: 174.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/1.115, allocations: 93.94 kB / 1.049 GB, free: 174.9 MB / 0.4948 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.5789/1.694, allocations: 237.5 MB / 1.281 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.965e-05/1.694, allocations: 15.78 kB / 1.281 GB, free: 103.5 MB / 0.4948 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.002354/1.697, allocations: 0.9677 MB / 1.282 GB, free: 103 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/1.697, allocations: 7.906 kB / 1.282 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.698, allocations: 148.5 kB / 1.282 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/1.699, allocations: 487.5 kB / 1.283 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.699, allocations: 18.69 kB / 1.283 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.832e-05/1.699, allocations: 21.59 kB / 1.283 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006254/1.7, allocations: 399.5 kB / 1.283 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/1.7, allocations: 0.4972 MB / 1.284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.7, allocations: 2.344 kB / 1.284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/1.7, allocations: 7.281 kB / 1.284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.7, allocations: 11.72 kB / 1.284 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/1.703, allocations: 2.642 MB / 1.286 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/1.703, allocations: 247.5 kB / 1.286 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/1.703, allocations: 122.9 kB / 1.287 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002741/1.704, allocations: 318.6 kB / 1.287 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.704, allocations: 41.31 kB / 1.287 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/1.704, allocations: 0 / 1.287 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.00247/1.706, allocations: 0.8172 MB / 1.288 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/1.706, allocations: 132.3 kB / 1.288 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/1.706, allocations: 373.2 kB / 1.288 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/1.707, allocations: 25.7 kB / 1.288 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/1.707, allocations: 245.1 kB / 1.288 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/1.707, allocations: 106.8 kB / 1.289 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/1.707, allocations: 0 / 1.289 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/1.707, allocations: 351.6 kB / 1.289 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/1.707, allocations: 161.7 kB / 1.289 GB, free: 99.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/1.707, allocations: 296.4 kB / 1.289 GB, free: 99.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.709, allocations: 0.6822 MB / 1.29 GB, free: 99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.709, allocations: 0 / 1.29 GB, free: 99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002605/1.712, allocations: 1.052 MB / 1.291 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.712, allocations: 5.781 kB / 1.291 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.712, allocations: 2.969 kB / 1.291 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/1.712, allocations: 51.34 kB / 1.291 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/1.713, allocations: 143.1 kB / 1.291 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/1.716, allocations: 10.9 MB / 1.302 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004646/1.717, allocations: 56.5 kB / 1.302 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/1.717, allocations: 54.27 kB / 1.302 GB, free: 87.39 MB / 0.4948 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.0002179/1.717, allocations: 140.6 kB / 1.302 GB, free: 87.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/1.717, allocations: 50.06 kB / 1.302 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/1.719, allocations: 0.7042 MB / 1.303 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.719, allocations: 11.69 kB / 1.303 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/1.719, allocations: 0 / 1.303 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.719, allocations: 3.625 kB / 1.303 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/1.72, allocations: 1.126 MB / 1.304 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.72, allocations: 6.719 kB / 1.304 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/1.721, allocations: 51.95 kB / 1.304 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/1.721, allocations: 52.05 kB / 1.304 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/1.721, allocations: 8.219 kB / 1.304 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003806/1.721, allocations: 0.6189 MB / 1.305 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.721, allocations: 3.656 kB / 1.305 GB, free: 85.7 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001014/1.722, allocations: 0.6438 MB / 1.305 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.722, allocations: 145.8 kB / 1.305 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/1.722, allocations: 9.328 kB / 1.305 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.723, allocations: 29.81 kB / 1.306 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/1.723, allocations: 30.5 kB / 1.306 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/1.723, allocations: 14.31 kB / 1.306 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002693/1.723, allocations: 304.5 kB / 1.306 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001575/1.725, allocations: 457.6 kB / 1.306 GB, free: 84.82 MB / 0.4948 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.001871/1.727, allocations: 1.407 MB / 1.308 GB, free: 84.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000589/1.727, allocations: 366.1 kB / 1.308 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.727, allocations: 3.906 kB / 1.308 GB, free: 84.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/1.727, allocations: 122.8 kB / 1.308 GB, free: 84.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009965/1.728, allocations: 222.5 kB / 1.308 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009632/1.729, allocations: 0.5765 MB / 1.309 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/1.73, allocations: 0.98 MB / 1.31 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/1.73, allocations: 0 / 1.31 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.02838/1.758, allocations: 19.52 MB / 1.329 GB, free: 76.35 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)