Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002646/0.002652, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.565/3.565, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003611/0.003611, allocations: 226.1 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4691/0.4691, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000626/0.0006264, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09134, allocations: 48.69 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.464/7.556, allocations: 2.485 GB / 3.092 GB, free: 45.77 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/7.556, allocations: 88.3 kB / 3.092 GB, free: 45.72 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 1.937/9.493, allocations: 386.1 MB / 3.469 GB, free: 13.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/9.493, allocations: 0 / 3.469 GB, free: 13.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/9.493, allocations: 8 kB / 3.469 GB, free: 13.43 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006584/9.5, allocations: 1.532 MB / 3.47 GB, free: 11.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/9.5, allocations: 8.031 kB / 3.47 GB, free: 11.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00258/9.502, allocations: 231.2 kB / 3.471 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/9.503, allocations: 450.9 kB / 3.471 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/9.503, allocations: 29 kB / 3.471 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/9.503, allocations: 36.69 kB / 3.471 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/9.506, allocations: 0.6933 MB / 3.472 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/9.506, allocations: 3.953 kB / 3.472 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/9.506, allocations: 20 kB / 3.472 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/9.506, allocations: 11.94 kB / 3.472 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/9.508, allocations: 0.5917 MB / 3.472 GB, free: 9.707 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00414/9.512, allocations: 3.128 MB / 3.475 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/9.514, allocations: 396.5 kB / 3.476 GB, free: 5.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/9.515, allocations: 140.3 kB / 3.476 GB, free: 5.816 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6306/10.15, allocations: 80.51 MB / 3.555 GB, free: 34.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/10.15, allocations: 33.5 kB / 3.555 GB, free: 33.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/10.15, allocations: 0 / 3.555 GB, free: 33.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=27): time 0.004099/10.15, allocations: 0.8034 MB / 3.555 GB, free: 33.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/10.15, allocations: 107.2 kB / 3.555 GB, free: 33.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/10.15, allocations: 352.5 kB / 3.556 GB, free: 33.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/10.15, allocations: 29.2 kB / 3.556 GB, free: 33.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/10.15, allocations: 269.5 kB / 3.556 GB, free: 33.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/10.15, allocations: 97.25 kB / 3.556 GB, free: 33.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/10.15, allocations: 14.09 kB / 3.556 GB, free: 33.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/10.15, allocations: 349 kB / 3.556 GB, free: 33.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/10.15, allocations: 122.2 kB / 3.557 GB, free: 33.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/10.15, allocations: 320.4 kB / 3.557 GB, free: 32.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/10.15, allocations: 177.5 kB / 3.557 GB, free: 32.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/10.15, allocations: 4 kB / 3.557 GB, free: 32.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001613/10.15, allocations: 498.7 kB / 3.558 GB, free: 32.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/10.15, allocations: 276 kB / 3.558 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/10.15, allocations: 7.344 kB / 3.558 GB, free: 32.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/10.16, allocations: 213.1 kB / 3.558 GB, free: 32.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/10.16, allocations: 105.3 kB / 3.558 GB, free: 32.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007703/10.16, allocations: 0.577 MB / 3.559 GB, free: 31.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/10.16, allocations: 71.55 kB / 3.559 GB, free: 31.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/10.16, allocations: 25.86 kB / 3.559 GB, free: 31.88 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/10.16, allocations: 5.594 kB / 3.559 GB, free: 31.88 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/10.16, allocations: 423 kB / 3.559 GB, free: 31.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/10.16, allocations: 7.062 kB / 3.559 GB, free: 31.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/10.16, allocations: 10.44 kB / 3.559 GB, free: 31.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/10.16, allocations: 116.2 kB / 3.559 GB, free: 31.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/10.16, allocations: 19.81 kB / 3.559 GB, free: 31.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/10.16, allocations: 54.47 kB / 3.559 GB, free: 31.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/10.16, allocations: 26.97 kB / 3.559 GB, free: 31.85 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004429/10.16, allocations: 266.7 kB / 3.56 GB, free: 31.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/10.16, allocations: 38.16 kB / 3.56 GB, free: 31.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/10.17, allocations: 1.842 MB / 3.562 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/10.17, allocations: 29.41 kB / 3.562 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/10.17, allocations: 6.344 kB / 3.562 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/10.17, allocations: 5.688 kB / 3.562 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/10.17, allocations: 0.9274 MB / 3.562 GB, free: 31.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/10.17, allocations: 0 / 3.562 GB, free: 31.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/10.17, allocations: 66.5 kB / 3.563 GB, free: 31.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001963/10.17, allocations: 0.5892 MB / 3.563 GB, free: 31.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/10.17, allocations: 4.5 kB / 3.563 GB, free: 31.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/10.17, allocations: 0.9897 MB / 3.564 GB, free: 30.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/10.17, allocations: 0 / 3.564 GB, free: 30.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/10.17, allocations: 1.246 MB / 3.565 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/10.17, allocations: 249.4 kB / 3.566 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/10.17, allocations: 13.62 kB / 3.566 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/10.17, allocations: 26.52 kB / 3.566 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/10.17, allocations: 28.78 kB / 3.566 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/10.17, allocations: 14.08 kB / 3.566 GB, free: 30.24 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004903/10.18, allocations: 298.9 kB / 3.566 GB, free: 30.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.9e-07/10.18, allocations: 0 / 3.566 GB, free: 30.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005954/10.18, allocations: 1.201 MB / 3.567 GB, free: 30.13 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0105/10.19, allocations: 1.616 MB / 3.569 GB, free: 29.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002523/10.19, allocations: 0.7722 MB / 3.569 GB, free: 29.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/10.19, allocations: 0 / 3.569 GB, free: 29.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008839/10.2, allocations: 459.3 kB / 3.57 GB, free: 29.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/10.2, allocations: 190.3 kB / 3.57 GB, free: 29.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2128/10.41, allocations: 83.89 MB / 3.652 GB, free: 13.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/10.41, allocations: 0.9861 MB / 3.653 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001243/10.41, allocations: 427.6 kB / 3.653 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/10.41, allocations: 43.44 kB / 3.653 GB, free: 11.92 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/10.41, allocations: 0 / 3.653 GB, free: 11.92 MB / 474.7 MB Notification: Performance of Templates: time 0.5589/10.97, allocations: 37.52 MB / 3.69 GB, free: 69.68 MB / 474.7 MB