Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.000903/0.000903, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.446/1.446, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009633/0.0009631, allocations: 86.62 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.186/0.186, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.922e-05, allocations: 7.984 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 58.85 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/1.5, allocations: 0.583 GB / 1.049 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.5, allocations: 96 kB / 1.049 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7069/2.207, allocations: 231.6 MB / 1.275 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/2.207, allocations: 0 / 1.275 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.436e-05/2.207, allocations: 12 kB / 1.275 GB, free: 8.527 MB / 0.4948 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.002446/2.21, allocations: 0.9591 MB / 1.276 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/2.21, allocations: 12.03 kB / 1.276 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/2.211, allocations: 139.2 kB / 1.276 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/2.212, allocations: 479.1 kB / 1.277 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/2.212, allocations: 16 kB / 1.277 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/2.212, allocations: 24 kB / 1.277 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006442/2.212, allocations: 398.5 kB / 1.277 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007129/2.213, allocations: 0.4962 MB / 1.278 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/2.213, allocations: 4 kB / 1.278 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/2.213, allocations: 0 / 1.278 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/2.213, allocations: 12 kB / 1.278 GB, free: 5.879 MB / 0.4948 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.002613/2.216, allocations: 2.589 MB / 1.28 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/2.216, allocations: 234.7 kB / 1.28 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/2.216, allocations: 124.8 kB / 1.281 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/2.217, allocations: 321.6 kB / 1.281 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/2.217, allocations: 42.5 kB / 1.281 GB, free: 2.297 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 1.964e-06/2.217, allocations: 3.938 kB / 1.281 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.002363/2.219, allocations: 0.7595 MB / 1.282 GB, free: 1.523 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/2.219, allocations: 136.5 kB / 1.282 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/2.22, allocations: 357.1 kB / 1.282 GB, free: 1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/2.22, allocations: 25.7 kB / 1.282 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/2.22, allocations: 291.5 kB / 1.282 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/2.22, allocations: 110.5 kB / 1.283 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/2.22, allocations: 0 / 1.283 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/2.22, allocations: 346.8 kB / 1.283 GB, free: 228 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/2.22, allocations: 141.1 kB / 1.283 GB, free: 84 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.324/2.544, allocations: 270.3 kB / 1.283 GB, free: 94.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/2.547, allocations: 0.6181 MB / 1.284 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/2.547, allocations: 0 / 1.284 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003024/2.55, allocations: 0.9418 MB / 1.285 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/2.55, allocations: 7.531 kB / 1.285 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/2.55, allocations: 3.781 kB / 1.285 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/2.55, allocations: 52.59 kB / 1.285 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/2.551, allocations: 129.4 kB / 1.285 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/2.555, allocations: 17.15 MB / 1.302 GB, free: 77.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/2.556, allocations: 58.33 kB / 1.302 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/2.556, allocations: 46.52 kB / 1.302 GB, free: 77.02 MB / 0.4948 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.0002607/2.556, allocations: 135.2 kB / 1.302 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/2.556, allocations: 51.98 kB / 1.302 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/2.558, allocations: 0.6084 MB / 1.303 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/2.558, allocations: 6.609 kB / 1.303 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/2.558, allocations: 1.562 kB / 1.303 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.558, allocations: 0 / 1.303 GB, free: 76.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/2.56, allocations: 1.102 MB / 1.304 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/2.56, allocations: 0 / 1.304 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/2.56, allocations: 52 kB / 1.304 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/2.56, allocations: 51.97 kB / 1.304 GB, free: 76.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/2.56, allocations: 6.188 kB / 1.304 GB, free: 76.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004572/2.561, allocations: 0.6014 MB / 1.304 GB, free: 75.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/2.561, allocations: 8.953 kB / 1.304 GB, free: 75.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/2.562, allocations: 0.6052 MB / 1.305 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/2.562, allocations: 151.2 kB / 1.305 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/2.562, allocations: 3.953 kB / 1.305 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/2.563, allocations: 31.44 kB / 1.305 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/2.563, allocations: 21.97 kB / 1.305 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/2.563, allocations: 22.58 kB / 1.305 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003419/2.563, allocations: 293.7 kB / 1.305 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.563, allocations: 0 / 1.305 GB, free: 75.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00234/2.565, allocations: 459.1 kB / 1.306 GB, free: 75.17 MB / 0.4948 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.00372/2.569, allocations: 1.393 MB / 1.307 GB, free: 75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008948/2.57, allocations: 330.4 kB / 1.308 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/2.57, allocations: 2.844 kB / 1.308 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/2.57, allocations: 121.1 kB / 1.308 GB, free: 74.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/2.572, allocations: 212.2 kB / 1.308 GB, free: 74.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/2.573, allocations: 0.5509 MB / 1.308 GB, free: 74.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/2.573, allocations: 0.8613 MB / 1.309 GB, free: 74.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008593/2.574, allocations: 189.2 kB / 1.309 GB, free: 74.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/2.574, allocations: 65.84 kB / 1.31 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/2.574, allocations: 0 / 1.31 GB, free: 74.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.02988/2.604, allocations: 18.17 MB / 1.327 GB, free: 73.45 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)