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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00146/0.00146, allocations: 182.6 kB / 7.652 MB, free: 1.402 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.471/1.471, allocations: 194.3 MB / 202.4 MB, free: 8.555 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.001709/0.001709, allocations: 107.3 kB / 247.4 MB, free: 6.227 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.2068/0.2068, allocations: 39.94 MB / 332.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.03e-05, allocations: 4 kB / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.594/1.706, allocations: 0.5804 GB / 1.018 GB, free: 169.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.706, allocations: 92.77 kB / 1.018 GB, free: 169.9 MB / 474.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 - DAE generated: time 0.7408/2.447, allocations: 234.9 MB / 1.248 GB, free: 98.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.786e-06/2.447, allocations: 0 / 1.248 GB, free: 98.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001017/2.447, allocations: 19.61 kB / 1.248 GB, free: 98.58 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.003044/2.45, allocations: 0.9556 MB / 1.249 GB, free: 98.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/2.45, allocations: 15.58 kB / 1.249 GB, free: 98.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/2.451, allocations: 136.9 kB / 1.249 GB, free: 98.04 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/2.452, allocations: 0.5279 MB / 1.249 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/2.453, allocations: 11.81 kB / 1.249 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/2.453, allocations: 23.59 kB / 1.249 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006694/2.453, allocations: 401.6 kB / 1.25 GB, free: 97.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/2.454, allocations: 491.7 kB / 1.25 GB, free: 97.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/2.454, allocations: 3.172 kB / 1.25 GB, free: 97.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/2.454, allocations: 6.375 kB / 1.25 GB, free: 97.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/2.454, allocations: 9.656 kB / 1.25 GB, free: 97.66 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/2.457, allocations: 2.567 MB / 1.253 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/2.457, allocations: 231.1 kB / 1.253 GB, free: 95.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/2.457, allocations: 130 kB / 1.253 GB, free: 95.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/2.458, allocations: 318.1 kB / 1.253 GB, free: 95.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/2.458, allocations: 41.69 kB / 1.253 GB, free: 95.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=30): time 2.565e-06/2.458, allocations: 0 / 1.253 GB, free: 95.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=30): time 0.002456/2.46, allocations: 0.77 MB / 1.254 GB, free: 95.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/2.46, allocations: 131.9 kB / 1.254 GB, free: 95.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/2.461, allocations: 379 kB / 1.255 GB, free: 95.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/2.461, allocations: 29.45 kB / 1.255 GB, free: 95.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/2.461, allocations: 305.6 kB / 1.255 GB, free: 95.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/2.461, allocations: 103.8 kB / 1.255 GB, free: 95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/2.461, allocations: 3.719 kB / 1.255 GB, free: 95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/2.461, allocations: 349.5 kB / 1.255 GB, free: 94.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/2.461, allocations: 165.4 kB / 1.255 GB, free: 94.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/2.462, allocations: 333.3 kB / 1.256 GB, free: 94.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/2.464, allocations: 0.6492 MB / 1.256 GB, free: 94.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/2.464, allocations: 0 / 1.256 GB, free: 94.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002738/2.466, allocations: 1.005 MB / 1.257 GB, free: 94.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/2.466, allocations: 9.469 kB / 1.257 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/2.466, allocations: 7.875 kB / 1.257 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/2.467, allocations: 51.89 kB / 1.257 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/2.467, allocations: 155.8 kB / 1.258 GB, free: 94.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006748/2.474, allocations: 22.69 MB / 1.28 GB, free: 71.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/2.475, allocations: 62.45 kB / 1.28 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.482e-05/2.475, allocations: 49.34 kB / 1.28 GB, free: 71.11 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with 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 with 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 with 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 with 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 with 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 with 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 with 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 with 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.0002861/2.475, allocations: 160.2 kB / 1.28 GB, free: 71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/2.475, allocations: 50.27 kB / 1.28 GB, free: 70.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/2.477, allocations: 0.6179 MB / 1.281 GB, free: 70.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/2.477, allocations: 3.938 kB / 1.281 GB, free: 70.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/2.477, allocations: 0 / 1.281 GB, free: 70.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.477, allocations: 3.609 kB / 1.281 GB, free: 70.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/2.479, allocations: 1.07 MB / 1.282 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/2.479, allocations: 0 / 1.282 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/2.479, allocations: 55.09 kB / 1.282 GB, free: 70.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/2.479, allocations: 47.31 kB / 1.282 GB, free: 70.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/2.479, allocations: 3.875 kB / 1.282 GB, free: 70.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004245/2.48, allocations: 0.62 MB / 1.282 GB, free: 69.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.48, allocations: 0 / 1.282 GB, free: 69.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/2.481, allocations: 0.6043 MB / 1.283 GB, free: 69.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/2.481, allocations: 147.7 kB / 1.283 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/2.481, allocations: 2.438 kB / 1.283 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/2.481, allocations: 32.05 kB / 1.283 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/2.481, allocations: 25.89 kB / 1.283 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/2.481, allocations: 17.97 kB / 1.283 GB, free: 69.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003362/2.482, allocations: 307.9 kB / 1.284 GB, free: 69.27 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/2.482, allocations: 3.828 kB / 1.284 GB, free: 69.27 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002267/2.484, allocations: 444.8 kB / 1.284 GB, free: 69.21 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.003124/2.487, allocations: 1.379 MB / 1.285 GB, free: 68.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000671/2.488, allocations: 360.8 kB / 1.286 GB, free: 68.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/2.488, allocations: 0 / 1.286 GB, free: 68.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/2.488, allocations: 125.7 kB / 1.286 GB, free: 68.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/2.489, allocations: 225.2 kB / 1.286 GB, free: 68.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006282/2.496, allocations: 2.227 MB / 1.288 GB, free: 68.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/2.496, allocations: 0.8671 MB / 1.289 GB, free: 67.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008606/2.497, allocations: 181.9 kB / 1.289 GB, free: 67.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/2.497, allocations: 67.48 kB / 1.289 GB, free: 67.97 MB / 474.7 MB Notification: Performance of SimCode: time 8.52e-07/2.497, allocations: 0 / 1.289 GB, free: 67.97 MB / 474.7 MB Notification: Performance of Templates: time 0.0278/2.525, allocations: 17.78 MB / 1.307 GB, free: 65.53 MB / 474.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)