Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001125/0.001125, allocations: 209.8 kB / 8.543 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009079/0.0009079, allocations: 92.14 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3726/0.3726, allocations: 45.15 MB / 383.4 MB, free: 40.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.281e-06/6.322e-06, allocations: 0 / 452.6 MB, free: 5.461 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 63.24 MB / 0.5038 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9066/1.25, allocations: 0.5004 GB / 1.004 GB, free: 101 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.251, allocations: 91.94 kB / 1.004 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7297/1.98, allocations: 248.5 MB / 1.247 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.94e-05/1.98, allocations: 19.94 kB / 1.247 GB, free: 62.11 MB / 0.5261 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.002559/1.983, allocations: 1.106 MB / 1.248 GB, free: 60.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.983, allocations: 8.031 kB / 1.248 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/1.984, allocations: 171 kB / 1.248 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/1.985, allocations: 0.4982 MB / 1.249 GB, free: 60.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/1.985, allocations: 16 kB / 1.249 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.895e-05/1.985, allocations: 27.91 kB / 1.249 GB, free: 60.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006251/1.986, allocations: 429.9 kB / 1.249 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/1.987, allocations: 0.5469 MB / 1.25 GB, free: 59.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/1.987, allocations: 0 / 1.25 GB, free: 59.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/1.987, allocations: 4 kB / 1.25 GB, free: 59.19 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.987, allocations: 12 kB / 1.25 GB, free: 59.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/1.989, allocations: 2.617 MB / 1.252 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/1.99, allocations: 218.7 kB / 1.252 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/1.99, allocations: 126.2 kB / 1.253 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/1.99, allocations: 440 kB / 1.253 GB, free: 55.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/1.99, allocations: 38.56 kB / 1.253 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/1.99, allocations: 0 / 1.253 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.00246/1.993, allocations: 0.6775 MB / 1.254 GB, free: 54.82 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.993, allocations: 158.2 kB / 1.254 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/1.993, allocations: 389.1 kB / 1.254 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1.993, allocations: 25.7 kB / 1.254 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/1.993, allocations: 263.2 kB / 1.254 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/1.993, allocations: 110.4 kB / 1.255 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/1.993, allocations: 0 / 1.255 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/1.993, allocations: 358.8 kB / 1.255 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.994, allocations: 125 kB / 1.255 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/1.994, allocations: 297.4 kB / 1.255 GB, free: 53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/1.996, allocations: 0.5146 MB / 1.256 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.996, allocations: 0 / 1.256 GB, free: 52.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002388/1.998, allocations: 0.8366 MB / 1.257 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.998, allocations: 8 kB / 1.257 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.998, allocations: 8 kB / 1.257 GB, free: 51.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/1.998, allocations: 49.45 kB / 1.257 GB, free: 51.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/1.999, allocations: 127.8 kB / 1.257 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004719/1.999, allocations: 0.6146 MB / 1.257 GB, free: 50.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/2, allocations: 55.61 kB / 1.258 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/2, allocations: 52.08 kB / 1.258 GB, free: 50.7 MB / 0.5261 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.0001375/2, allocations: 120.9 kB / 1.258 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/2, allocations: 51.42 kB / 1.258 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/2.002, allocations: 1.413 MB / 1.259 GB, free: 49.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/2.003, allocations: 4 kB / 1.259 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/2.003, allocations: 3.984 kB / 1.259 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.003, allocations: 0 / 1.259 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/2.004, allocations: 1.15 MB / 1.26 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/2.004, allocations: 4 kB / 1.26 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/2.005, allocations: 56.09 kB / 1.26 GB, free: 47.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/2.005, allocations: 48.83 kB / 1.26 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/2.005, allocations: 4 kB / 1.26 GB, free: 47.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00041/2.005, allocations: 0.6147 MB / 1.261 GB, free: 47.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.005, allocations: 4 kB / 1.261 GB, free: 47.06 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/2.006, allocations: 0.6567 MB / 1.262 GB, free: 46.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/2.006, allocations: 140.5 kB / 1.262 GB, free: 46.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/2.006, allocations: 11.91 kB / 1.262 GB, free: 46.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/2.007, allocations: 27.97 kB / 1.262 GB, free: 46.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/2.007, allocations: 11.98 kB / 1.262 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/2.007, allocations: 19.98 kB / 1.262 GB, free: 46.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003499/2.007, allocations: 334.9 kB / 1.262 GB, free: 45.76 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001928/2.009, allocations: 450.4 kB / 1.263 GB, free: 45.32 MB / 0.5261 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.002061/2.011, allocations: 1.383 MB / 1.264 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000689/2.012, allocations: 326.8 kB / 1.264 GB, free: 43.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.012, allocations: 4 kB / 1.264 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/2.012, allocations: 124.2 kB / 1.264 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/2.014, allocations: 267.2 kB / 1.265 GB, free: 43.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/2.015, allocations: 0.5999 MB / 1.265 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007676/2.015, allocations: 1.019 MB / 1.266 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/2.015, allocations: 0 / 1.266 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of Templates: time 0.02821/2.044, allocations: 19.85 MB / 1.286 GB, free: 21.99 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)