Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001438, allocations: 180.2 kB / 8.366 MB, free: 0.7109 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.939/1.939, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 88.97 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2924/0.2924, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.625e-05/1.623e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3928, allocations: 58.86 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.76/2.152, allocations: 0.5838 GB / 1.05 GB, free: 139 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/2.153, allocations: 98.75 kB / 1.05 GB, free: 139 MB / 0.4952 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 - DAE generated: time 1.15/3.303, allocations: 236.6 MB / 1.281 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.874e-06/3.303, allocations: 3.938 kB / 1.281 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 5.424e-05/3.303, allocations: 16.8 kB / 1.281 GB, free: 104.3 MB / 0.4952 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.002902/3.306, allocations: 0.9536 MB / 1.282 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/3.306, allocations: 11.88 kB / 1.282 GB, free: 103.7 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/3.307, allocations: 130.8 kB / 1.282 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/3.309, allocations: 0.4922 MB / 1.283 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/3.309, allocations: 14.56 kB / 1.283 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/3.309, allocations: 25 kB / 1.283 GB, free: 103.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009623/3.31, allocations: 396.9 kB / 1.283 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/3.311, allocations: 0.4953 MB / 1.283 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/3.311, allocations: 7.812 kB / 1.283 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/3.311, allocations: 2.906 kB / 1.283 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/3.311, allocations: 10.66 kB / 1.283 GB, free: 102.9 MB / 0.4952 GB 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.003896/3.315, allocations: 2.582 MB / 1.286 GB, free: 100.8 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/3.315, allocations: 245 kB / 1.286 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/3.316, allocations: 124 kB / 1.286 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003886/3.316, allocations: 328.8 kB / 1.287 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/3.316, allocations: 37.75 kB / 1.287 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 2.776e-06/3.316, allocations: 0 / 1.287 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30): time 0.004003/3.32, allocations: 0.7696 MB / 1.287 GB, free: 100.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/3.32, allocations: 130.9 kB / 1.288 GB, free: 99.97 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006191/3.321, allocations: 378 kB / 1.288 GB, free: 99.77 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 6.746e-05/3.321, allocations: 35.73 kB / 1.288 GB, free: 99.74 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/3.321, allocations: 334.1 kB / 1.288 GB, free: 99.45 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/3.321, allocations: 102.9 kB / 1.288 GB, free: 99.37 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/3.321, allocations: 0 / 1.288 GB, free: 99.37 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/3.321, allocations: 326.2 kB / 1.289 GB, free: 99.05 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/3.322, allocations: 157.7 kB / 1.289 GB, free: 98.99 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/3.322, allocations: 297.1 kB / 1.289 GB, free: 98.77 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/3.326, allocations: 0.6339 MB / 1.29 GB, free: 98.67 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/3.326, allocations: 3.938 kB / 1.29 GB, free: 98.67 MB / 0.4952 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.004467/3.33, allocations: 0.9662 MB / 1.291 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/3.33, allocations: 5.094 kB / 1.291 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/3.33, allocations: 3.438 kB / 1.291 GB, free: 98.43 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/3.331, allocations: 62.17 kB / 1.291 GB, free: 98.41 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008825/3.332, allocations: 136.6 kB / 1.291 GB, free: 98.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006917/3.339, allocations: 22.69 MB / 1.313 GB, free: 74.83 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/3.34, allocations: 57.38 kB / 1.313 GB, free: 74.82 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/3.34, allocations: 49.38 kB / 1.313 GB, free: 74.81 MB / 0.4952 GB Warning: Iteration variables with default zero start attribute in equation system with 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 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(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 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: 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.0003339/3.34, allocations: 160.2 kB / 1.313 GB, free: 74.68 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/3.34, allocations: 46.59 kB / 1.313 GB, free: 74.66 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/3.343, allocations: 0.6012 MB / 1.314 GB, free: 74.34 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/3.343, allocations: 3.594 kB / 1.314 GB, free: 74.34 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.343, allocations: 7.891 kB / 1.314 GB, free: 74.34 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/3.343, allocations: 7.641 kB / 1.314 GB, free: 74.34 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/3.345, allocations: 1.107 MB / 1.315 GB, free: 73.43 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/3.346, allocations: 0 / 1.315 GB, free: 73.43 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/3.346, allocations: 55.92 kB / 1.315 GB, free: 73.42 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/3.346, allocations: 46.11 kB / 1.315 GB, free: 73.39 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/3.346, allocations: 10.47 kB / 1.315 GB, free: 73.39 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/3.347, allocations: 0.6115 MB / 1.316 GB, free: 72.82 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/3.347, allocations: 3.844 kB / 1.316 GB, free: 72.82 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/3.349, allocations: 0.6149 MB / 1.316 GB, free: 72.32 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/3.349, allocations: 144.1 kB / 1.316 GB, free: 72.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/3.349, allocations: 3.984 kB / 1.316 GB, free: 72.17 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/3.35, allocations: 30.06 kB / 1.316 GB, free: 72.16 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/3.35, allocations: 30.8 kB / 1.316 GB, free: 72.14 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/3.35, allocations: 14.94 kB / 1.317 GB, free: 72.14 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004705/3.35, allocations: 309.2 kB / 1.317 GB, free: 71.96 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.7e-07/3.35, allocations: 0 / 1.317 GB, free: 71.96 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002608/3.353, allocations: 459.5 kB / 1.317 GB, free: 71.8 MB / 0.4952 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.003291/3.356, allocations: 1.381 MB / 1.319 GB, free: 71.34 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001146/3.357, allocations: 352.7 kB / 1.319 GB, free: 71.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.357, allocations: 3.594 kB / 1.319 GB, free: 71.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/3.358, allocations: 126 kB / 1.319 GB, free: 71.14 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/3.36, allocations: 226.1 kB / 1.319 GB, free: 71.05 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/3.361, allocations: 0.586 MB / 1.32 GB, free: 70.65 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/3.362, allocations: 0.8645 MB / 1.321 GB, free: 69.87 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/3.362, allocations: 93.2 kB / 1.321 GB, free: 69.84 MB / 0.4952 GB Notification: Performance of SimCode: time 1.092e-06/3.362, allocations: 0 / 1.321 GB, free: 69.84 MB / 0.4952 GB Notification: Performance of Templates: time 0.04532/3.408, allocations: 26.79 MB / 1.347 GB, free: 50.24 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)