Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001041/0.001041, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.333/1.333, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.0017/0.0017, allocations: 99.5 kB / 218 MB, free: 8.344 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.1961/0.1961, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.643e-05, allocations: 1.281 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 48.73 MB / 398.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.503/1.605, allocations: 0.5735 GB / 0.9629 GB, free: 149.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.605, allocations: 93.06 kB / 0.963 GB, free: 149.1 MB / 426.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.7562/2.361, allocations: 234.9 MB / 1.192 GB, free: 74.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/2.361, allocations: 0 / 1.192 GB, free: 74.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.508e-05/2.361, allocations: 14.47 kB / 1.192 GB, free: 74.38 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.002746/2.364, allocations: 0.9599 MB / 1.193 GB, free: 73.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/2.364, allocations: 11.06 kB / 1.193 GB, free: 73.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/2.365, allocations: 140.1 kB / 1.193 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/2.366, allocations: 0.5281 MB / 1.194 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/2.366, allocations: 13.09 kB / 1.194 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/2.366, allocations: 23.12 kB / 1.194 GB, free: 73.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006458/2.367, allocations: 395.5 kB / 1.194 GB, free: 72.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/2.368, allocations: 492.5 kB / 1.195 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/2.368, allocations: 3.938 kB / 1.195 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/2.368, allocations: 7.141 kB / 1.195 GB, free: 72.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/2.368, allocations: 16.97 kB / 1.195 GB, free: 72.63 MB / 426.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.002659/2.371, allocations: 2.553 MB / 1.197 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/2.371, allocations: 232.5 kB / 1.198 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/2.371, allocations: 134 kB / 1.198 GB, free: 70.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/2.371, allocations: 329 kB / 1.198 GB, free: 69.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/2.371, allocations: 30.56 kB / 1.198 GB, free: 69.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.205e-06/2.371, allocations: 0 / 1.198 GB, free: 69.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002432/2.374, allocations: 0.7663 MB / 1.199 GB, free: 69.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/2.374, allocations: 132 kB / 1.199 GB, free: 69.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/2.374, allocations: 380.9 kB / 1.199 GB, free: 68.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/2.374, allocations: 25.7 kB / 1.199 GB, free: 68.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/2.375, allocations: 299.4 kB / 1.2 GB, free: 68.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/2.375, allocations: 110.5 kB / 1.2 GB, free: 68.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/2.375, allocations: 0 / 1.2 GB, free: 68.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.674e-05/2.375, allocations: 351.8 kB / 1.2 GB, free: 68.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/2.375, allocations: 168.6 kB / 1.2 GB, free: 68.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/2.375, allocations: 330.6 kB / 1.2 GB, free: 67.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/2.377, allocations: 0.6411 MB / 1.201 GB, free: 66.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/2.377, allocations: 0 / 1.201 GB, free: 66.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00258/2.38, allocations: 1.022 MB / 1.202 GB, free: 65.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/2.38, allocations: 8 kB / 1.202 GB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/2.38, allocations: 4 kB / 1.202 GB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/2.38, allocations: 52.83 kB / 1.202 GB, free: 65.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/2.381, allocations: 147.8 kB / 1.202 GB, free: 65.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005911/2.387, allocations: 22.71 MB / 1.225 GB, free: 41.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/2.387, allocations: 70.16 kB / 1.225 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/2.387, allocations: 55.98 kB / 1.225 GB, free: 41.56 MB / 426.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.0002918/2.388, allocations: 150.6 kB / 1.225 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/2.388, allocations: 46.12 kB / 1.225 GB, free: 41.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/2.389, allocations: 0.6138 MB / 1.225 GB, free: 40.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/2.389, allocations: 0 / 1.225 GB, free: 40.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/2.389, allocations: 7.938 kB / 1.225 GB, free: 40.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/2.389, allocations: 4 kB / 1.225 GB, free: 40.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/2.391, allocations: 1.061 MB / 1.226 GB, free: 39.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/2.391, allocations: 8.031 kB / 1.226 GB, free: 39.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/2.391, allocations: 55.91 kB / 1.227 GB, free: 39.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/2.391, allocations: 44.83 kB / 1.227 GB, free: 39.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/2.391, allocations: 7.984 kB / 1.227 GB, free: 39.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/2.392, allocations: 0.6069 MB / 1.227 GB, free: 38.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/2.392, allocations: 8.031 kB / 1.227 GB, free: 38.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/2.393, allocations: 0.603 MB / 1.228 GB, free: 38.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/2.393, allocations: 144.4 kB / 1.228 GB, free: 37.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.092e-05/2.393, allocations: 7.938 kB / 1.228 GB, free: 37.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/2.393, allocations: 39.92 kB / 1.228 GB, free: 37.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/2.393, allocations: 19.95 kB / 1.228 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/2.393, allocations: 19.98 kB / 1.228 GB, free: 37.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003023/2.394, allocations: 310.9 kB / 1.228 GB, free: 37.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.394, allocations: 0 / 1.228 GB, free: 37.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002039/2.396, allocations: 450.1 kB / 1.229 GB, free: 37.16 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.003362/2.399, allocations: 1.375 MB / 1.23 GB, free: 35.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007288/2.4, allocations: 363.5 kB / 1.23 GB, free: 35.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/2.4, allocations: 1.312 kB / 1.23 GB, free: 35.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/2.4, allocations: 115.8 kB / 1.231 GB, free: 35.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/2.401, allocations: 215.9 kB / 1.231 GB, free: 35.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006035/2.407, allocations: 2.238 MB / 1.233 GB, free: 33.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/2.408, allocations: 0.8682 MB / 1.234 GB, free: 32.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008711/2.409, allocations: 191.4 kB / 1.234 GB, free: 31.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/2.409, allocations: 63.42 kB / 1.234 GB, free: 31.87 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/2.409, allocations: 0 / 1.234 GB, free: 31.87 MB / 426.7 MB Notification: Performance of Templates: time 0.02607/2.435, allocations: 17.75 MB / 1.251 GB, free: 14.14 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)