Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|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|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|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|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002159/0.002158, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 92.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3043/0.3043, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.053e-05, allocations: 4 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8556/1.262, allocations: 337.7 MB / 0.7957 GB, free: 14.76 MB / 491.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.262, allocations: 94.08 kB / 0.7958 GB, free: 14.71 MB / 491.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.494/3.756, allocations: 451.1 MB / 1.236 GB, free: 45.79 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.575e-06/3.756, allocations: 1.906 kB / 1.236 GB, free: 45.79 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 0.0001866/3.756, allocations: 46.88 kB / 1.236 GB, free: 45.79 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006895/3.763, allocations: 1.926 MB / 1.238 GB, free: 45.04 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/3.763, allocations: 10.06 kB / 1.238 GB, free: 45.04 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/3.765, allocations: 231.6 kB / 1.238 GB, free: 44.95 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003906/3.769, allocations: 1.099 MB / 1.24 GB, free: 44.68 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/3.769, allocations: 44.7 kB / 1.24 GB, free: 44.68 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/3.77, allocations: 74.59 kB / 1.24 GB, free: 44.68 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004132/3.774, allocations: 1.379 MB / 1.241 GB, free: 44.67 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/3.778, allocations: 1.623 MB / 1.243 GB, free: 44.12 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/3.779, allocations: 7.344 kB / 1.243 GB, free: 44.12 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/3.779, allocations: 8.469 kB / 1.243 GB, free: 44.12 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.706e-05/3.779, allocations: 34.12 kB / 1.243 GB, free: 44.12 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/3.795, allocations: 10.43 MB / 1.253 GB, free: 36.57 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/3.797, allocations: 0.6107 MB / 1.253 GB, free: 36.55 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009362/3.798, allocations: 361.2 kB / 1.254 GB, free: 36.54 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007175/3.805, allocations: 4.291 MB / 1.258 GB, free: 33.09 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/3.805, allocations: 49.88 kB / 1.258 GB, free: 33.05 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=53): time 3.537e-06/3.805, allocations: 0 / 1.258 GB, free: 33.05 MB / 0.4952 GB Notification: Performance of matching and sorting (n=53): time 0.008551/3.814, allocations: 1.214 MB / 1.259 GB, free: 32.94 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/3.814, allocations: 370.7 kB / 1.26 GB, free: 32.5 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/3.816, allocations: 1.023 MB / 1.261 GB, free: 32.32 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/3.816, allocations: 29.39 kB / 1.261 GB, free: 32.29 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006493/3.817, allocations: 0.8963 MB / 1.261 GB, free: 31.74 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/3.817, allocations: 194.7 kB / 1.262 GB, free: 31.62 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/3.818, allocations: 0 / 1.262 GB, free: 31.62 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0001131/3.818, allocations: 368.3 kB / 1.262 GB, free: 31.31 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008152/3.818, allocations: 339.1 kB / 1.262 GB, free: 31.31 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/3.82, allocations: 0.9285 MB / 1.263 GB, free: 30.58 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/3.827, allocations: 1.074 MB / 1.264 GB, free: 30.57 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/3.827, allocations: 7.891 kB / 1.264 GB, free: 30.56 MB / 0.4952 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.009596/3.837, allocations: 1.807 MB / 1.266 GB, free: 30.49 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/3.837, allocations: 10.59 kB / 1.266 GB, free: 30.49 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/3.837, allocations: 19.16 kB / 1.266 GB, free: 30.49 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.216e-05/3.837, allocations: 28.09 kB / 1.266 GB, free: 30.49 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005241/3.842, allocations: 0.5089 MB / 1.267 GB, free: 30.49 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/3.844, allocations: 1.904 MB / 1.268 GB, free: 28.73 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/3.847, allocations: 198 kB / 1.269 GB, free: 28.64 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003951/3.847, allocations: 92 kB / 1.269 GB, free: 28.64 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004747/3.848, allocations: 155.5 kB / 1.269 GB, free: 28.52 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005497/3.849, allocations: 137.5 kB / 1.269 GB, free: 28.46 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006747/3.855, allocations: 1.7 MB / 1.271 GB, free: 28.33 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/3.855, allocations: 13.91 kB / 1.271 GB, free: 28.33 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3.855, allocations: 3.25 kB / 1.271 GB, free: 28.33 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/3.855, allocations: 7.031 kB / 1.271 GB, free: 28.33 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/3.858, allocations: 1.021 MB / 1.272 GB, free: 28.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/3.858, allocations: 0 / 1.272 GB, free: 28.13 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/3.86, allocations: 232.2 kB / 1.272 GB, free: 28.13 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008942/3.861, allocations: 77.88 kB / 1.272 GB, free: 28.12 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/3.861, allocations: 27.62 kB / 1.272 GB, free: 28.12 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/3.863, allocations: 1.806 MB / 1.274 GB, free: 26.43 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/3.863, allocations: 3.656 kB / 1.274 GB, free: 26.43 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005258/3.869, allocations: 1.272 MB / 1.275 GB, free: 26.18 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008901/3.869, allocations: 288.5 kB / 1.275 GB, free: 26 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005572/3.87, allocations: 3.953 kB / 1.275 GB, free: 25.99 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/3.872, allocations: 59.41 kB / 1.275 GB, free: 25.99 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/3.873, allocations: 65.67 kB / 1.275 GB, free: 25.99 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/3.873, allocations: 59.39 kB / 1.275 GB, free: 25.99 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.001498/3.874, allocations: 0.7494 MB / 1.276 GB, free: 25.88 MB / 0.4952 GB Notification: Performance of sort global known variables: time 6.31e-07/3.874, allocations: 2.062 kB / 1.276 GB, free: 25.88 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004589/3.879, allocations: 0.909 MB / 1.277 GB, free: 25.7 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003778/3.883, allocations: 1.26 MB / 1.278 GB, free: 25.37 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.006021/3.889, allocations: 1.143 MB / 1.279 GB, free: 25.36 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/3.889, allocations: 4.5 kB / 1.279 GB, free: 25.36 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/3.891, allocations: 0.5035 MB / 1.28 GB, free: 25.36 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005513/3.897, allocations: 0.5868 MB / 1.28 GB, free: 25.34 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/3.903, allocations: 1.815 MB / 1.282 GB, free: 24.81 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/3.904, allocations: 1.272 MB / 1.284 GB, free: 24.09 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/3.905, allocations: 175.9 kB / 1.284 GB, free: 24.08 MB / 0.4952 GB Notification: Performance of SimCode: time 1.002e-06/3.905, allocations: 0 / 1.284 GB, free: 24.08 MB / 0.4952 GB Notification: Performance of Templates: time 0.1253/4.03, allocations: 51.05 MB / 1.334 GB, free: 21.23 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.pipe 2>&1)