Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.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.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.446/1.446, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.001763/0.001763, allocations: 122.8 kB / 247.4 MB, free: 6.223 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.192/0.192, allocations: 39.94 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.324e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 54.86 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8108/0.9123, allocations: 283.1 MB / 0.7142 GB, free: 125.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.9126, allocations: 83.5 kB / 0.7142 GB, free: 125.6 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 - DAE generated: time 0.2264/1.139, allocations: 114.8 MB / 0.8263 GB, free: 18.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/1.139, allocations: 0 / 0.8263 GB, free: 18.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.038e-05/1.139, allocations: 16 kB / 0.8264 GB, free: 18.21 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001852/1.141, allocations: 0.8561 MB / 0.8272 GB, free: 17.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.141, allocations: 8.031 kB / 0.8272 GB, free: 17.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/1.142, allocations: 87.14 kB / 0.8273 GB, free: 17.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/1.143, allocations: 0.5429 MB / 0.8278 GB, free: 16.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/1.143, allocations: 16 kB / 0.8278 GB, free: 16.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/1.143, allocations: 28 kB / 0.8279 GB, free: 16.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007954/1.144, allocations: 466.5 kB / 0.8283 GB, free: 16.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/1.145, allocations: 0.574 MB / 0.8289 GB, free: 15.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.145, allocations: 11.94 kB / 0.8289 GB, free: 15.49 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/1.145, allocations: 4 kB / 0.8289 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.145, allocations: 8 kB / 0.8289 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/1.148, allocations: 3.012 MB / 0.8318 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/1.148, allocations: 178.9 kB / 0.832 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/1.148, allocations: 109.2 kB / 0.8321 GB, free: 11.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.15, allocations: 1.029 MB / 0.8331 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/1.15, allocations: 174.7 kB / 0.8333 GB, free: 10.67 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/1.15, allocations: 0 / 0.8333 GB, free: 10.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.00255/1.153, allocations: 0.5084 MB / 0.8338 GB, free: 10.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.153, allocations: 158.2 kB / 0.8339 GB, free: 9.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/1.153, allocations: 389.9 kB / 0.8343 GB, free: 9.574 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/1.153, allocations: 29.7 kB / 0.8343 GB, free: 9.539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/1.153, allocations: 362.4 kB / 0.8347 GB, free: 9.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.457e-05/1.153, allocations: 86.94 kB / 0.8347 GB, free: 9.094 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/1.153, allocations: 0 / 0.8347 GB, free: 9.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/1.154, allocations: 366.7 kB / 0.8351 GB, free: 8.727 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.154, allocations: 97.11 kB / 0.8352 GB, free: 8.633 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/1.154, allocations: 376.4 kB / 0.8355 GB, free: 8.129 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/1.156, allocations: 433.5 kB / 0.836 GB, free: 7.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.156, allocations: 7.938 kB / 0.836 GB, free: 7.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002704/1.159, allocations: 0.7514 MB / 0.8367 GB, free: 6.945 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001036/1.16, allocations: 3.687 MB / 0.8403 GB, free: 2.965 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.16, allocations: 15.94 kB / 0.8403 GB, free: 2.949 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/1.16, allocations: 19.95 kB / 0.8403 GB, free: 2.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.161, allocations: 183.7 kB / 0.8405 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007568/1.162, allocations: 0.6718 MB / 0.8412 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/1.162, allocations: 59.42 kB / 0.8412 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/1.163, allocations: 35.98 kB / 0.8413 GB, free: 1.961 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.163, allocations: 7.938 kB / 0.8413 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/1.164, allocations: 0.5626 MB / 0.8418 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.164, allocations: 12 kB / 0.8418 GB, free: 1.379 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.164, allocations: 12.09 kB / 0.8418 GB, free: 1.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/1.165, allocations: 135.8 kB / 0.842 GB, free: 1.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.165, allocations: 23.88 kB / 0.842 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/1.165, allocations: 51.55 kB / 0.842 GB, free: 1.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/1.165, allocations: 35.98 kB / 0.8421 GB, free: 1.125 MB / 474.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: 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 (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.0001999/1.165, allocations: 170.4 kB / 0.8422 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/1.166, allocations: 55.34 kB / 0.8423 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/1.168, allocations: 0.6956 MB / 0.843 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.168, allocations: 0 / 0.843 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.168, allocations: 4 kB / 0.843 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.168, allocations: 3.984 kB / 0.843 GB, free: 172 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2735/1.441, allocations: 405.8 kB / 0.8434 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.441, allocations: 6.969 kB / 0.8434 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/1.442, allocations: 100.9 kB / 0.8435 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.442, allocations: 2.5 kB / 0.8435 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/1.442, allocations: 10.16 kB / 0.8435 GB, free: 118.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003944/1.442, allocations: 0.6127 MB / 0.8441 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.442, allocations: 0.9688 kB / 0.8441 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.444, allocations: 475.6 kB / 0.8445 GB, free: 117.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/1.444, allocations: 185.8 kB / 0.8447 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/1.444, allocations: 3.875 kB / 0.8447 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.444, allocations: 21.25 kB / 0.8447 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/1.444, allocations: 22.48 kB / 0.8448 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/1.444, allocations: 19.19 kB / 0.8448 GB, free: 117.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000344/1.444, allocations: 308.3 kB / 0.8451 GB, free: 117.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.444, allocations: 0 / 0.8451 GB, free: 117.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001473/1.446, allocations: 408.1 kB / 0.8455 GB, free: 117.2 MB / 474.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: 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 (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.0008412/1.447, allocations: 442.2 kB / 0.8459 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001887/1.449, allocations: 0.7693 MB / 0.8466 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.449, allocations: 0 / 0.8466 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007533/1.449, allocations: 304.4 kB / 0.8469 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/1.45, allocations: 189.9 kB / 0.8471 GB, free: 117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/1.452, allocations: 0.8325 MB / 0.8479 GB, free: 116.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/1.453, allocations: 0.9033 MB / 0.8488 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008555/1.453, allocations: 213.9 kB / 0.849 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.454, allocations: 60.14 kB / 0.8491 GB, free: 116 MB / 474.7 MB Notification: Performance of SimCode: time 6.92e-07/1.454, allocations: 0 / 0.8491 GB, free: 116 MB / 474.7 MB Notification: Performance of Templates: time 0.02068/1.474, allocations: 11.28 MB / 0.8601 GB, free: 115.7 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice.pipe 2>&1)