Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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 3.2.2+maint.om/package.mo): time 0.002987/0.002987, allocations: 181.4 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.308/1.308, allocations: 194.2 MB / 202.1 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00182/0.00182, allocations: 123.7 kB / 247.1 MB, free: 6.383 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1728/0.1728, allocations: 39.94 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.801e-06/6.011e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.349/1.451, allocations: 0.5927 GB / 1.03 GB, free: 173.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.452, allocations: 91.17 kB / 1.03 GB, free: 173.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.8499/2.302, allocations: 276.6 MB / 1.3 GB, free: 80.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.373e-05/2.302, allocations: 18.97 kB / 1.3 GB, free: 80.52 MB / 474.7 MB 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.004627/2.306, allocations: 1.244 MB / 1.301 GB, free: 79.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/2.306, allocations: 11.56 kB / 1.301 GB, free: 79.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/2.308, allocations: 158.3 kB / 1.301 GB, free: 79.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/2.309, allocations: 0.5287 MB / 1.302 GB, free: 78.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/2.309, allocations: 16 kB / 1.302 GB, free: 78.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/2.309, allocations: 30.44 kB / 1.302 GB, free: 78.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007736/2.31, allocations: 421.9 kB / 1.302 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/2.311, allocations: 0.5322 MB / 1.303 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/2.311, allocations: 7.938 kB / 1.303 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/2.311, allocations: 0 / 1.303 GB, free: 77.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/2.311, allocations: 14.75 kB / 1.303 GB, free: 77.46 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/2.314, allocations: 2.586 MB / 1.305 GB, free: 74.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/2.314, allocations: 211.9 kB / 1.306 GB, free: 74.53 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/2.315, allocations: 133.2 kB / 1.306 GB, free: 74.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/2.315, allocations: 321.2 kB / 1.306 GB, free: 74.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/2.315, allocations: 38.56 kB / 1.306 GB, free: 73.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/2.315, allocations: 0 / 1.306 GB, free: 73.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.002708/2.318, allocations: 0.81 MB / 1.307 GB, free: 73.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/2.318, allocations: 162.2 kB / 1.307 GB, free: 72.97 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/2.318, allocations: 391.6 kB / 1.307 GB, free: 72.58 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/2.318, allocations: 25.7 kB / 1.307 GB, free: 72.55 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/2.318, allocations: 283 kB / 1.308 GB, free: 72.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.675e-05/2.319, allocations: 102.4 kB / 1.308 GB, free: 72.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/2.319, allocations: 4 kB / 1.308 GB, free: 72.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/2.319, allocations: 358.4 kB / 1.308 GB, free: 71.81 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/2.319, allocations: 125.3 kB / 1.308 GB, free: 71.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/2.319, allocations: 349.4 kB / 1.309 GB, free: 71.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/2.321, allocations: 0.6546 MB / 1.309 GB, free: 70.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/2.321, allocations: 0 / 1.309 GB, free: 70.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00265/2.324, allocations: 1.014 MB / 1.31 GB, free: 69.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/2.324, allocations: 11.84 kB / 1.31 GB, free: 69.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.324, allocations: 8 kB / 1.31 GB, free: 69.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/2.324, allocations: 48.83 kB / 1.31 GB, free: 69.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/2.325, allocations: 131.8 kB / 1.31 GB, free: 69.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004961/2.325, allocations: 0.6215 MB / 1.311 GB, free: 68.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/2.326, allocations: 56.86 kB / 1.311 GB, free: 68.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/2.326, allocations: 58.42 kB / 1.311 GB, free: 68.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001311/2.326, allocations: 124.7 kB / 1.311 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/2.326, allocations: 51.34 kB / 1.311 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/2.328, allocations: 0.6893 MB / 1.312 GB, free: 67.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.328, allocations: 0 / 1.312 GB, free: 67.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/2.328, allocations: 0 / 1.312 GB, free: 67.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/2.328, allocations: 4 kB / 1.312 GB, free: 67.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/2.33, allocations: 1.121 MB / 1.313 GB, free: 66.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.33, allocations: 3.906 kB / 1.313 GB, free: 66.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/2.33, allocations: 51.91 kB / 1.313 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/2.33, allocations: 47.58 kB / 1.313 GB, free: 66.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/2.33, allocations: 7.984 kB / 1.313 GB, free: 66.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004108/2.331, allocations: 0.6069 MB / 1.314 GB, free: 65.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.331, allocations: 7.938 kB / 1.314 GB, free: 65.82 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001063/2.332, allocations: 0.6417 MB / 1.314 GB, free: 65.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/2.332, allocations: 148.4 kB / 1.315 GB, free: 64.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/2.332, allocations: 7.938 kB / 1.315 GB, free: 64.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/2.332, allocations: 22.33 kB / 1.315 GB, free: 64.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/2.332, allocations: 34.09 kB / 1.315 GB, free: 64.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/2.332, allocations: 11.98 kB / 1.315 GB, free: 64.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003354/2.333, allocations: 318.9 kB / 1.315 GB, free: 64.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00193/2.335, allocations: 469.8 kB / 1.315 GB, free: 64.09 MB / 474.7 MB 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.003232/2.338, allocations: 1.532 MB / 1.317 GB, free: 62.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006435/2.339, allocations: 343 kB / 1.317 GB, free: 62.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.339, allocations: 0 / 1.317 GB, free: 62.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/2.339, allocations: 121.3 kB / 1.317 GB, free: 62.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/2.34, allocations: 249.7 kB / 1.318 GB, free: 62.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/2.346, allocations: 2.423 MB / 1.32 GB, free: 59.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/2.347, allocations: 0.9927 MB / 1.321 GB, free: 58.84 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/2.347, allocations: 0 / 1.321 GB, free: 58.84 MB / 474.7 MB Notification: Performance of Templates: time 0.03065/2.378, allocations: 19.82 MB / 1.34 GB, free: 39.24 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)