Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009696/0.0009695, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008221/0.0008221, allocations: 99.72 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1959/0.1959, allocations: 45.15 MB / 383.8 MB, free: 312 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.281e-05/1.283e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 63.26 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.367, allocations: 0.5005 GB / 1.005 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.367, allocations: 91.94 kB / 1.005 GB, free: 164 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7489/2.116, allocations: 247.2 MB / 1.246 GB, free: 111 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.393e-06/2.116, allocations: 0 / 1.246 GB, free: 111 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.932e-05/2.116, allocations: 15.69 kB / 1.246 GB, free: 111 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002388/2.119, allocations: 1.1 MB / 1.247 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/2.119, allocations: 11.12 kB / 1.247 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/2.12, allocations: 170.4 kB / 1.248 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/2.121, allocations: 494.6 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/2.121, allocations: 14.38 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/2.121, allocations: 25.88 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005887/2.121, allocations: 429.6 kB / 1.249 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/2.122, allocations: 0.5569 MB / 1.249 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/2.122, allocations: 0 / 1.249 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/2.122, allocations: 3.875 kB / 1.249 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/2.122, allocations: 15.64 kB / 1.249 GB, free: 109.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.002247/2.124, allocations: 2.575 MB / 1.252 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/2.125, allocations: 231.9 kB / 1.252 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/2.125, allocations: 125.5 kB / 1.252 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/2.125, allocations: 427.6 kB / 1.252 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/2.125, allocations: 38.38 kB / 1.252 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/2.125, allocations: 3.562 kB / 1.252 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002018/2.127, allocations: 0.6314 MB / 1.253 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/2.127, allocations: 166.1 kB / 1.253 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/2.128, allocations: 378 kB / 1.254 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/2.128, allocations: 29.05 kB / 1.254 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/2.128, allocations: 322.2 kB / 1.254 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/2.128, allocations: 109 kB / 1.254 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/2.128, allocations: 3.5 kB / 1.254 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/2.128, allocations: 357.4 kB / 1.254 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/2.128, allocations: 129.4 kB / 1.254 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/2.128, allocations: 299.5 kB / 1.255 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/2.13, allocations: 458.1 kB / 1.255 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.13, allocations: 3.25 kB / 1.255 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002025/2.132, allocations: 0.7822 MB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/2.132, allocations: 7.5 kB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/2.132, allocations: 7.844 kB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/2.132, allocations: 50.02 kB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/2.133, allocations: 114.7 kB / 1.256 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004133/2.133, allocations: 0.612 MB / 1.257 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/2.134, allocations: 57.23 kB / 1.257 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/2.134, allocations: 54.48 kB / 1.257 GB, free: 103.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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): 51 * 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 prepare postOptimizeDAE: time 0.0001185/2.134, allocations: 116.7 kB / 1.257 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/2.134, allocations: 51.19 kB / 1.257 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/2.136, allocations: 0.9739 MB / 1.258 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/2.136, allocations: 2.031 kB / 1.258 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.136, allocations: 0 / 1.258 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/2.136, allocations: 3.984 kB / 1.258 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/2.137, allocations: 1.131 MB / 1.259 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/2.137, allocations: 0 / 1.259 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/2.137, allocations: 54.09 kB / 1.259 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/2.138, allocations: 48.73 kB / 1.259 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/2.138, allocations: 3.75 kB / 1.259 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003689/2.138, allocations: 0.6104 MB / 1.26 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.138, allocations: 6.938 kB / 1.26 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/2.139, allocations: 0.6369 MB / 1.26 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/2.139, allocations: 147.9 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/2.139, allocations: 11.91 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/2.14, allocations: 17.77 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/2.14, allocations: 21.44 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/2.14, allocations: 21.61 kB / 1.261 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002839/2.14, allocations: 324.1 kB / 1.261 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/2.14, allocations: 0 / 1.261 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001414/2.141, allocations: 439 kB / 1.261 GB, free: 100.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.001893/2.143, allocations: 1.388 MB / 1.263 GB, free: 99.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005738/2.144, allocations: 323.5 kB / 1.263 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/2.144, allocations: 3.625 kB / 1.263 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/2.144, allocations: 124.9 kB / 1.263 GB, free: 99.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/2.145, allocations: 264.3 kB / 1.263 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008971/2.146, allocations: 0.5768 MB / 1.264 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/2.146, allocations: 0.8795 MB / 1.265 GB, free: 98.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001072/2.148, allocations: 0.545 MB / 1.265 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/2.148, allocations: 77.31 kB / 1.265 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/2.148, allocations: 0 / 1.265 GB, free: 98.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.02497/2.173, allocations: 18.47 MB / 1.283 GB, free: 82.09 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)