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.0115/0.0115, allocations: 176 kB / 15.12 MB, free: 5.98 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.987/1.987, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001819/0.00182, allocations: 132.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2712/0.2712, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005534/0.0005534, allocations: 11.09 kB / 406.2 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9672/1.102, allocations: 283.9 MB / 0.7274 GB, free: 134.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/1.102, allocations: 87.73 kB / 0.7275 GB, free: 134.2 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.2534/1.355, allocations: 116.3 MB / 0.8411 GB, free: 66.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.356, allocations: 0 / 0.8411 GB, free: 66.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.067e-05/1.356, allocations: 16 kB / 0.8411 GB, free: 66.96 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.002692/1.358, allocations: 0.9298 MB / 0.842 GB, free: 65.97 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.358, allocations: 12.03 kB / 0.8421 GB, free: 65.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006092/1.359, allocations: 79.16 kB / 0.8421 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.361, allocations: 0.5482 MB / 0.8427 GB, free: 65.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/1.361, allocations: 33 kB / 0.8427 GB, free: 65.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.361, allocations: 44 kB / 0.8427 GB, free: 65.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.362, allocations: 0.6432 MB / 0.8434 GB, free: 64.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/1.362, allocations: 3.938 kB / 0.8434 GB, free: 64.51 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-05/1.362, allocations: 24 kB / 0.8434 GB, free: 64.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/1.362, allocations: 12 kB / 0.8434 GB, free: 64.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/1.363, allocations: 0.5152 MB / 0.8439 GB, free: 63.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/1.367, allocations: 3.091 MB / 0.8469 GB, free: 60.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/1.367, allocations: 187.1 kB / 0.8471 GB, free: 60.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/1.368, allocations: 1.025 MB / 0.8481 GB, free: 59.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/1.368, allocations: 188.9 kB / 0.8483 GB, free: 59.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.757e-06/1.369, allocations: 0 / 0.8483 GB, free: 59.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006937/1.369, allocations: 444.3 kB / 0.8487 GB, free: 58.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/1.369, allocations: 158.2 kB / 0.8489 GB, free: 58.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.37, allocations: 437.9 kB / 0.8493 GB, free: 58.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/1.37, allocations: 33.7 kB / 0.8493 GB, free: 58.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.37, allocations: 366.6 kB / 0.8497 GB, free: 57.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/1.37, allocations: 86.78 kB / 0.8497 GB, free: 57.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/1.37, allocations: 12 kB / 0.8498 GB, free: 57.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/1.37, allocations: 366.8 kB / 0.8501 GB, free: 57.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/1.37, allocations: 109 kB / 0.8502 GB, free: 57.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/1.371, allocations: 397.4 kB / 0.8506 GB, free: 56.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/1.371, allocations: 202.7 kB / 0.8508 GB, free: 56.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/1.371, allocations: 7.984 kB / 0.8508 GB, free: 56.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007497/1.372, allocations: 0.5734 MB / 0.8513 GB, free: 55.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.373, allocations: 3.701 MB / 0.855 GB, free: 51.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.373, allocations: 8 kB / 0.855 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.75e-05/1.373, allocations: 16 kB / 0.855 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/1.374, allocations: 187.7 kB / 0.8552 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003822/1.374, allocations: 0.6172 MB / 0.8558 GB, free: 50.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/1.375, allocations: 79.3 kB / 0.8558 GB, free: 50.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/1.375, allocations: 40.08 kB / 0.8559 GB, free: 50.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.375, allocations: 4 kB / 0.8559 GB, free: 50.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006616/1.376, allocations: 0.5183 MB / 0.8564 GB, free: 50.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.376, allocations: 12.03 kB / 0.8564 GB, free: 50.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/1.376, allocations: 24.14 kB / 0.8564 GB, free: 50.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/1.376, allocations: 127.8 kB / 0.8565 GB, free: 50.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.376, allocations: 19.92 kB / 0.8566 GB, free: 50.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/1.376, allocations: 63.52 kB / 0.8566 GB, free: 50.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.376, allocations: 35.98 kB / 0.8567 GB, free: 50 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 () * 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.0003569/1.377, allocations: 306.6 kB / 0.857 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/1.377, allocations: 63.28 kB / 0.857 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/1.378, allocations: 0.6354 MB / 0.8576 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/1.378, allocations: 7.984 kB / 0.8576 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.378, allocations: 0 / 0.8576 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.378, allocations: 4 kB / 0.8576 GB, free: 48.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/1.379, allocations: 481 kB / 0.8581 GB, free: 48.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.379, allocations: 0 / 0.8581 GB, free: 48.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/1.379, allocations: 111.8 kB / 0.8582 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.379, allocations: 4 kB / 0.8582 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/1.379, allocations: 11.98 kB / 0.8582 GB, free: 48.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002542/1.379, allocations: 0.586 MB / 0.8588 GB, free: 47.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.379, allocations: 4.094 kB / 0.8588 GB, free: 47.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/1.38, allocations: 418.7 kB / 0.8592 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/1.38, allocations: 184.2 kB / 0.8594 GB, free: 47.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-05/1.38, allocations: 11.98 kB / 0.8594 GB, free: 47.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/1.38, allocations: 16 kB / 0.8594 GB, free: 47.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/1.381, allocations: 31.92 kB / 0.8594 GB, free: 47.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/1.381, allocations: 15.98 kB / 0.8594 GB, free: 46.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003723/1.381, allocations: 354.8 kB / 0.8598 GB, free: 46.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.381, allocations: 3.938 kB / 0.8598 GB, free: 46.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001836/1.383, allocations: 427.3 kB / 0.8602 GB, free: 46.23 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) * 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.001367/1.384, allocations: 454.6 kB / 0.8606 GB, free: 45.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00215/1.386, allocations: 0.8235 MB / 0.8614 GB, free: 44.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.386, allocations: 0 / 0.8614 GB, free: 44.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007604/1.387, allocations: 324.4 kB / 0.8617 GB, free: 44.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/1.388, allocations: 189.1 kB / 0.8619 GB, free: 44.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.391, allocations: 1.41 MB / 0.8633 GB, free: 42.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.391, allocations: 0.9 MB / 0.8642 GB, free: 42.06 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006902/1.392, allocations: 196.5 kB / 0.8644 GB, free: 41.87 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.392, allocations: 63.41 kB / 0.8644 GB, free: 41.81 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/1.392, allocations: 0 / 0.8644 GB, free: 41.81 MB / 490.7 MB Notification: Performance of Templates: time 0.02029/1.412, allocations: 11.59 MB / 0.8757 GB, free: 30.26 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)