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.002108/0.002108, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3096/0.3096, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.427e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.298, allocations: 338.4 MB / 0.8032 GB, free: 85.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004336/1.299, allocations: 100.2 kB / 0.8033 GB, free: 85.63 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.146/3.445, allocations: 454.8 MB / 1.247 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.472e-06/3.445, allocations: 0 / 1.247 GB, free: 20.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001292/3.445, allocations: 51.92 kB / 1.248 GB, free: 20.2 MB / 0.4948 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.005064/3.45, allocations: 1.923 MB / 1.249 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/3.451, allocations: 12.03 kB / 1.249 GB, free: 18.22 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/3.452, allocations: 241.7 kB / 1.25 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/3.455, allocations: 1.088 MB / 1.251 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/3.455, allocations: 98.59 kB / 1.251 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/3.455, allocations: 128 kB / 1.251 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/3.46, allocations: 1.893 MB / 1.253 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.263e-05/3.46, allocations: 7.938 kB / 1.253 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/3.46, allocations: 64 kB / 1.253 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/3.46, allocations: 36 kB / 1.253 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00376/3.464, allocations: 1.574 MB / 1.254 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/3.477, allocations: 9.27 MB / 1.263 GB, free: 2.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/3.48, allocations: 1.03 MB / 1.264 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/3.481, allocations: 490 kB / 1.265 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/3.491, allocations: 6.019 MB / 1.271 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.574e-05/3.491, allocations: 51.34 kB / 1.271 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 4.258e-06/3.491, allocations: 0 / 1.271 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.00444/3.496, allocations: 1.029 MB / 1.272 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/3.496, allocations: 384.6 kB / 1.272 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/3.498, allocations: 0.9924 MB / 1.273 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001939/3.498, allocations: 45.7 kB / 1.273 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/3.499, allocations: 0.7611 MB / 1.274 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/3.499, allocations: 331.3 kB / 1.274 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/3.5, allocations: 28 kB / 1.274 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001776/3.5, allocations: 366.8 kB / 1.275 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/3.501, allocations: 371.9 kB / 1.275 GB, free: 6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/3.502, allocations: 0.9708 MB / 1.276 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/3.504, allocations: 0.5289 MB / 1.276 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/3.504, allocations: 4 kB / 1.277 GB, free: 4.215 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003862/3.508, allocations: 1.378 MB / 1.278 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/3.508, allocations: 12 kB / 1.278 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/3.508, allocations: 16.84 kB / 1.278 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.4e-05/3.508, allocations: 31.94 kB / 1.278 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/3.513, allocations: 0.5382 MB / 1.278 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/3.516, allocations: 1.879 MB / 1.28 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/3.518, allocations: 214.2 kB / 1.28 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3831/3.901, allocations: 84.58 kB / 1.281 GB, free: 60.76 MB / 0.5105 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.0007659/3.902, allocations: 204.5 kB / 1.281 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/3.903, allocations: 149.8 kB / 1.281 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/3.909, allocations: 2.304 MB / 1.283 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/3.91, allocations: 18.59 kB / 1.283 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/3.91, allocations: 2.312 kB / 1.283 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/3.91, allocations: 7.594 kB / 1.283 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009248/3.919, allocations: 3.749 MB / 1.287 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/3.919, allocations: 11.69 kB / 1.287 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/3.921, allocations: 296.9 kB / 1.287 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/3.922, allocations: 110.5 kB / 1.287 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/3.923, allocations: 50.3 kB / 1.287 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/3.924, allocations: 1.793 MB / 1.289 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/3.924, allocations: 10.61 kB / 1.289 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/3.929, allocations: 1.992 MB / 1.291 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/3.929, allocations: 279.4 kB / 1.291 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/3.93, allocations: 35.52 kB / 1.291 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/3.932, allocations: 112.8 kB / 1.291 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/3.933, allocations: 109.8 kB / 1.291 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002966/3.933, allocations: 83.27 kB / 1.292 GB, free: 56.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001735/3.935, allocations: 0.7793 MB / 1.292 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.71e-07/3.935, allocations: 0 / 1.292 GB, free: 56.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004732/3.94, allocations: 0.9423 MB / 1.293 GB, free: 56.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 111 * 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.004023/3.944, allocations: 1.293 MB / 1.295 GB, free: 56.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007529/3.951, allocations: 1.338 MB / 1.296 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/3.951, allocations: 3.906 kB / 1.296 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/3.955, allocations: 0.6864 MB / 1.296 GB, free: 56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008078/3.963, allocations: 0.772 MB / 1.297 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/3.97, allocations: 2.18 MB / 1.299 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/3.971, allocations: 1.292 MB / 1.301 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/3.972, allocations: 189.7 kB / 1.301 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/3.972, allocations: 0 / 1.301 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.08846/4.061, allocations: 52.14 MB / 1.352 GB, free: 51.85 MB / 0.5105 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)