Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 184.2 kB / 7.805 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.2 MB / 213.4 MB, free: 8.516 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 93.22 kB / 261.4 MB, free: 5.121 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3095/0.3095, allocations: 43.49 MB / 352.8 MB, free: 11.36 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3859/0.6955, allocations: 64.97 MB / 417.8 MB, free: 68.11 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.838, allocations: 58.86 MB / 476.7 MB, free: 9.199 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.87, allocations: 334.8 MB / 0.7924 GB, free: 76.55 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.871, allocations: 81.05 kB / 0.7925 GB, free: 76.51 MB / 498.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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.3+maint.om/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Interfaces.mo:306:3-308: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: 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 1.364/3.235, allocations: 333.5 MB / 1.118 GB, free: 69.72 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/3.235, allocations: 15.75 kB / 1.118 GB, free: 69.72 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/3.236, allocations: 178.8 kB / 1.118 GB, free: 69.64 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/3.241, allocations: 1.081 MB / 1.119 GB, free: 69.31 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/3.241, allocations: 34.91 kB / 1.119 GB, free: 69.31 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/3.242, allocations: 57.22 kB / 1.119 GB, free: 69.31 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003802/3.246, allocations: 1.211 MB / 1.121 GB, free: 69.3 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/3.249, allocations: 1.315 MB / 1.122 GB, free: 69 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.563e-05/3.249, allocations: 0 / 1.122 GB, free: 69 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/3.25, allocations: 7.375 kB / 1.122 GB, free: 69 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/3.25, allocations: 57.05 kB / 1.122 GB, free: 69 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00993/3.26, allocations: 6.446 MB / 1.128 GB, free: 65.42 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/3.261, allocations: 0.4968 MB / 1.129 GB, free: 65.39 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005359/3.261, allocations: 334 kB / 1.129 GB, free: 65.38 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/3.284, allocations: 17.19 MB / 1.146 GB, free: 48.82 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007353/3.285, allocations: 453.8 kB / 1.146 GB, free: 48.64 MB / 498.8 MB Notification: Performance of pre-optimization done (n=49): time 3.607e-06/3.285, allocations: 0 / 1.146 GB, free: 48.64 MB / 498.8 MB Notification: Performance of matching and sorting (n=49): time 0.006912/3.292, allocations: 1.275 MB / 1.148 GB, free: 48.55 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/3.292, allocations: 0.5447 MB / 1.148 GB, free: 47.89 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/3.294, allocations: 0.9009 MB / 1.149 GB, free: 47.72 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/3.294, allocations: 29.89 kB / 1.149 GB, free: 47.69 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/3.295, allocations: 0.5697 MB / 1.15 GB, free: 47.33 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/3.295, allocations: 169.1 kB / 1.15 GB, free: 47.23 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/3.295, allocations: 0 / 1.15 GB, free: 47.23 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001004/3.295, allocations: 353.7 kB / 1.15 GB, free: 46.92 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/3.296, allocations: 306.7 kB / 1.15 GB, free: 46.92 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/3.297, allocations: 0.8352 MB / 1.151 GB, free: 46.27 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008875/3.306, allocations: 1.557 MB / 1.153 GB, free: 46.26 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/3.306, allocations: 3.594 kB / 1.153 GB, free: 46.26 MB / 498.8 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.01149/3.317, allocations: 2.235 MB / 1.155 GB, free: 46.16 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001815/3.319, allocations: 5.494 MB / 1.16 GB, free: 40.43 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-05/3.319, allocations: 14.84 kB / 1.16 GB, free: 40.43 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.411e-05/3.319, allocations: 27.42 kB / 1.16 GB, free: 40.43 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/3.322, allocations: 396.6 kB / 1.161 GB, free: 40.43 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/3.324, allocations: 1.379 MB / 1.162 GB, free: 39.26 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/3.326, allocations: 142.5 kB / 1.162 GB, free: 39.19 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/3.326, allocations: 69.02 kB / 1.162 GB, free: 39.19 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/3.326, allocations: 4.531 kB / 1.162 GB, free: 39.19 MB / 498.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007867/3.334, allocations: 1.789 MB / 1.164 GB, free: 39.18 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/3.334, allocations: 20.44 kB / 1.164 GB, free: 39.18 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/3.334, allocations: 24.38 kB / 1.164 GB, free: 39.18 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/3.335, allocations: 279.1 kB / 1.164 GB, free: 39.18 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004397/3.336, allocations: 0.6486 MB / 1.165 GB, free: 38.59 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/3.337, allocations: 106.1 kB / 1.165 GB, free: 38.55 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/3.337, allocations: 70.95 kB / 1.165 GB, free: 38.55 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (132): * Single equations (assignments): 129 * 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.0004631/3.338, allocations: 176.8 kB / 1.165 GB, free: 38.4 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003894/3.338, allocations: 121.7 kB / 1.165 GB, free: 38.34 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006081/3.344, allocations: 1.919 MB / 1.167 GB, free: 38.09 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/3.344, allocations: 13.77 kB / 1.167 GB, free: 38.09 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/3.344, allocations: 0 / 1.167 GB, free: 38.09 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/3.344, allocations: 3.609 kB / 1.167 GB, free: 38.09 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/3.351, allocations: 2.364 MB / 1.17 GB, free: 37.78 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/3.351, allocations: 3.875 kB / 1.17 GB, free: 37.78 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/3.353, allocations: 268.4 kB / 1.17 GB, free: 37.78 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.361e-05/3.353, allocations: 3.844 kB / 1.17 GB, free: 37.78 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/3.353, allocations: 21.81 kB / 1.17 GB, free: 37.78 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/3.355, allocations: 1.329 MB / 1.171 GB, free: 36.61 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/3.355, allocations: 6.781 kB / 1.171 GB, free: 36.61 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004527/3.359, allocations: 1.332 MB / 1.172 GB, free: 36.36 MB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004775/3.364, allocations: 1.763 MB / 1.174 GB, free: 35.75 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/3.365, allocations: 244.2 kB / 1.174 GB, free: 35.58 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006292/3.365, allocations: 8.156 kB / 1.174 GB, free: 35.58 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/3.367, allocations: 48.17 kB / 1.174 GB, free: 35.57 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/3.367, allocations: 47.31 kB / 1.174 GB, free: 35.57 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/3.367, allocations: 36.27 kB / 1.175 GB, free: 35.57 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.00125/3.368, allocations: 0.6868 MB / 1.175 GB, free: 35.46 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.007555/3.376, allocations: 1.619 MB / 1.177 GB, free: 35.14 MB / 498.8 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 (77): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * 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.005019/3.381, allocations: 1.379 MB / 1.178 GB, free: 34.74 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.004989/3.386, allocations: 1.674 MB / 1.18 GB, free: 34.62 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/3.386, allocations: 0 / 1.18 GB, free: 34.62 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003305/3.389, allocations: 0.6428 MB / 1.18 GB, free: 34.57 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/3.391, allocations: 413.4 kB / 1.181 GB, free: 34.55 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/3.395, allocations: 1.554 MB / 1.182 GB, free: 34.11 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/3.396, allocations: 1.361 MB / 1.184 GB, free: 33.39 MB / 498.8 MB Notification: Performance of SimCode: time 9.01e-07/3.396, allocations: 0 / 1.184 GB, free: 33.39 MB / 498.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction.pipe 2>&1)