Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000776/0.000776, allocations: 93.55 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.241e-05, allocations: 0 / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09749/0.09752, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.416, allocations: 498.5 MB / 0.9912 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.416, allocations: 96.81 kB / 0.9913 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7197/2.136, allocations: 217 MB / 1.203 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.016e-06/2.136, allocations: 0 / 1.203 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.817e-05/2.136, allocations: 17.66 kB / 1.203 GB, free: 118.5 MB / 0.5261 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.003123/2.139, allocations: 0.9066 MB / 1.204 GB, free: 118 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/2.139, allocations: 7.906 kB / 1.204 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/2.141, allocations: 142.9 kB / 1.204 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009682/2.142, allocations: 469.9 kB / 1.205 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/2.142, allocations: 16.16 kB / 1.205 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.294e-05/2.142, allocations: 22.19 kB / 1.205 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006616/2.142, allocations: 398 kB / 1.205 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007521/2.143, allocations: 0.4926 MB / 1.206 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/2.143, allocations: 7.734 kB / 1.206 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/2.143, allocations: 0 / 1.206 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/2.143, allocations: 11.09 kB / 1.206 GB, free: 117.5 MB / 0.5261 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.002559/2.146, allocations: 2.58 MB / 1.208 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/2.146, allocations: 243.2 kB / 1.208 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/2.146, allocations: 124.3 kB / 1.208 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/2.147, allocations: 433.6 kB / 1.209 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/2.147, allocations: 49.5 kB / 1.209 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/2.147, allocations: 0 / 1.209 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.002104/2.149, allocations: 0.6211 MB / 1.21 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/2.149, allocations: 131.9 kB / 1.21 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/2.149, allocations: 353.6 kB / 1.21 GB, free: 115 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/2.149, allocations: 32.11 kB / 1.21 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/2.149, allocations: 285 kB / 1.21 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/2.15, allocations: 108 kB / 1.21 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/2.15, allocations: 0 / 1.21 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/2.15, allocations: 356.2 kB / 1.211 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/2.15, allocations: 137.7 kB / 1.211 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/2.15, allocations: 281.2 kB / 1.211 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/2.152, allocations: 478.9 kB / 1.212 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/2.152, allocations: 0 / 1.212 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002215/2.154, allocations: 0.8059 MB / 1.212 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/2.154, allocations: 8.531 kB / 1.212 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/2.154, allocations: 3.344 kB / 1.212 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/2.154, allocations: 47.94 kB / 1.212 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/2.155, allocations: 132.4 kB / 1.213 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/2.159, allocations: 17.17 MB / 1.229 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/2.159, allocations: 51.31 kB / 1.229 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/2.16, allocations: 47.67 kB / 1.229 GB, free: 96.59 MB / 0.5261 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.0002321/2.16, allocations: 158.4 kB / 1.23 GB, free: 96.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/2.16, allocations: 48.19 kB / 1.23 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/2.162, allocations: 0.9703 MB / 1.231 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/2.162, allocations: 3.812 kB / 1.231 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/2.162, allocations: 0 / 1.231 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/2.162, allocations: 0 / 1.231 GB, free: 96.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/2.163, allocations: 1.098 MB / 1.232 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/2.163, allocations: 3.75 kB / 1.232 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/2.163, allocations: 53.88 kB / 1.232 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/2.164, allocations: 45.34 kB / 1.232 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/2.164, allocations: 10.53 kB / 1.232 GB, free: 95.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/2.164, allocations: 0.6049 MB / 1.232 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/2.164, allocations: 3.375 kB / 1.232 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/2.165, allocations: 0.6024 MB / 1.233 GB, free: 94.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/2.165, allocations: 150.2 kB / 1.233 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.179e-05/2.165, allocations: 3.75 kB / 1.233 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/2.166, allocations: 24.8 kB / 1.233 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/2.166, allocations: 34.3 kB / 1.233 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/2.166, allocations: 17 kB / 1.233 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002856/2.166, allocations: 295.3 kB / 1.233 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.166, allocations: 0 / 1.233 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001683/2.168, allocations: 430.8 kB / 1.234 GB, free: 94.66 MB / 0.5261 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.002346/2.17, allocations: 1.318 MB / 1.235 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006076/2.171, allocations: 328.3 kB / 1.235 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/2.171, allocations: 0 / 1.235 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/2.171, allocations: 119.8 kB / 1.236 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/2.172, allocations: 232.2 kB / 1.236 GB, free: 94.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009339/2.173, allocations: 0.5429 MB / 1.236 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/2.173, allocations: 0.865 MB / 1.237 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00104/2.174, allocations: 0.5329 MB / 1.238 GB, free: 93.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/2.175, allocations: 76.2 kB / 1.238 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-07/2.175, allocations: 3.938 kB / 1.238 GB, free: 93.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.02677/2.201, allocations: 17.53 MB / 1.255 GB, free: 90.91 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)