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.001532/0.001531, allocations: 185.3 kB / 16.4 MB, free: 5.746 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.994/1.994, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001143/0.001142, allocations: 97.67 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5347/0.5347, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004678, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1238, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.244, allocations: 338.5 MB / 0.8093 GB, free: 32.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/1.244, allocations: 96.06 kB / 0.8094 GB, free: 32.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285/3.53, allocations: 456.4 MB / 1.255 GB, free: 384 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/3.53, allocations: 0 / 1.255 GB, free: 384 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002065/3.53, allocations: 43.98 kB / 1.255 GB, free: 340 kB / 0.5105 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.4309/3.961, allocations: 2.109 MB / 1.257 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/3.961, allocations: 12.34 kB / 1.257 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/3.963, allocations: 236.2 kB / 1.257 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/3.968, allocations: 1.095 MB / 1.258 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/3.968, allocations: 98.91 kB / 1.259 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/3.968, allocations: 127.4 kB / 1.259 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006402/3.975, allocations: 1.933 MB / 1.261 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/3.975, allocations: 6.5 kB / 1.261 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/3.975, allocations: 69.08 kB / 1.261 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/3.975, allocations: 39.06 kB / 1.261 GB, free: 46.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005669/3.981, allocations: 1.6 MB / 1.262 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/3.997, allocations: 9.274 MB / 1.271 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/4, allocations: 1.048 MB / 1.272 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008955/4.009, allocations: 5.83 MB / 1.278 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/4.01, allocations: 53.12 kB / 1.278 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 3.887e-06/4.01, allocations: 0 / 1.278 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.006367/4.016, allocations: 1.361 MB / 1.279 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/4.016, allocations: 375 kB / 1.28 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/4.018, allocations: 1.006 MB / 1.281 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004032/4.019, allocations: 47.58 kB / 1.281 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005716/4.019, allocations: 0.7623 MB / 1.281 GB, free: 33.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004695/4.02, allocations: 336.5 kB / 1.282 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/4.02, allocations: 35.44 kB / 1.282 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001174/4.02, allocations: 363.1 kB / 1.282 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/4.021, allocations: 392 kB / 1.283 GB, free: 33.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/4.023, allocations: 0.9948 MB / 1.284 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/4.025, allocations: 0.5372 MB / 1.284 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.279e-05/4.025, allocations: 6.25 kB / 1.284 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004502/4.03, allocations: 1.421 MB / 1.285 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/4.03, allocations: 12.25 kB / 1.285 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/4.03, allocations: 18.38 kB / 1.285 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.988e-05/4.03, allocations: 29.34 kB / 1.286 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/4.035, allocations: 0.5377 MB / 1.286 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/4.038, allocations: 1.88 MB / 1.288 GB, free: 30.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/4.04, allocations: 210.6 kB / 1.288 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/4.041, allocations: 92.36 kB / 1.288 GB, free: 30.79 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 () * Number of clocked 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.001145/4.042, allocations: 355.7 kB / 1.288 GB, free: 30.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006002/4.042, allocations: 153.6 kB / 1.289 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006918/4.049, allocations: 2.343 MB / 1.291 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/4.049, allocations: 12.78 kB / 1.291 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/4.049, allocations: 1.906 kB / 1.291 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/4.049, allocations: 11.31 kB / 1.291 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/4.06, allocations: 3.777 MB / 1.295 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/4.06, allocations: 8.25 kB / 1.295 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/4.062, allocations: 301 kB / 1.295 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/4.063, allocations: 110.4 kB / 1.295 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002743/4.064, allocations: 49.41 kB / 1.295 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/4.066, allocations: 1.802 MB / 1.297 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/4.066, allocations: 11.12 kB / 1.297 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005068/4.071, allocations: 2.017 MB / 1.299 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/4.072, allocations: 298 kB / 1.299 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007575/4.073, allocations: 37.58 kB / 1.299 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002728/4.075, allocations: 107 kB / 1.299 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/4.076, allocations: 113.2 kB / 1.299 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/4.076, allocations: 83.06 kB / 1.299 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001669/4.078, allocations: 0.7926 MB / 1.3 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.11e-07/4.078, allocations: 0 / 1.3 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004663/4.083, allocations: 0.9418 MB / 1.301 GB, free: 25.94 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 () * Number of clocked 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.004329/4.087, allocations: 1.291 MB / 1.302 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007522/4.094, allocations: 1.376 MB / 1.304 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/4.095, allocations: 3.125 kB / 1.304 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/4.098, allocations: 0.7024 MB / 1.304 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007311/4.105, allocations: 0.7843 MB / 1.305 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/4.114, allocations: 3.394 MB / 1.309 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/4.115, allocations: 1.293 MB / 1.31 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/4.116, allocations: 190.7 kB / 1.31 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/4.117, allocations: 0 / 1.31 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.09835/4.215, allocations: 52.22 MB / 1.361 GB, free: 20.59 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)