Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004023/0.004028, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.078/4.078, allocations: 388.9 MB / 405.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003529/0.003528, allocations: 227 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4962/0.4962, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.856/7.963, allocations: 2.596 GB / 3.276 GB, free: 52.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/7.963, allocations: 92.73 kB / 3.276 GB, free: 52.5 MB / 490.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/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 2.013/9.977, allocations: 394 MB / 3.661 GB, free: 45.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.956e-06/9.977, allocations: 0 / 3.661 GB, free: 45.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.923e-05/9.977, allocations: 15.91 kB / 3.661 GB, free: 45.64 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.007143/9.984, allocations: 1.571 MB / 3.662 GB, free: 44.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/9.984, allocations: 8.031 kB / 3.662 GB, free: 44.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00267/9.987, allocations: 243.9 kB / 3.662 GB, free: 43.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/9.988, allocations: 447.1 kB / 3.663 GB, free: 43.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/9.988, allocations: 29 kB / 3.663 GB, free: 43.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/9.988, allocations: 40 kB / 3.663 GB, free: 43.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/9.99, allocations: 0.6879 MB / 3.664 GB, free: 42.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/9.991, allocations: 3.938 kB / 3.664 GB, free: 42.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/9.991, allocations: 20 kB / 3.664 GB, free: 42.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/9.991, allocations: 8 kB / 3.664 GB, free: 42.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/9.993, allocations: 0.5782 MB / 3.664 GB, free: 41.92 MB / 490.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.004202/9.997, allocations: 3.143 MB / 3.667 GB, free: 38.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/9.999, allocations: 383.9 kB / 3.668 GB, free: 38.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/10, allocations: 152.1 kB / 3.668 GB, free: 38.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.708/10.71, allocations: 80.61 MB / 3.747 GB, free: 38.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/10.71, allocations: 34.08 kB / 3.747 GB, free: 38.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.635e-06/10.71, allocations: 0 / 3.747 GB, free: 38.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=27): time 0.003965/10.71, allocations: 0.8008 MB / 3.747 GB, free: 38.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/10.71, allocations: 112.1 kB / 3.747 GB, free: 38.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/10.71, allocations: 342.8 kB / 3.748 GB, free: 38.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/10.71, allocations: 28.95 kB / 3.748 GB, free: 38.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/10.71, allocations: 272.9 kB / 3.748 GB, free: 37.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/10.71, allocations: 94.89 kB / 3.748 GB, free: 37.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/10.71, allocations: 6.312 kB / 3.748 GB, free: 37.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/10.71, allocations: 354.2 kB / 3.748 GB, free: 37.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/10.71, allocations: 122.5 kB / 3.749 GB, free: 37.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006105/10.71, allocations: 322.9 kB / 3.749 GB, free: 37.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/10.71, allocations: 173.1 kB / 3.749 GB, free: 37.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/10.71, allocations: 0 / 3.749 GB, free: 37.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001603/10.72, allocations: 0.4976 MB / 3.75 GB, free: 37.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001637/10.72, allocations: 273.7 kB / 3.75 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/10.72, allocations: 4.125 kB / 3.75 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/10.72, allocations: 211.3 kB / 3.75 GB, free: 36.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007152/10.72, allocations: 106.5 kB / 3.75 GB, free: 36.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005675/10.72, allocations: 0.5872 MB / 3.751 GB, free: 36.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/10.72, allocations: 62.64 kB / 3.751 GB, free: 36.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/10.72, allocations: 31.91 kB / 3.751 GB, free: 36.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/10.72, allocations: 4.688 kB / 3.751 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/10.72, allocations: 430.3 kB / 3.751 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/10.72, allocations: 12 kB / 3.751 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/10.72, allocations: 10.97 kB / 3.751 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007411/10.72, allocations: 114.3 kB / 3.751 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/10.72, allocations: 12.59 kB / 3.751 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/10.72, allocations: 58.14 kB / 3.751 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/10.72, allocations: 26.67 kB / 3.751 GB, free: 36.33 MB / 490.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.000403/10.72, allocations: 248.9 kB / 3.752 GB, free: 36.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/10.72, allocations: 42.48 kB / 3.752 GB, free: 36.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003193/10.73, allocations: 1.847 MB / 3.754 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/10.73, allocations: 28.55 kB / 3.754 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/10.73, allocations: 0 / 3.754 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/10.73, allocations: 3.797 kB / 3.754 GB, free: 35.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/10.73, allocations: 0.9296 MB / 3.754 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/10.73, allocations: 3.938 kB / 3.754 GB, free: 35.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/10.73, allocations: 68.34 kB / 3.755 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/10.73, allocations: 0.5875 MB / 3.755 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/10.73, allocations: 10.56 kB / 3.755 GB, free: 35.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009054/10.73, allocations: 0.9861 MB / 3.756 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/10.73, allocations: 4.062 kB / 3.756 GB, free: 35.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/10.74, allocations: 1.254 MB / 3.757 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/10.74, allocations: 236.1 kB / 3.758 GB, free: 34.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/10.74, allocations: 5.062 kB / 3.758 GB, free: 34.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/10.74, allocations: 31.45 kB / 3.758 GB, free: 34.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/10.74, allocations: 29.94 kB / 3.758 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/10.74, allocations: 16.75 kB / 3.758 GB, free: 34.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004537/10.74, allocations: 292.3 kB / 3.758 GB, free: 34.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.313e-06/10.74, allocations: 0 / 3.758 GB, free: 34.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006092/10.74, allocations: 1.209 MB / 3.759 GB, free: 34.61 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: 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.0106/10.75, allocations: 1.618 MB / 3.761 GB, free: 34.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002467/10.76, allocations: 0.7614 MB / 3.761 GB, free: 34.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/10.76, allocations: 3.719 kB / 3.761 GB, free: 34.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/10.76, allocations: 461.8 kB / 3.762 GB, free: 34.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/10.76, allocations: 190.8 kB / 3.762 GB, free: 34.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2067/10.97, allocations: 84.35 MB / 3.844 GB, free: 25.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/10.97, allocations: 0.9847 MB / 3.845 GB, free: 24.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001225/10.97, allocations: 430.1 kB / 3.846 GB, free: 23.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/10.97, allocations: 46.81 kB / 3.846 GB, free: 23.92 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/10.97, allocations: 2.188 kB / 3.846 GB, free: 23.92 MB / 490.7 MB Notification: Performance of Templates: time 0.07564/11.04, allocations: 37.78 MB / 3.883 GB, free: 7.488 MB / 0.4949 GB