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.001652/0.001653, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.513/1.513, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001682/0.001683, allocations: 110.8 kB / 252.6 MB, free: 4.824 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.1997/0.1997, allocations: 39.94 MB / 337.5 MB, free: 500 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.015e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7708/0.8857, allocations: 283.8 MB / 0.7216 GB, free: 164.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.886, allocations: 79.84 kB / 0.7217 GB, free: 164.6 MB / 490.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.209/1.095, allocations: 115.9 MB / 0.8348 GB, free: 47.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.423e-06/1.095, allocations: 4 kB / 0.8348 GB, free: 47.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.772e-05/1.095, allocations: 12 kB / 0.8348 GB, free: 47.35 MB / 490.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.001313/1.096, allocations: 0.8557 MB / 0.8357 GB, free: 46.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/1.097, allocations: 8.031 kB / 0.8357 GB, free: 46.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/1.097, allocations: 83.14 kB / 0.8358 GB, free: 46.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/1.098, allocations: 0.5405 MB / 0.8363 GB, free: 45.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/1.098, allocations: 32.94 kB / 0.8363 GB, free: 45.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.83e-05/1.098, allocations: 52 kB / 0.8364 GB, free: 45.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/1.099, allocations: 0.6351 MB / 0.837 GB, free: 44.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.099, allocations: 8 kB / 0.837 GB, free: 44.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/1.099, allocations: 19.98 kB / 0.837 GB, free: 44.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/1.099, allocations: 12 kB / 0.837 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/1.099, allocations: 0.5029 MB / 0.8375 GB, free: 44.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/1.102, allocations: 3.095 MB / 0.8405 GB, free: 41.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/1.102, allocations: 183.1 kB / 0.8407 GB, free: 40.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/1.102, allocations: 121.2 kB / 0.8408 GB, free: 40.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.104, allocations: 1.025 MB / 0.8418 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/1.104, allocations: 184.9 kB / 0.842 GB, free: 39.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.735e-06/1.104, allocations: 0 / 0.842 GB, free: 39.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005634/1.104, allocations: 290.5 kB / 0.8423 GB, free: 39.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/1.104, allocations: 166.2 kB / 0.8425 GB, free: 39.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/1.105, allocations: 436.6 kB / 0.8429 GB, free: 38.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/1.105, allocations: 25.7 kB / 0.8429 GB, free: 38.56 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/1.105, allocations: 378.6 kB / 0.8433 GB, free: 38.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/1.105, allocations: 86.83 kB / 0.8433 GB, free: 38.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/1.105, allocations: 12 kB / 0.8433 GB, free: 38.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.105, allocations: 358.8 kB / 0.8437 GB, free: 37.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/1.106, allocations: 101.1 kB / 0.8438 GB, free: 37.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/1.106, allocations: 397.5 kB / 0.8442 GB, free: 37.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/1.106, allocations: 215.5 kB / 0.8444 GB, free: 36.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.106, allocations: 4 kB / 0.8444 GB, free: 36.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007839/1.107, allocations: 0.5773 MB / 0.8449 GB, free: 36.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00104/1.108, allocations: 3.691 MB / 0.8485 GB, free: 32.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.108, allocations: 16 kB / 0.8486 GB, free: 32.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.108, allocations: 12 kB / 0.8486 GB, free: 32.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.109, allocations: 191.8 kB / 0.8488 GB, free: 32.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003705/1.11, allocations: 0.6172 MB / 0.8494 GB, free: 31.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/1.11, allocations: 79.34 kB / 0.8494 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/1.11, allocations: 35.98 kB / 0.8495 GB, free: 31.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/1.11, allocations: 4 kB / 0.8495 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006259/1.111, allocations: 0.5051 MB / 0.85 GB, free: 30.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.111, allocations: 8 kB / 0.85 GB, free: 30.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/1.111, allocations: 15.95 kB / 0.85 GB, free: 30.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/1.111, allocations: 127.8 kB / 0.8501 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.111, allocations: 20.55 kB / 0.8501 GB, free: 30.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/1.111, allocations: 59.58 kB / 0.8502 GB, free: 30.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/1.111, allocations: 39.98 kB / 0.8502 GB, free: 30.57 MB / 490.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.00013/1.112, allocations: 187.2 kB / 0.8504 GB, free: 30.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/1.112, allocations: 55.34 kB / 0.8505 GB, free: 30.32 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.113, allocations: 0.6313 MB / 0.8511 GB, free: 29.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/1.113, allocations: 8 kB / 0.8511 GB, free: 29.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.113, allocations: 0 / 0.8511 GB, free: 29.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.113, allocations: 4 kB / 0.8511 GB, free: 29.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/1.113, allocations: 485 kB / 0.8515 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.113, allocations: 0 / 0.8515 GB, free: 29.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/1.114, allocations: 99.86 kB / 0.8516 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.114, allocations: 7.953 kB / 0.8516 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.114, allocations: 15.98 kB / 0.8517 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001942/1.114, allocations: 0.586 MB / 0.8522 GB, free: 28.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.114, allocations: 0 / 0.8522 GB, free: 28.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/1.115, allocations: 414.6 kB / 0.8526 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/1.115, allocations: 192.3 kB / 0.8528 GB, free: 27.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/1.115, allocations: 11.94 kB / 0.8528 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/1.115, allocations: 23.92 kB / 0.8528 GB, free: 27.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/1.115, allocations: 23.97 kB / 0.8529 GB, free: 27.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/1.115, allocations: 12 kB / 0.8529 GB, free: 27.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002978/1.115, allocations: 349.5 kB / 0.8532 GB, free: 27.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.115, allocations: 4 kB / 0.8532 GB, free: 27.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001192/1.117, allocations: 435.3 kB / 0.8536 GB, free: 26.93 MB / 490.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.0007601/1.117, allocations: 437.5 kB / 0.854 GB, free: 26.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/1.119, allocations: 0.8352 MB / 0.8549 GB, free: 25.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.119, allocations: 0 / 0.8549 GB, free: 25.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/1.12, allocations: 313.5 kB / 0.8552 GB, free: 25.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/1.121, allocations: 185.9 kB / 0.8553 GB, free: 25.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/1.122, allocations: 0.8518 MB / 0.8562 GB, free: 24.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/1.122, allocations: 0.9006 MB / 0.8571 GB, free: 23.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006622/1.123, allocations: 212.4 kB / 0.8573 GB, free: 23.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/1.123, allocations: 55.41 kB / 0.8573 GB, free: 23.08 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/1.123, allocations: 0 / 0.8573 GB, free: 23.08 MB / 490.7 MB Notification: Performance of Templates: time 0.01771/1.141, allocations: 12.66 MB / 0.8697 GB, free: 10.44 MB / 490.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)