Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001683, allocations: 171.9 kB / 8.144 MB, free: 2.141 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 84.58 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2591/0.2591, allocations: 43.51 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.081e-05, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2789, allocations: 58.84 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6628/0.9418, allocations: 337.6 MB / 0.7951 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/0.9422, allocations: 99.55 kB / 0.7952 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.175/3.118, allocations: 453.8 MB / 1.238 GB, free: 46.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000146/3.118, allocations: 46.41 kB / 1.238 GB, free: 46.41 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.006332/3.124, allocations: 1.934 MB / 1.24 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/3.124, allocations: 10.91 kB / 1.24 GB, free: 45.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/3.126, allocations: 232.6 kB / 1.24 GB, free: 45.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003838/3.13, allocations: 1.105 MB / 1.242 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/3.13, allocations: 42.25 kB / 1.242 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/3.131, allocations: 75.16 kB / 1.242 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003462/3.134, allocations: 1.387 MB / 1.243 GB, free: 45.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/3.138, allocations: 1.63 MB / 1.245 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/3.138, allocations: 10.44 kB / 1.245 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/3.138, allocations: 7.438 kB / 1.245 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/3.138, allocations: 36 kB / 1.245 GB, free: 44.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01441/3.153, allocations: 10.44 MB / 1.255 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/3.154, allocations: 0.6138 MB / 1.255 GB, free: 37.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/3.155, allocations: 365 kB / 1.256 GB, free: 37.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00655/3.162, allocations: 4.289 MB / 1.26 GB, free: 33.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/3.162, allocations: 49.67 kB / 1.26 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 3.406e-06/3.162, allocations: 6.578 kB / 1.26 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.008801/3.17, allocations: 1.295 MB / 1.261 GB, free: 33.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/3.171, allocations: 376.6 kB / 1.262 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/3.173, allocations: 1.032 MB / 1.263 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/3.173, allocations: 25.7 kB / 1.263 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/3.173, allocations: 0.7359 MB / 1.263 GB, free: 32.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/3.173, allocations: 200.3 kB / 1.264 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/3.173, allocations: 0 / 1.264 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/3.174, allocations: 372.6 kB / 1.264 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/3.174, allocations: 341.8 kB / 1.264 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/3.176, allocations: 0.9376 MB / 1.265 GB, free: 31.19 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007716/3.183, allocations: 1.155 MB / 1.266 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/3.184, allocations: 3.875 kB / 1.266 GB, free: 31.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.01051/3.194, allocations: 1.89 MB / 1.268 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/3.194, allocations: 3.906 kB / 1.268 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/3.194, allocations: 19.28 kB / 1.268 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.328e-05/3.194, allocations: 29.31 kB / 1.268 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00563/3.2, allocations: 0.5185 MB / 1.269 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/3.202, allocations: 1.92 MB / 1.271 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/3.205, allocations: 138.5 kB / 1.271 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/3.205, allocations: 85.61 kB / 1.271 GB, free: 29.29 MB / 0.4948 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.000392/3.205, allocations: 83.86 kB / 1.271 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/3.206, allocations: 140.8 kB / 1.271 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/3.214, allocations: 2.046 MB / 1.273 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/3.214, allocations: 15.95 kB / 1.273 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/3.214, allocations: 4.812 kB / 1.273 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/3.214, allocations: 6.219 kB / 1.273 GB, free: 29.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/3.217, allocations: 1.063 MB / 1.274 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/3.217, allocations: 0 / 1.274 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/3.219, allocations: 246.1 kB / 1.274 GB, free: 28.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000946/3.22, allocations: 78.39 kB / 1.274 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/3.22, allocations: 25.47 kB / 1.274 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/3.222, allocations: 1.831 MB / 1.276 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/3.222, allocations: 0 / 1.276 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00564/3.228, allocations: 1.343 MB / 1.278 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007213/3.228, allocations: 302.4 kB / 1.278 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/3.229, allocations: 0 / 1.278 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/3.231, allocations: 80.09 kB / 1.278 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/3.231, allocations: 57.27 kB / 1.278 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/3.231, allocations: 64.73 kB / 1.278 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001587/3.233, allocations: 0.746 MB / 1.279 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004368/3.237, allocations: 0.9043 MB / 1.28 GB, free: 26.44 MB / 0.4948 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.003679/3.241, allocations: 1.263 MB / 1.281 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01002/3.251, allocations: 1.231 MB / 1.282 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/3.251, allocations: 4.375 kB / 1.282 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/3.255, allocations: 0.5317 MB / 1.283 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007761/3.263, allocations: 0.5579 MB / 1.283 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009072/3.272, allocations: 1.865 MB / 1.285 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/3.274, allocations: 1.458 MB / 1.286 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/3.274, allocations: 0 / 1.286 GB, free: 24.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.09689/3.371, allocations: 50.77 MB / 1.336 GB, free: 22.43 MB / 0.4948 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)