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.006612/0.006612, allocations: 165 kB / 15.11 MB, free: 6.039 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.382/1.382, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001727/0.001727, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.3647/0.3647, allocations: 38.05 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004169, allocations: 15.98 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1381, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9284/1.067, allocations: 277.4 MB / 0.6728 GB, free: 68.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/1.067, allocations: 83.7 kB / 0.6729 GB, free: 67.97 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.5247/1.592, allocations: 116.2 MB / 0.7864 GB, free: 101.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.592, allocations: 0 / 0.7864 GB, free: 101.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.912e-05/1.592, allocations: 19.69 kB / 0.7864 GB, free: 101.1 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.002093/1.594, allocations: 0.9256 MB / 0.7873 GB, free: 100.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.594, allocations: 9.406 kB / 0.7873 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003481/1.594, allocations: 78.08 kB / 0.7874 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/1.595, allocations: 0.5439 MB / 0.7879 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/1.596, allocations: 33.03 kB / 0.788 GB, free: 99.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/1.596, allocations: 43.59 kB / 0.788 GB, free: 99.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/1.597, allocations: 0.6422 MB / 0.7887 GB, free: 99.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.597, allocations: 1.094 kB / 0.7887 GB, free: 99.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/1.597, allocations: 27.75 kB / 0.7887 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1.597, allocations: 11.72 kB / 0.7887 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/1.598, allocations: 0.5053 MB / 0.7892 GB, free: 99.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/1.601, allocations: 3.075 MB / 0.7922 GB, free: 96.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/1.601, allocations: 183.7 kB / 0.7924 GB, free: 96.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.603, allocations: 1.016 MB / 0.7934 GB, free: 96.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/1.603, allocations: 171.6 kB / 0.7935 GB, free: 95.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.096e-06/1.603, allocations: 0 / 0.7935 GB, free: 95.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008287/1.604, allocations: 456.3 kB / 0.794 GB, free: 95.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/1.604, allocations: 158.3 kB / 0.7941 GB, free: 95.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/1.605, allocations: 433.2 kB / 0.7945 GB, free: 95.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/1.605, allocations: 31.27 kB / 0.7945 GB, free: 95.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/1.605, allocations: 371.6 kB / 0.7949 GB, free: 94.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/1.605, allocations: 81.94 kB / 0.795 GB, free: 94.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/1.605, allocations: 15.91 kB / 0.795 GB, free: 94.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/1.605, allocations: 360.8 kB / 0.7953 GB, free: 94.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.605, allocations: 105.4 kB / 0.7954 GB, free: 94.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/1.606, allocations: 393.2 kB / 0.7958 GB, free: 94.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/1.606, allocations: 201.3 kB / 0.796 GB, free: 93.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.606, allocations: 3.438 kB / 0.796 GB, free: 93.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008588/1.607, allocations: 0.5845 MB / 0.7966 GB, free: 93.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001626/1.609, allocations: 3.691 MB / 0.8002 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.609, allocations: 7.875 kB / 0.8002 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.367e-05/1.609, allocations: 19.75 kB / 0.8002 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.61, allocations: 191.9 kB / 0.8004 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004141/1.61, allocations: 0.6139 MB / 0.801 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005494/1.611, allocations: 89.86 kB / 0.8011 GB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/1.611, allocations: 42.77 kB / 0.8011 GB, free: 89.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.611, allocations: 3.906 kB / 0.8011 GB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000709/1.612, allocations: 0.5127 MB / 0.8016 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.612, allocations: 9.531 kB / 0.8016 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.612, allocations: 17.66 kB / 0.8016 GB, free: 88.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/1.612, allocations: 130.8 kB / 0.8018 GB, free: 88.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/1.612, allocations: 17.66 kB / 0.8018 GB, free: 88.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/1.612, allocations: 50.83 kB / 0.8018 GB, free: 88.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/1.613, allocations: 36.55 kB / 0.8019 GB, free: 88.84 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 () * Number of clocked 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.0004321/1.613, allocations: 311.4 kB / 0.8022 GB, free: 88.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/1.613, allocations: 57.42 kB / 0.8022 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/1.614, allocations: 0.644 MB / 0.8029 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.614, allocations: 3.969 kB / 0.8029 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.614, allocations: 0 / 0.8029 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.614, allocations: 0 / 0.8029 GB, free: 88.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/1.615, allocations: 477 kB / 0.8033 GB, free: 87.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.615, allocations: 0 / 0.8033 GB, free: 87.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/1.615, allocations: 110.8 kB / 0.8034 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.615, allocations: 3.281 kB / 0.8034 GB, free: 87.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.615, allocations: 11.81 kB / 0.8034 GB, free: 87.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002513/1.616, allocations: 0.5904 MB / 0.804 GB, free: 87.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.616, allocations: 4.094 kB / 0.804 GB, free: 87.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/1.616, allocations: 418.1 kB / 0.8044 GB, free: 87.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.616, allocations: 178.2 kB / 0.8046 GB, free: 86.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/1.617, allocations: 15.08 kB / 0.8046 GB, free: 86.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/1.617, allocations: 14.88 kB / 0.8046 GB, free: 86.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1.617, allocations: 25.69 kB / 0.8046 GB, free: 86.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/1.617, allocations: 15.41 kB / 0.8046 GB, free: 86.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003583/1.617, allocations: 353.8 kB / 0.805 GB, free: 86.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.617, allocations: 3.938 kB / 0.805 GB, free: 86.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001499/1.619, allocations: 431.9 kB / 0.8054 GB, free: 86.69 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) * Number of clocked states: 0 () * 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.0008784/1.62, allocations: 436.5 kB / 0.8058 GB, free: 86.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/1.621, allocations: 0.7693 MB / 0.8066 GB, free: 86.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.621, allocations: 0 / 0.8066 GB, free: 86.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007551/1.622, allocations: 293.4 kB / 0.8069 GB, free: 86.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009267/1.623, allocations: 196.3 kB / 0.807 GB, free: 86.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002547/1.626, allocations: 1.387 MB / 0.8084 GB, free: 85.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/1.626, allocations: 0.8986 MB / 0.8093 GB, free: 84.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007588/1.627, allocations: 189.8 kB / 0.8095 GB, free: 84.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.627, allocations: 66.09 kB / 0.8095 GB, free: 84.5 MB / 426.7 MB Notification: Performance of SimCode: time 7.72e-07/1.627, allocations: 0 / 0.8095 GB, free: 84.5 MB / 426.7 MB Notification: Performance of Templates: time 0.01951/1.647, allocations: 11.42 MB / 0.8207 GB, free: 82 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)