Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.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.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001558/0.001558, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.433/1.433, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001663/0.001663, allocations: 99.52 kB / 223.2 MB, free: 4.117 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.1865/0.1865, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.299e-05/6.341e-05, allocations: 7.984 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09037/0.09048, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.107, allocations: 2.486 GB / 2.883 GB, free: 17.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/5.107, allocations: 82.61 kB / 2.883 GB, free: 17.73 MB / 442.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 2.252/7.359, allocations: 0.6436 GB / 3.526 GB, free: 30.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/7.359, allocations: 0 / 3.526 GB, free: 30.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.355e-05/7.359, allocations: 21.81 kB / 3.526 GB, free: 30.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.007511/7.367, allocations: 2.109 MB / 3.528 GB, free: 28.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/7.367, allocations: 9.969 kB / 3.528 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/7.372, allocations: 0.5389 MB / 3.529 GB, free: 28.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/7.373, allocations: 0.6934 MB / 3.53 GB, free: 28.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/7.373, allocations: 67.69 kB / 3.53 GB, free: 28.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/7.373, allocations: 70.38 kB / 3.53 GB, free: 28.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/7.376, allocations: 1.35 MB / 3.531 GB, free: 27.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/7.376, allocations: 7.875 kB / 3.531 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/7.376, allocations: 35.17 kB / 3.531 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/7.376, allocations: 24.05 kB / 3.531 GB, free: 27.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/7.379, allocations: 1.154 MB / 3.532 GB, free: 27.41 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005293/7.384, allocations: 5.472 MB / 3.537 GB, free: 23.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/7.386, allocations: 0.873 MB / 3.538 GB, free: 22.78 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/7.387, allocations: 250.1 kB / 3.539 GB, free: 22.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4212/7.808, allocations: 60.49 MB / 3.598 GB, free: 63.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/7.808, allocations: 42.72 kB / 3.598 GB, free: 63.61 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000746/7.809, allocations: 117.2 kB / 3.598 GB, free: 63.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 2.875e-06/7.809, allocations: 0 / 3.598 GB, free: 63.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.003738/7.812, allocations: 1.251 MB / 3.599 GB, free: 63.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/7.812, allocations: 190.3 kB / 3.599 GB, free: 63.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005212/7.813, allocations: 483.4 kB / 3.6 GB, free: 63.23 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/7.813, allocations: 34.95 kB / 3.6 GB, free: 63.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/7.813, allocations: 434.2 kB / 3.6 GB, free: 63.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/7.813, allocations: 198 kB / 3.6 GB, free: 62.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/7.813, allocations: 15.53 kB / 3.6 GB, free: 62.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/7.813, allocations: 379.6 kB / 3.601 GB, free: 62.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/7.814, allocations: 192.2 kB / 3.601 GB, free: 62.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/7.815, allocations: 0.5046 MB / 3.601 GB, free: 62.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/7.815, allocations: 269.7 kB / 3.602 GB, free: 62.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/7.815, allocations: 2.5 kB / 3.602 GB, free: 62.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001793/7.817, allocations: 0.8087 MB / 3.602 GB, free: 62.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000918/7.818, allocations: 3.831 MB / 3.606 GB, free: 58.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/7.818, allocations: 10.23 kB / 3.606 GB, free: 58.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003237/7.821, allocations: 384 kB / 3.607 GB, free: 58.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/7.822, allocations: 201.2 kB / 3.607 GB, free: 58.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006549/7.823, allocations: 1.137 MB / 3.608 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007532/7.823, allocations: 59.67 kB / 3.608 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/7.823, allocations: 53.41 kB / 3.608 GB, free: 57.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/7.823, allocations: 3.375 kB / 3.608 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/7.825, allocations: 0.683 MB / 3.609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/7.825, allocations: 9.906 kB / 3.609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/7.825, allocations: 16.47 kB / 3.609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/7.825, allocations: 217 kB / 3.609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/7.825, allocations: 21.8 kB / 3.609 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/7.826, allocations: 66.3 kB / 3.609 GB, free: 57.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/7.826, allocations: 47.73 kB / 3.609 GB, free: 57.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/7.826, allocations: 167.3 kB / 3.609 GB, free: 56.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/7.827, allocations: 72.33 kB / 3.609 GB, free: 56.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/7.831, allocations: 3.595 MB / 3.613 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.852e-05/7.831, allocations: 48.92 kB / 3.613 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/7.831, allocations: 0 / 3.613 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/7.831, allocations: 5.094 kB / 3.613 GB, free: 56.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/7.833, allocations: 1.702 MB / 3.614 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/7.833, allocations: 3.406 kB / 3.614 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/7.833, allocations: 125.8 kB / 3.615 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/7.835, allocations: 0.8981 MB / 3.615 GB, free: 56.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/7.836, allocations: 15.59 kB / 3.615 GB, free: 56.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007702/7.836, allocations: 1.536 MB / 3.617 GB, free: 55.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/7.836, allocations: 0 / 3.617 GB, free: 55.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/7.838, allocations: 1.993 MB / 3.619 GB, free: 54.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/7.839, allocations: 417.2 kB / 3.619 GB, free: 54.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/7.839, allocations: 13.75 kB / 3.619 GB, free: 54.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/7.839, allocations: 58.56 kB / 3.619 GB, free: 54.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/7.839, allocations: 62.88 kB / 3.619 GB, free: 54.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/7.84, allocations: 25.39 kB / 3.619 GB, free: 54.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000564/7.84, allocations: 0.5276 MB / 3.62 GB, free: 54.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/7.84, allocations: 1.719 kB / 3.62 GB, free: 54.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005436/7.846, allocations: 1.312 MB / 3.621 GB, free: 54.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00702/7.853, allocations: 1.755 MB / 3.623 GB, free: 54.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002461/7.855, allocations: 1.32 MB / 3.624 GB, free: 54.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/7.855, allocations: 0.9375 kB / 3.624 GB, free: 54.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000821/7.856, allocations: 0.7939 MB / 3.625 GB, free: 54.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/7.858, allocations: 358.2 kB / 3.625 GB, free: 54.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.204/9.062, allocations: 415.1 MB / 4.031 GB, free: 57.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/9.063, allocations: 1.298 MB / 4.032 GB, free: 56.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001897/9.065, allocations: 1.146 MB / 4.033 GB, free: 56.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/9.065, allocations: 68.56 kB / 4.033 GB, free: 56.71 MB / 474.7 MB Notification: Performance of SimCode: time 9.22e-07/9.065, allocations: 3.844 kB / 4.033 GB, free: 56.71 MB / 474.7 MB Notification: Performance of Templates: time 0.06051/9.125, allocations: 47.91 MB / 4.08 GB, free: 26.12 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity.pipe 2>&1)