Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009597/0.0009598, allocations: 173 kB / 8.742 MB, free: 344 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.389/1.389, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.001109/0.001109, allocations: 102 kB / 281.6 MB, free: 5.305 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.2021/0.2021, allocations: 44.13 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.096e-05, allocations: 0 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 61.92 MB / 0.4947 GB, free: 1.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/1.51, allocations: 0.4994 GB / 0.9941 GB, free: 91.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.51, allocations: 89.56 kB / 0.9942 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7922/2.303, allocations: 246.2 MB / 1.235 GB, free: 48.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/2.303, allocations: 0 / 1.235 GB, free: 48.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.975e-05/2.303, allocations: 15.83 kB / 1.235 GB, free: 48.68 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002894/2.306, allocations: 1.084 MB / 1.236 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/2.306, allocations: 11.98 kB / 1.236 GB, free: 47.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/2.307, allocations: 159.1 kB / 1.236 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000872/2.308, allocations: 0.4907 MB / 1.236 GB, free: 46.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/2.308, allocations: 12 kB / 1.236 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/2.308, allocations: 24 kB / 1.236 GB, free: 46.83 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007329/2.309, allocations: 434.5 kB / 1.237 GB, free: 46.41 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/2.31, allocations: 0.5508 MB / 1.237 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/2.31, allocations: 4 kB / 1.237 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/2.31, allocations: 4 kB / 1.237 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/2.31, allocations: 8 kB / 1.237 GB, free: 45.79 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.002902/2.313, allocations: 2.568 MB / 1.24 GB, free: 43.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/2.313, allocations: 230.6 kB / 1.24 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/2.313, allocations: 120.8 kB / 1.24 GB, free: 42.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000351/2.314, allocations: 437.5 kB / 1.241 GB, free: 42.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/2.314, allocations: 38.56 kB / 1.241 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/2.314, allocations: 0 / 1.241 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.00211/2.316, allocations: 0.6237 MB / 1.241 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/2.316, allocations: 158.2 kB / 1.241 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/2.316, allocations: 393.1 kB / 1.242 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/2.316, allocations: 25.7 kB / 1.242 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/2.316, allocations: 327.2 kB / 1.242 GB, free: 40.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/2.316, allocations: 102.5 kB / 1.242 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/2.316, allocations: 0 / 1.242 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/2.317, allocations: 358.8 kB / 1.243 GB, free: 40.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/2.317, allocations: 125.1 kB / 1.243 GB, free: 39.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/2.317, allocations: 297.9 kB / 1.243 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/2.319, allocations: 463.3 kB / 1.243 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.319, allocations: 0 / 1.243 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002372/2.321, allocations: 0.7899 MB / 1.244 GB, free: 38.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/2.321, allocations: 5.406 kB / 1.244 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/2.321, allocations: 4 kB / 1.244 GB, free: 38.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/2.322, allocations: 52.77 kB / 1.244 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/2.322, allocations: 116.3 kB / 1.244 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005333/2.323, allocations: 0.6148 MB / 1.245 GB, free: 37.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/2.323, allocations: 47.52 kB / 1.245 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/2.323, allocations: 51.98 kB / 1.245 GB, free: 37.45 MB / 0.5105 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.0002294/2.324, allocations: 124.9 kB / 1.245 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/2.324, allocations: 59.38 kB / 1.245 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/2.326, allocations: 0.9649 MB / 1.246 GB, free: 36.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/2.326, allocations: 7.984 kB / 1.246 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.326, allocations: 0 / 1.246 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/2.326, allocations: 0 / 1.246 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/2.328, allocations: 1.128 MB / 1.247 GB, free: 35.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.328, allocations: 4 kB / 1.247 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/2.328, allocations: 52.09 kB / 1.247 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/2.328, allocations: 48.84 kB / 1.247 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/2.328, allocations: 15.98 kB / 1.247 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003947/2.328, allocations: 0.5991 MB / 1.248 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/2.328, allocations: 4 kB / 1.248 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/2.329, allocations: 0.6452 MB / 1.249 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/2.33, allocations: 140.4 kB / 1.249 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/2.33, allocations: 4 kB / 1.249 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/2.33, allocations: 27.97 kB / 1.249 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/2.33, allocations: 31.84 kB / 1.249 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/2.33, allocations: 19.98 kB / 1.249 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003625/2.331, allocations: 318.9 kB / 1.249 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/2.331, allocations: 4 kB / 1.249 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00162/2.332, allocations: 415.3 kB / 1.249 GB, free: 32.6 MB / 0.5105 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.002661/2.335, allocations: 1.352 MB / 1.251 GB, free: 31.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007054/2.336, allocations: 324.6 kB / 1.251 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/2.336, allocations: 0 / 1.251 GB, free: 30.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/2.336, allocations: 126.9 kB / 1.251 GB, free: 30.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/2.337, allocations: 249.2 kB / 1.251 GB, free: 30.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/2.338, allocations: 0.5834 MB / 1.252 GB, free: 30 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/2.339, allocations: 0.8743 MB / 1.253 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001245/2.34, allocations: 0.555 MB / 1.253 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/2.34, allocations: 83.39 kB / 1.254 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/2.34, allocations: 3.938 kB / 1.254 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.028/2.368, allocations: 18.29 MB / 1.271 GB, free: 10.24 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)