Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.EdgedBend,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.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,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.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 179.4 kB / 8.364 MB, free: 0.7148 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.935/1.935, 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.001084/0.001084, allocations: 89.34 kB / 262.1 MB, free: 13.88 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.2953/0.2953, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.733e-05, allocations: 0 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4833, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.783/2.266, allocations: 0.583 GB / 1.049 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/2.267, allocations: 92.03 kB / 1.049 GB, free: 139.2 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.111/3.378, allocations: 231.6 MB / 1.275 GB, free: 105 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.583e-06/3.378, allocations: 0 / 1.275 GB, free: 105 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 4.547e-05/3.378, allocations: 16.62 kB / 1.275 GB, free: 105 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.002513/3.38, allocations: 0.964 MB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/3.38, allocations: 7.875 kB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/3.382, allocations: 139.2 kB / 1.276 GB, free: 104.4 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/3.383, allocations: 484.7 kB / 1.277 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/3.383, allocations: 14.69 kB / 1.277 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/3.383, allocations: 22.19 kB / 1.277 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008898/3.384, allocations: 393.6 kB / 1.277 GB, free: 104.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/3.385, allocations: 0.497 MB / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/3.385, allocations: 3 kB / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/3.385, allocations: 7.438 kB / 1.278 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/3.385, allocations: 10.34 kB / 1.278 GB, free: 103.8 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.003483/3.388, allocations: 2.583 MB / 1.28 GB, free: 101.8 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/3.389, allocations: 240.2 kB / 1.28 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/3.389, allocations: 127.8 kB / 1.281 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/3.389, allocations: 320.4 kB / 1.281 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/3.389, allocations: 41.92 kB / 1.281 GB, free: 101.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 3.206e-06/3.389, allocations: 3.938 kB / 1.281 GB, free: 101.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=30): time 0.003707/3.393, allocations: 0.7556 MB / 1.282 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/3.393, allocations: 136.3 kB / 1.282 GB, free: 100.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/3.394, allocations: 359.9 kB / 1.282 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/3.394, allocations: 29.55 kB / 1.282 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/3.394, allocations: 330.8 kB / 1.282 GB, free: 100.4 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 9.794e-05/3.394, allocations: 102.4 kB / 1.283 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/3.394, allocations: 0 / 1.283 GB, free: 100.3 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/3.394, allocations: 333 kB / 1.283 GB, free: 100 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/3.395, allocations: 139 kB / 1.283 GB, free: 99.95 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/3.395, allocations: 273.6 kB / 1.283 GB, free: 99.74 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/3.398, allocations: 0.6129 MB / 1.284 GB, free: 99.65 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/3.398, allocations: 3.531 kB / 1.284 GB, free: 99.65 MB / 0.4952 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.004041/3.402, allocations: 0.9195 MB / 1.285 GB, free: 99.43 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/3.402, allocations: 7.062 kB / 1.285 GB, free: 99.43 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/3.402, allocations: 3.844 kB / 1.285 GB, free: 99.43 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/3.403, allocations: 50.98 kB / 1.285 GB, free: 99.42 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/3.404, allocations: 135.1 kB / 1.285 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/3.409, allocations: 17.15 MB / 1.302 GB, free: 81.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008864/3.41, allocations: 65.27 kB / 1.302 GB, free: 81.57 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.41, allocations: 52.17 kB / 1.302 GB, free: 81.57 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.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.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 (52): * 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): 6 * 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: 6 {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.0003109/3.41, allocations: 128.1 kB / 1.302 GB, free: 81.46 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/3.41, allocations: 42.84 kB / 1.302 GB, free: 81.44 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/3.413, allocations: 0.6225 MB / 1.303 GB, free: 81.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/3.413, allocations: 0 / 1.303 GB, free: 81.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/3.413, allocations: 0 / 1.303 GB, free: 81.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/3.413, allocations: 7.609 kB / 1.303 GB, free: 81.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/3.415, allocations: 1.095 MB / 1.304 GB, free: 80.47 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/3.415, allocations: 0 / 1.304 GB, free: 80.47 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/3.416, allocations: 54.47 kB / 1.304 GB, free: 80.46 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002044/3.416, allocations: 49.41 kB / 1.304 GB, free: 80.44 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/3.416, allocations: 5.938 kB / 1.304 GB, free: 80.44 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005518/3.417, allocations: 0.6004 MB / 1.304 GB, free: 79.89 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/3.417, allocations: 7.891 kB / 1.304 GB, free: 79.89 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/3.418, allocations: 0.5993 MB / 1.305 GB, free: 79.46 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/3.418, allocations: 150.2 kB / 1.305 GB, free: 79.32 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/3.419, allocations: 3.688 kB / 1.305 GB, free: 79.32 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/3.419, allocations: 30.86 kB / 1.305 GB, free: 79.32 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/3.419, allocations: 29.05 kB / 1.305 GB, free: 79.31 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/3.419, allocations: 15.05 kB / 1.305 GB, free: 79.31 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004197/3.42, allocations: 295.5 kB / 1.305 GB, free: 79.16 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.11e-07/3.42, allocations: 0 / 1.305 GB, free: 79.16 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.002196/3.422, allocations: 457.3 kB / 1.306 GB, free: 79.01 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.002848/3.425, allocations: 1.389 MB / 1.307 GB, free: 78.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001/3.426, allocations: 332.2 kB / 1.308 GB, free: 78.59 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/3.426, allocations: 3.906 kB / 1.308 GB, free: 78.59 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/3.426, allocations: 118.8 kB / 1.308 GB, free: 78.54 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/3.428, allocations: 222.6 kB / 1.308 GB, free: 78.5 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/3.429, allocations: 0.5861 MB / 1.308 GB, free: 78.15 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/3.43, allocations: 0.8658 MB / 1.309 GB, free: 77.44 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/3.43, allocations: 87.95 kB / 1.309 GB, free: 77.43 MB / 0.4952 GB Notification: Performance of SimCode: time 8.31e-07/3.43, allocations: 2.594 kB / 1.309 GB, free: 77.43 MB / 0.4952 GB Notification: Performance of Templates: time 0.03995/3.47, allocations: 24.31 MB / 1.333 GB, free: 64.41 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)