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.00216/0.00216, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.229/1.229, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001632/0.001632, allocations: 111.4 kB / 218 MB, free: 8.34 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.166/0.166, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.867e-05, allocations: 3.438 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09496, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7542/0.8493, allocations: 276.7 MB / 0.6596 GB, free: 133.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.8496, allocations: 85.78 kB / 0.6596 GB, free: 133.7 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.2142/1.064, allocations: 114.7 MB / 0.7716 GB, free: 17.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.064, allocations: 0 / 0.7716 GB, free: 17.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.157e-05/1.064, allocations: 16 kB / 0.7717 GB, free: 17.63 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.001688/1.066, allocations: 0.8523 MB / 0.7725 GB, free: 16.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.066, allocations: 12.03 kB / 0.7725 GB, free: 16.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004339/1.066, allocations: 79.23 kB / 0.7726 GB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/1.067, allocations: 0.5392 MB / 0.7731 GB, free: 16.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/1.067, allocations: 16 kB / 0.7731 GB, free: 16.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/1.067, allocations: 24 kB / 0.7731 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006475/1.068, allocations: 466.5 kB / 0.7736 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/1.069, allocations: 0.5711 MB / 0.7741 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/1.069, allocations: 4 kB / 0.7741 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/1.069, allocations: 4 kB / 0.7742 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.069, allocations: 8 kB / 0.7742 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/1.072, allocations: 3 MB / 0.7771 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/1.072, allocations: 182.6 kB / 0.7773 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/1.072, allocations: 97.02 kB / 0.7774 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/1.073, allocations: 1.017 MB / 0.7783 GB, free: 10.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/1.073, allocations: 161 kB / 0.7785 GB, free: 10.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/1.073, allocations: 0 / 0.7785 GB, free: 10.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.00241/1.076, allocations: 0.5161 MB / 0.779 GB, free: 9.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.076, allocations: 166.2 kB / 0.7792 GB, free: 9.434 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/1.076, allocations: 389.9 kB / 0.7795 GB, free: 9.047 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/1.076, allocations: 25.7 kB / 0.7796 GB, free: 9.016 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/1.076, allocations: 362.4 kB / 0.7799 GB, free: 8.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/1.076, allocations: 82.88 kB / 0.78 GB, free: 8.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/1.076, allocations: 4 kB / 0.78 GB, free: 8.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.156e-05/1.077, allocations: 358.8 kB / 0.7803 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/1.077, allocations: 93.09 kB / 0.7804 GB, free: 8.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/1.077, allocations: 380.4 kB / 0.7808 GB, free: 7.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/1.079, allocations: 435.9 kB / 0.7812 GB, free: 7.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.079, allocations: 4 kB / 0.7812 GB, free: 7.184 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00249/1.081, allocations: 0.7448 MB / 0.7819 GB, free: 6.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000632/1.082, allocations: 3.691 MB / 0.7855 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.082, allocations: 16 kB / 0.7855 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.082, allocations: 12 kB / 0.7856 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.083, allocations: 191.7 kB / 0.7857 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006693/1.084, allocations: 0.6757 MB / 0.7864 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/1.084, allocations: 63.41 kB / 0.7865 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/1.084, allocations: 35.98 kB / 0.7865 GB, free: 1.438 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.084, allocations: 6.969 kB / 0.7865 GB, free: 1.434 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/1.086, allocations: 0.5703 MB / 0.7871 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.086, allocations: 12 kB / 0.7871 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/1.086, allocations: 12.09 kB / 0.7871 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/1.086, allocations: 135.8 kB / 0.7872 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/1.086, allocations: 19.92 kB / 0.7872 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/1.087, allocations: 43.58 kB / 0.7873 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/1.087, allocations: 35.98 kB / 0.7873 GB, free: 0.6094 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.0001521/1.087, allocations: 170 kB / 0.7875 GB, free: 444 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/1.087, allocations: 55.44 kB / 0.7875 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.259/1.346, allocations: 0.6906 MB / 0.7882 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.346, allocations: 4.453 kB / 0.7882 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.346, allocations: 0 / 0.7882 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.346, allocations: 3.031 kB / 0.7882 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/1.347, allocations: 398.2 kB / 0.7886 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.347, allocations: 0.7188 kB / 0.7886 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/1.348, allocations: 106 kB / 0.7887 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.348, allocations: 8.125 kB / 0.7887 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/1.348, allocations: 10.61 kB / 0.7887 GB, free: 101.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003923/1.348, allocations: 0.6142 MB / 0.7893 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.348, allocations: 4.406 kB / 0.7893 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.349, allocations: 471.3 kB / 0.7898 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/1.35, allocations: 186.4 kB / 0.7899 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/1.35, allocations: 5.922 kB / 0.7899 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.35, allocations: 13.17 kB / 0.79 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/1.35, allocations: 28.94 kB / 0.79 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/1.35, allocations: 14.59 kB / 0.79 GB, free: 101 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000396/1.351, allocations: 314.6 kB / 0.7903 GB, free: 100.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.351, allocations: 0 / 0.7903 GB, free: 100.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00154/1.352, allocations: 401.2 kB / 0.7907 GB, free: 100.9 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.0009118/1.353, allocations: 438.7 kB / 0.7911 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00186/1.355, allocations: 0.7256 MB / 0.7918 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.355, allocations: 1.594 kB / 0.7918 GB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/1.356, allocations: 280.9 kB / 0.7921 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/1.357, allocations: 180.8 kB / 0.7922 GB, free: 100.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/1.359, allocations: 0.8175 MB / 0.793 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/1.359, allocations: 0.8968 MB / 0.7939 GB, free: 99.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007953/1.36, allocations: 207.2 kB / 0.7941 GB, free: 99.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.36, allocations: 59.12 kB / 0.7942 GB, free: 99.71 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/1.36, allocations: 0 / 0.7942 GB, free: 99.71 MB / 426.7 MB Notification: Performance of Templates: time 0.02018/1.38, allocations: 11.11 MB / 0.805 GB, free: 99.38 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)