Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001607/0.001607, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.149/1.149, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001542/0.001542, allocations: 99.52 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1611/0.1611, allocations: 38.01 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.029e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08813, allocations: 48.71 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7252/0.8134, allocations: 277.3 MB / 0.667 GB, free: 103 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.8136, allocations: 80.08 kB / 0.6671 GB, free: 103 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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 - DAE generated: time 0.4298/1.243, allocations: 115.7 MB / 0.7801 GB, free: 104.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.243, allocations: 3.75 kB / 0.7801 GB, free: 104.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.059e-05/1.243, allocations: 16.69 kB / 0.7801 GB, free: 104.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001427/1.245, allocations: 0.8487 MB / 0.781 GB, free: 103.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.245, allocations: 9.578 kB / 0.781 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/1.245, allocations: 86.56 kB / 0.7811 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.246, allocations: 0.5361 MB / 0.7816 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/1.246, allocations: 33.97 kB / 0.7816 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/1.246, allocations: 40.62 kB / 0.7817 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009325/1.247, allocations: 0.6341 MB / 0.7823 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.247, allocations: 15.2 kB / 0.7823 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.271e-05/1.248, allocations: 19.92 kB / 0.7823 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/1.248, allocations: 13.41 kB / 0.7823 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/1.248, allocations: 0.4951 MB / 0.7828 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/1.252, allocations: 3.072 MB / 0.7858 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/1.252, allocations: 189 kB / 0.786 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/1.252, allocations: 105.3 kB / 0.7861 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.253, allocations: 1.035 MB / 0.7871 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/1.254, allocations: 170.2 kB / 0.7873 GB, free: 100.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/1.254, allocations: 0 / 0.7873 GB, free: 100.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005741/1.254, allocations: 299.2 kB / 0.7875 GB, free: 100.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/1.254, allocations: 165.4 kB / 0.7877 GB, free: 100.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/1.255, allocations: 430.6 kB / 0.7881 GB, free: 100.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/1.255, allocations: 30.64 kB / 0.7881 GB, free: 100.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.255, allocations: 368.5 kB / 0.7885 GB, free: 99.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/1.255, allocations: 79.08 kB / 0.7886 GB, free: 99.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.255, allocations: 13.06 kB / 0.7886 GB, free: 99.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/1.255, allocations: 363.1 kB / 0.7889 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.255, allocations: 103.7 kB / 0.789 GB, free: 99.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/1.256, allocations: 389.9 kB / 0.7894 GB, free: 99.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/1.256, allocations: 205.6 kB / 0.7896 GB, free: 99.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.256, allocations: 3.219 kB / 0.7896 GB, free: 99.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008546/1.257, allocations: 0.5715 MB / 0.7902 GB, free: 99.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007291/1.257, allocations: 3.693 MB / 0.7938 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/1.258, allocations: 9.375 kB / 0.7938 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/1.258, allocations: 13.47 kB / 0.7938 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.259, allocations: 194.1 kB / 0.794 GB, free: 95.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003457/1.259, allocations: 0.61 MB / 0.7946 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/1.26, allocations: 80.19 kB / 0.7946 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/1.26, allocations: 36.14 kB / 0.7947 GB, free: 94.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.26, allocations: 7.031 kB / 0.7947 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000874/1.261, allocations: 0.5094 MB / 0.7952 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/1.261, allocations: 9.406 kB / 0.7952 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.261, allocations: 17.86 kB / 0.7952 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/1.261, allocations: 132.5 kB / 0.7953 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.714e-05/1.261, allocations: 21.75 kB / 0.7953 GB, free: 94.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/1.262, allocations: 55.64 kB / 0.7954 GB, free: 94.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/1.262, allocations: 34.55 kB / 0.7954 GB, free: 94.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/1.262, allocations: 177.6 kB / 0.7956 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/1.262, allocations: 54.62 kB / 0.7957 GB, free: 94.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.263, allocations: 0.641 MB / 0.7963 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.263, allocations: 7.266 kB / 0.7963 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.263, allocations: 1.25 kB / 0.7963 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/1.263, allocations: 0 / 0.7963 GB, free: 94.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/1.264, allocations: 474.6 kB / 0.7967 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.264, allocations: 0 / 0.7967 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005532/1.264, allocations: 106.2 kB / 0.7968 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/1.264, allocations: 1 kB / 0.7968 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/1.264, allocations: 13.5 kB / 0.7969 GB, free: 94.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002159/1.265, allocations: 0.5945 MB / 0.7974 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.265, allocations: 5.25 kB / 0.7974 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005266/1.265, allocations: 408.9 kB / 0.7978 GB, free: 93.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/1.265, allocations: 186.6 kB / 0.798 GB, free: 93.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/1.265, allocations: 18.77 kB / 0.798 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/1.266, allocations: 17.06 kB / 0.798 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/1.266, allocations: 22.34 kB / 0.7981 GB, free: 93.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/1.266, allocations: 12.72 kB / 0.7981 GB, free: 93.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004029/1.266, allocations: 355.1 kB / 0.7984 GB, free: 93.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/1.266, allocations: 1.375 kB / 0.7984 GB, free: 93.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001623/1.268, allocations: 423.9 kB / 0.7988 GB, free: 93.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009513/1.269, allocations: 441.6 kB / 0.7992 GB, free: 92.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002056/1.271, allocations: 0.776 MB / 0.8 GB, free: 92.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.271, allocations: 5.781 kB / 0.8 GB, free: 92.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007999/1.272, allocations: 290.3 kB / 0.8003 GB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/1.273, allocations: 181.8 kB / 0.8005 GB, free: 92.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/1.274, allocations: 0.8336 MB / 0.8013 GB, free: 92.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/1.274, allocations: 0.9013 MB / 0.8022 GB, free: 91.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007267/1.275, allocations: 209.4 kB / 0.8024 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.954e-05/1.275, allocations: 56.48 kB / 0.8024 GB, free: 91.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/1.275, allocations: 3.969 kB / 0.8024 GB, free: 91.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01962/1.295, allocations: 12.49 MB / 0.8146 GB, free: 91.07 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)