Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 169.7 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.319/1.319, allocations: 221.5 MB / 230.7 MB, free: 7.539 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.0008765/0.0008765, allocations: 100.7 kB / 281.6 MB, free: 5.285 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.2033/0.2033, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.826e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 61.91 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.399, allocations: 497.5 MB / 0.9805 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.4, allocations: 91.95 kB / 0.9806 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.724/2.124, allocations: 216.9 MB / 1.192 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/2.124, allocations: 0 / 1.192 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.527e-05/2.124, allocations: 23.52 kB / 1.192 GB, free: 101.7 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.00211/2.126, allocations: 0.8952 MB / 1.193 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/2.126, allocations: 11.98 kB / 1.193 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/2.127, allocations: 143.1 kB / 1.193 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/2.128, allocations: 472.3 kB / 1.194 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/2.128, allocations: 12 kB / 1.194 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/2.128, allocations: 24 kB / 1.194 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005643/2.129, allocations: 402.5 kB / 1.194 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/2.129, allocations: 0.4966 MB / 1.195 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/2.129, allocations: 7.922 kB / 1.195 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/2.129, allocations: 4 kB / 1.195 GB, free: 99.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/2.129, allocations: 15.94 kB / 1.195 GB, free: 99.12 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.00236/2.132, allocations: 2.587 MB / 1.197 GB, free: 96.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/2.132, allocations: 230.8 kB / 1.198 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/2.132, allocations: 124.8 kB / 1.198 GB, free: 95.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002783/2.132, allocations: 436.8 kB / 1.198 GB, free: 95.47 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/2.132, allocations: 38.56 kB / 1.198 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/2.132, allocations: 0 / 1.198 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30): time 0.002087/2.135, allocations: 0.6204 MB / 1.199 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/2.135, allocations: 136.5 kB / 1.199 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/2.135, allocations: 353.1 kB / 1.199 GB, free: 94.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/2.135, allocations: 25.7 kB / 1.199 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/2.135, allocations: 291.6 kB / 1.2 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/2.135, allocations: 106.5 kB / 1.2 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/2.135, allocations: 0 / 1.2 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/2.135, allocations: 350.8 kB / 1.2 GB, free: 93.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/2.136, allocations: 145 kB / 1.2 GB, free: 93.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/2.136, allocations: 275.9 kB / 1.2 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/2.138, allocations: 475.5 kB / 1.201 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/2.138, allocations: 3.938 kB / 1.201 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002253/2.14, allocations: 0.813 MB / 1.202 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/2.14, allocations: 5.25 kB / 1.202 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/2.14, allocations: 4 kB / 1.202 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/2.14, allocations: 48.83 kB / 1.202 GB, free: 91.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/2.141, allocations: 136.2 kB / 1.202 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/2.145, allocations: 17.15 MB / 1.219 GB, free: 73.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/2.145, allocations: 63.66 kB / 1.219 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/2.145, allocations: 47.98 kB / 1.219 GB, free: 73.23 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.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.0002625/2.146, allocations: 139.4 kB / 1.219 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/2.146, allocations: 51.39 kB / 1.219 GB, free: 73.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/2.148, allocations: 0.9719 MB / 1.22 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/2.148, allocations: 3.984 kB / 1.22 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/2.148, allocations: 0 / 1.22 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.148, allocations: 4 kB / 1.22 GB, free: 72.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/2.15, allocations: 1.099 MB / 1.221 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.15, allocations: 4 kB / 1.221 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/2.15, allocations: 47.97 kB / 1.221 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/2.15, allocations: 52.77 kB / 1.221 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/2.15, allocations: 4.219 kB / 1.221 GB, free: 70.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003632/2.15, allocations: 0.6069 MB / 1.222 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.15, allocations: 4.031 kB / 1.222 GB, free: 70.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/2.151, allocations: 0.6072 MB / 1.222 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/2.151, allocations: 144.5 kB / 1.222 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/2.151, allocations: 7.953 kB / 1.222 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/2.152, allocations: 27.97 kB / 1.222 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/2.152, allocations: 27.91 kB / 1.222 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/2.152, allocations: 19.98 kB / 1.222 GB, free: 69.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000272/2.152, allocations: 298.9 kB / 1.223 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.152, allocations: 0 / 1.223 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001692/2.154, allocations: 399.3 kB / 1.223 GB, free: 68.49 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.002405/2.156, allocations: 1.3 MB / 1.224 GB, free: 67.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005894/2.157, allocations: 327.7 kB / 1.225 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/2.157, allocations: 0 / 1.225 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/2.157, allocations: 119.7 kB / 1.225 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/2.158, allocations: 226.1 kB / 1.225 GB, free: 66.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/2.159, allocations: 0.5583 MB / 1.226 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/2.16, allocations: 0.8628 MB / 1.226 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00107/2.161, allocations: 0.5347 MB / 1.227 GB, free: 64.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/2.161, allocations: 71.41 kB / 1.227 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/2.161, allocations: 0 / 1.227 GB, free: 64.57 MB / 0.5105 GB Notification: Performance of Templates: time 0.02606/2.187, allocations: 17.41 MB / 1.244 GB, free: 47.25 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)