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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009546/0.0009547, allocations: 180 kB / 8.519 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009434/0.0009433, allocations: 90.11 kB / 281.2 MB, free: 5.449 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.1969/0.1969, allocations: 44.14 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 4.219 kB / 444.1 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 61.9 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.171, allocations: 0.4994 GB / 0.9935 GB, free: 92.44 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.171, allocations: 92.86 kB / 0.9936 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6539/1.825, allocations: 247.4 MB / 1.235 GB, free: 48.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.849e-05/1.825, allocations: 13.8 kB / 1.235 GB, free: 48.8 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.002667/1.828, allocations: 1.098 MB / 1.236 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.828, allocations: 19.91 kB / 1.236 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/1.829, allocations: 159 kB / 1.236 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/1.83, allocations: 0.4974 MB / 1.237 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.83, allocations: 12 kB / 1.237 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/1.83, allocations: 28 kB / 1.237 GB, free: 46.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006233/1.831, allocations: 433.8 kB / 1.237 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/1.831, allocations: 0.5469 MB / 1.238 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/1.831, allocations: 0 / 1.238 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/1.831, allocations: 8 kB / 1.238 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.831, allocations: 8 kB / 1.238 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/1.834, allocations: 2.622 MB / 1.24 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/1.834, allocations: 219.9 kB / 1.241 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.834, allocations: 124.8 kB / 1.241 GB, free: 42.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/1.835, allocations: 428.7 kB / 1.241 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.835, allocations: 38.56 kB / 1.241 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.673e-06/1.835, allocations: 0 / 1.241 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.002305/1.837, allocations: 0.6938 MB / 1.242 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.837, allocations: 158.2 kB / 1.242 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/1.837, allocations: 385 kB / 1.242 GB, free: 40.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/1.837, allocations: 29.7 kB / 1.242 GB, free: 40.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.607e-05/1.838, allocations: 259.3 kB / 1.243 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.115e-05/1.838, allocations: 102.4 kB / 1.243 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.838, allocations: 4 kB / 1.243 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.838, allocations: 354.8 kB / 1.243 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.838, allocations: 128.9 kB / 1.243 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/1.838, allocations: 301.4 kB / 1.244 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/1.84, allocations: 0.5075 MB / 1.244 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.84, allocations: 0 / 1.244 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00231/1.842, allocations: 0.8411 MB / 1.245 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.842, allocations: 6.25 kB / 1.245 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.842, allocations: 8 kB / 1.245 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/1.843, allocations: 48.83 kB / 1.245 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/1.843, allocations: 115.8 kB / 1.245 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004649/1.843, allocations: 0.6224 MB / 1.246 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/1.844, allocations: 55.62 kB / 1.246 GB, free: 37.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/1.844, allocations: 51.98 kB / 1.246 GB, free: 37.39 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.0001173/1.844, allocations: 116.8 kB / 1.246 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/1.844, allocations: 51.44 kB / 1.246 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/1.846, allocations: 1.416 MB / 1.247 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.846, allocations: 8 kB / 1.247 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.847, allocations: 0 / 1.247 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.847, allocations: 3.984 kB / 1.247 GB, free: 35.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/1.848, allocations: 1.155 MB / 1.248 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.848, allocations: 0 / 1.248 GB, free: 34.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/1.848, allocations: 51.88 kB / 1.248 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.848, allocations: 44.83 kB / 1.249 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.849, allocations: 11.94 kB / 1.249 GB, free: 34.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003977/1.849, allocations: 0.6071 MB / 1.249 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.849, allocations: 4 kB / 1.249 GB, free: 33.76 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001002/1.85, allocations: 0.6656 MB / 1.25 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/1.85, allocations: 144.4 kB / 1.25 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.85, allocations: 4 kB / 1.25 GB, free: 32.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/1.851, allocations: 23.83 kB / 1.25 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.851, allocations: 27.97 kB / 1.25 GB, free: 32.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/1.851, allocations: 19.98 kB / 1.25 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002874/1.851, allocations: 318.9 kB / 1.25 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001262/1.852, allocations: 419.4 kB / 1.251 GB, free: 32.05 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.001945/1.854, allocations: 1.374 MB / 1.252 GB, free: 30.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005302/1.855, allocations: 321 kB / 1.252 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.855, allocations: 4.062 kB / 1.252 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.855, allocations: 139.4 kB / 1.252 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.856, allocations: 252.4 kB / 1.253 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.857, allocations: 0.5921 MB / 1.253 GB, free: 29.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/1.858, allocations: 1.034 MB / 1.254 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.858, allocations: 0 / 1.254 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.02763/1.886, allocations: 19.65 MB / 1.273 GB, free: 8.805 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)