Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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.TestExamplesVariants.InverseParameterization_laminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004872/0.004871, allocations: 346 kB / 15.93 MB, free: 6.219 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.7/3.7, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.006968/0.006967, allocations: 218.1 kB / 397.9 MB, free: 4.895 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.4966/0.4966, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.0004591, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09723, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.116/8.213, allocations: 2.538 GB / 3.145 GB, free: 85.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/8.214, allocations: 83.59 kB / 3.145 GB, free: 85.62 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 3.79/12, allocations: 0.6928 GB / 3.838 GB, free: 31.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/12, allocations: 0 / 3.838 GB, free: 31.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002256/12, allocations: 41.58 kB / 3.838 GB, free: 31.39 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01745/12.02, allocations: 2.772 MB / 3.841 GB, free: 30.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/12.02, allocations: 12.12 kB / 3.841 GB, free: 30.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0071/12.03, allocations: 0.5781 MB / 3.841 GB, free: 30 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/12.03, allocations: 1.091 MB / 3.842 GB, free: 29.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/12.03, allocations: 96.84 kB / 3.842 GB, free: 29.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000636/12.03, allocations: 109.1 kB / 3.842 GB, free: 29.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009256/12.04, allocations: 2.277 MB / 3.845 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/12.04, allocations: 6.281 kB / 3.845 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/12.04, allocations: 51.41 kB / 3.845 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001793/12.04, allocations: 81.84 kB / 3.845 GB, free: 29.31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/12.05, allocations: 2.387 MB / 3.847 GB, free: 29.3 MB / 458.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.01952/12.07, allocations: 8.926 MB / 3.856 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007352/12.08, allocations: 1.766 MB / 3.858 GB, free: 24.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/12.08, allocations: 0.7223 MB / 3.858 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05959/12.14, allocations: 18.75 MB / 3.877 GB, free: 28.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/12.14, allocations: 50.14 kB / 3.877 GB, free: 28.36 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001916/12.15, allocations: 201.8 kB / 3.877 GB, free: 28.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 4.619e-06/12.15, allocations: 0 / 3.877 GB, free: 28.3 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.1902/12.34, allocations: 16.51 MB / 3.893 GB, free: 27.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/12.34, allocations: 229.3 kB / 3.893 GB, free: 26.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/12.34, allocations: 0.8645 MB / 3.894 GB, free: 26.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007148/12.34, allocations: 52.67 kB / 3.894 GB, free: 26.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005482/12.34, allocations: 0.5858 MB / 3.895 GB, free: 26.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001004/12.34, allocations: 0.5371 MB / 3.895 GB, free: 25.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003342/12.34, allocations: 36.69 kB / 3.895 GB, free: 25.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/12.34, allocations: 375.8 kB / 3.896 GB, free: 25.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007597/12.35, allocations: 1.501 MB / 3.897 GB, free: 25.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008301/12.36, allocations: 1.964 MB / 3.899 GB, free: 25.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008232/12.36, allocations: 1.625 MB / 3.901 GB, free: 25.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/12.37, allocations: 3.344 kB / 3.901 GB, free: 25.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02478/12.39, allocations: 4.776 MB / 3.905 GB, free: 24.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/12.39, allocations: 457.9 kB / 3.906 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/12.39, allocations: 10.94 kB / 3.906 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1961/12.59, allocations: 8.872 MB / 3.914 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003474/12.59, allocations: 388.9 kB / 3.915 GB, free: 24.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02785/12.62, allocations: 5.128 MB / 3.92 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006385/12.62, allocations: 251.6 kB / 3.92 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007014/12.63, allocations: 130.6 kB / 3.92 GB, free: 22.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/12.63, allocations: 7.156 kB / 3.92 GB, free: 22.96 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02585/12.65, allocations: 4.545 MB / 3.925 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/12.65, allocations: 13.09 kB / 3.925 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/12.67, allocations: 3.017 MB / 3.927 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/12.68, allocations: 448.6 kB / 3.928 GB, free: 22.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/12.7, allocations: 4.498 MB / 3.932 GB, free: 21.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008091/12.71, allocations: 246.7 kB / 3.933 GB, free: 21.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/12.71, allocations: 133 kB / 3.933 GB, free: 21.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * 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 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.00324/12.71, allocations: 484.4 kB / 3.933 GB, free: 21.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009436/12.72, allocations: 139.3 kB / 3.933 GB, free: 21.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06304/12.78, allocations: 9.549 MB / 3.943 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/12.78, allocations: 66.36 kB / 3.943 GB, free: 20.36 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/12.78, allocations: 0 / 3.943 GB, free: 20.36 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.348e-05/12.78, allocations: 12.91 kB / 3.943 GB, free: 20.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06465/12.84, allocations: 12.46 MB / 3.955 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/12.84, allocations: 4 kB / 3.955 GB, free: 10.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/12.85, allocations: 281.2 kB / 3.955 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1587/13.01, allocations: 8.942 MB / 3.964 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006791/13.01, allocations: 72.44 kB / 3.964 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02955/13.04, allocations: 5.986 MB / 3.97 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/13.04, allocations: 6.062 kB / 3.97 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03875/13.07, allocations: 7.293 MB / 3.977 GB, free: 8.172 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002359/13.08, allocations: 0.6968 MB / 3.978 GB, free: 7.566 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006954/13.08, allocations: 39.84 kB / 3.978 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005626/13.08, allocations: 226.1 kB / 3.978 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006901/13.08, allocations: 128.8 kB / 3.978 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003995/13.08, allocations: 77.89 kB / 3.978 GB, free: 7.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002055/13.09, allocations: 0.7542 MB / 3.979 GB, free: 6.594 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.609e-06/13.09, allocations: 0 / 3.979 GB, free: 6.594 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01213/13.1, allocations: 2.258 MB / 3.981 GB, free: 4.379 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 106 * 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 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01432/13.11, allocations: 2.38 MB / 3.983 GB, free: 2.582 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4608/13.57, allocations: 6.973 MB / 3.99 GB, free: 59.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/13.57, allocations: 0.9062 kB / 3.99 GB, free: 59.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01704/13.59, allocations: 3.062 MB / 3.993 GB, free: 59.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006315/13.6, allocations: 0.6147 MB / 3.994 GB, free: 59.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1879/13.79, allocations: 80.05 MB / 4.072 GB, free: 53.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/13.79, allocations: 1.649 MB / 4.073 GB, free: 52.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005071/13.79, allocations: 1.459 MB / 4.075 GB, free: 52.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008123/13.79, allocations: 134 kB / 4.075 GB, free: 52.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.453e-06/13.79, allocations: 0 / 4.075 GB, free: 52.86 MB / 490.7 MB Notification: Performance of Templates: time 0.6169/14.41, allocations: 107.8 MB / 4.18 GB, free: 57.57 MB / 490.7 MB