Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00213/0.00213, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008683, allocations: 89.36 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1918/0.1918, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.674e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.333/1.461, allocations: 498.4 MB / 0.9814 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.461, allocations: 92.75 kB / 0.9814 GB, free: 119.7 MB / 0.5105 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 0.7775/2.239, allocations: 222 MB / 1.198 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/2.239, allocations: 3.938 kB / 1.198 GB, free: 96.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.323e-05/2.239, allocations: 16 kB / 1.198 GB, free: 96.15 MB / 0.5105 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.001851/2.241, allocations: 0.8931 MB / 1.199 GB, free: 95.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/2.241, allocations: 11.98 kB / 1.199 GB, free: 95.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008942/2.242, allocations: 147.1 kB / 1.199 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/2.242, allocations: 482.6 kB / 1.2 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/2.242, allocations: 12 kB / 1.2 GB, free: 94.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/2.242, allocations: 24 kB / 1.2 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005291/2.243, allocations: 394.5 kB / 1.2 GB, free: 94.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/2.243, allocations: 0.5005 MB / 1.201 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/2.243, allocations: 3.938 kB / 1.201 GB, free: 93.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/2.244, allocations: 11.95 kB / 1.201 GB, free: 93.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/2.244, allocations: 12 kB / 1.201 GB, free: 93.56 MB / 0.5105 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.002108/2.246, allocations: 2.595 MB / 1.203 GB, free: 90.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/2.246, allocations: 230.8 kB / 1.203 GB, free: 90.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/2.246, allocations: 124.8 kB / 1.204 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/2.246, allocations: 441.2 kB / 1.204 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/2.246, allocations: 42.56 kB / 1.204 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.582e-06/2.246, allocations: 0 / 1.204 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.001977/2.248, allocations: 0.6243 MB / 1.205 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/2.249, allocations: 132.5 kB / 1.205 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/2.249, allocations: 369.1 kB / 1.205 GB, free: 88.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/2.249, allocations: 29.7 kB / 1.205 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/2.249, allocations: 295.5 kB / 1.205 GB, free: 88.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/2.249, allocations: 102.5 kB / 1.206 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/2.249, allocations: 4 kB / 1.206 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.412e-05/2.249, allocations: 346.8 kB / 1.206 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/2.249, allocations: 165.1 kB / 1.206 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/2.25, allocations: 299.8 kB / 1.206 GB, free: 87.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/2.251, allocations: 0.4955 MB / 1.207 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.251, allocations: 0 / 1.207 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002196/2.254, allocations: 0.845 MB / 1.208 GB, free: 86.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/2.254, allocations: 8 kB / 1.208 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/2.254, allocations: 4 kB / 1.208 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/2.254, allocations: 56.86 kB / 1.208 GB, free: 85.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/2.254, allocations: 135.8 kB / 1.208 GB, free: 85.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/2.26, allocations: 22.69 MB / 1.23 GB, free: 61.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/2.261, allocations: 55.56 kB / 1.23 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/2.261, allocations: 47.98 kB / 1.23 GB, free: 61.64 MB / 0.5105 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.000304/2.261, allocations: 158.1 kB / 1.23 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/2.261, allocations: 51.38 kB / 1.23 GB, free: 61.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/2.263, allocations: 0.9719 MB / 1.231 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/2.263, allocations: 4 kB / 1.231 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/2.263, allocations: 11.94 kB / 1.231 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/2.263, allocations: 0 / 1.231 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/2.265, allocations: 1.104 MB / 1.232 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.265, allocations: 0 / 1.232 GB, free: 59.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/2.265, allocations: 55.92 kB / 1.232 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/2.265, allocations: 48.77 kB / 1.232 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/2.265, allocations: 4 kB / 1.232 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003631/2.266, allocations: 0.6189 MB / 1.233 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/2.266, allocations: 3.938 kB / 1.233 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009376/2.267, allocations: 0.6147 MB / 1.234 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/2.267, allocations: 144.4 kB / 1.234 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.648e-05/2.267, allocations: 4 kB / 1.234 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/2.267, allocations: 23.97 kB / 1.234 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/2.267, allocations: 31.86 kB / 1.234 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/2.267, allocations: 19.98 kB / 1.234 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002766/2.268, allocations: 310.9 kB / 1.234 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.268, allocations: 0 / 1.234 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001843/2.269, allocations: 399.3 kB / 1.235 GB, free: 56.85 MB / 0.5105 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.001804/2.271, allocations: 1.291 MB / 1.236 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006098/2.272, allocations: 348.1 kB / 1.236 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/2.272, allocations: 0 / 1.236 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/2.272, allocations: 125.2 kB / 1.236 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/2.273, allocations: 236.4 kB / 1.236 GB, free: 55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/2.274, allocations: 0.5584 MB / 1.237 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/2.274, allocations: 0.8628 MB / 1.238 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009567/2.275, allocations: 0.5278 MB / 1.238 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/2.275, allocations: 75.41 kB / 1.238 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.275, allocations: 0 / 1.238 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.02261/2.298, allocations: 17.47 MB / 1.255 GB, free: 35.52 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1)