Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.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.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction") [: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.00277/0.00277, allocations: 182.5 kB / 7.458 MB, free: 2.504 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.264/1.264, allocations: 194.2 MB / 202.1 MB, free: 8.625 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.001715/0.001715, allocations: 121.8 kB / 247.1 MB, free: 6.336 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.1942/0.1942, allocations: 39.94 MB / 331.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.195e-05, allocations: 0 / 392.8 MB, free: 75.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 54.87 MB / 447.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8185/0.9472, allocations: 329 MB / 0.7585 GB, free: 80.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.9475, allocations: 87.12 kB / 0.7586 GB, free: 80.24 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd: time 1.239/2.187, allocations: 327.7 MB / 1.079 GB, free: 64.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000203/2.187, allocations: 37.95 kB / 1.079 GB, free: 64.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.006483/2.193, allocations: 1.791 MB / 1.08 GB, free: 63.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/2.193, allocations: 10.56 kB / 1.08 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/2.195, allocations: 179.6 kB / 1.081 GB, free: 63.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/2.199, allocations: 1.135 MB / 1.082 GB, free: 63.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/2.199, allocations: 40.44 kB / 1.082 GB, free: 63.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/2.199, allocations: 55.66 kB / 1.082 GB, free: 63.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002031/2.201, allocations: 1.194 MB / 1.083 GB, free: 63.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/2.203, allocations: 1.298 MB / 1.084 GB, free: 62.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/2.203, allocations: 1.969 kB / 1.084 GB, free: 62.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/2.203, allocations: 7.328 kB / 1.084 GB, free: 62.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/2.203, allocations: 52.53 kB / 1.084 GB, free: 62.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/2.21, allocations: 6.545 MB / 1.091 GB, free: 59.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/2.211, allocations: 461.3 kB / 1.091 GB, free: 59.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/2.211, allocations: 292.1 kB / 1.091 GB, free: 59.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01974/2.231, allocations: 17.29 MB / 1.108 GB, free: 42.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/2.232, allocations: 263.7 kB / 1.108 GB, free: 42.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.817e-06/2.232, allocations: 0 / 1.108 GB, free: 42.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.00617/2.238, allocations: 1.079 MB / 1.11 GB, free: 42.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/2.238, allocations: 264.5 kB / 1.11 GB, free: 42.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/2.24, allocations: 0.9221 MB / 1.111 GB, free: 41.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/2.24, allocations: 29.67 kB / 1.111 GB, free: 41.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006/2.241, allocations: 0.6224 MB / 1.111 GB, free: 41.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/2.241, allocations: 153 kB / 1.111 GB, free: 41.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/2.241, allocations: 2.469 kB / 1.111 GB, free: 41.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/2.241, allocations: 356.1 kB / 1.112 GB, free: 41.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/2.241, allocations: 254.4 kB / 1.112 GB, free: 41.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/2.242, allocations: 0.9203 MB / 1.113 GB, free: 40.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007841/2.25, allocations: 1.459 MB / 1.114 GB, free: 40.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.939e-05/2.25, allocations: 7.469 kB / 1.114 GB, free: 40.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00977/2.26, allocations: 2.151 MB / 1.116 GB, free: 40.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002221/2.262, allocations: 9.043 MB / 1.125 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.683e-05/2.262, allocations: 24.81 kB / 1.125 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.707e-05/2.262, allocations: 32.19 kB / 1.125 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/2.265, allocations: 435.2 kB / 1.126 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/2.266, allocations: 1.39 MB / 1.127 GB, free: 29.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/2.268, allocations: 156.7 kB / 1.127 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/2.268, allocations: 87.67 kB / 1.127 GB, free: 29.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/2.268, allocations: 7.094 kB / 1.127 GB, free: 29.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007203/2.276, allocations: 1.72 MB / 1.129 GB, free: 29.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.039e-05/2.276, allocations: 29.41 kB / 1.129 GB, free: 29.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/2.276, allocations: 33.44 kB / 1.129 GB, free: 29.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/2.277, allocations: 312.8 kB / 1.129 GB, free: 29.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000481/2.277, allocations: 0.6674 MB / 1.13 GB, free: 28.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/2.279, allocations: 114.6 kB / 1.13 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/2.279, allocations: 74.27 kB / 1.13 GB, free: 28.79 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004576/2.279, allocations: 197.4 kB / 1.13 GB, free: 28.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/2.28, allocations: 122.9 kB / 1.131 GB, free: 28.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006015/2.286, allocations: 1.78 MB / 1.132 GB, free: 28.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/2.286, allocations: 6.75 kB / 1.132 GB, free: 28.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/2.286, allocations: 3.094 kB / 1.132 GB, free: 28.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/2.286, allocations: 3.938 kB / 1.132 GB, free: 28.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/2.292, allocations: 1.989 MB / 1.134 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/2.292, allocations: 6.656 kB / 1.134 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/2.294, allocations: 249.4 kB / 1.134 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/2.294, allocations: 7.469 kB / 1.134 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/2.294, allocations: 16.86 kB / 1.135 GB, free: 28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/2.296, allocations: 1.33 MB / 1.136 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.296, allocations: 0 / 1.136 GB, free: 26.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004335/2.3, allocations: 1.14 MB / 1.137 GB, free: 26.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009516/2.301, allocations: 246.2 kB / 1.137 GB, free: 26.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/2.302, allocations: 3.156 kB / 1.137 GB, free: 26.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009921/2.303, allocations: 39.25 kB / 1.137 GB, free: 26.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.303, allocations: 35.28 kB / 1.137 GB, free: 26.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/2.303, allocations: 36.11 kB / 1.137 GB, free: 26.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001483/2.304, allocations: 0.7008 MB / 1.138 GB, free: 26.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005873/2.31, allocations: 1.285 MB / 1.139 GB, free: 25.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004878/2.315, allocations: 1.323 MB / 1.14 GB, free: 25.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004707/2.32, allocations: 1.538 MB / 1.142 GB, free: 25.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/2.32, allocations: 0 / 1.142 GB, free: 25.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/2.323, allocations: 0.5502 MB / 1.143 GB, free: 25.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/2.325, allocations: 376.4 kB / 1.143 GB, free: 25.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/2.33, allocations: 2.025 MB / 1.145 GB, free: 24.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/2.331, allocations: 1.335 MB / 1.146 GB, free: 24.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/2.331, allocations: 0 / 1.146 GB, free: 24.18 MB / 490.7 MB Notification: Performance of Templates: time 0.06778/2.399, allocations: 33.63 MB / 1.179 GB, free: 11.67 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1)