Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.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_turbulent,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_turbulent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004167/0.004166, allocations: 347.1 kB / 15.93 MB, free: 6.223 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.435/3.435, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003516/0.003516, allocations: 220.4 kB / 397.8 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4879/0.4879, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09113, allocations: 48.7 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.903/7.994, allocations: 2.538 GB / 3.145 GB, free: 51.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/7.994, allocations: 79.28 kB / 3.145 GB, free: 51.91 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.72/11.71, allocations: 0.6928 GB / 3.838 GB, free: 32.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.655e-06/11.71, allocations: 0 / 3.838 GB, free: 32.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001654/11.71, allocations: 35.31 kB / 3.838 GB, free: 32.94 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.01615/11.73, allocations: 2.776 MB / 3.841 GB, free: 31.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/11.73, allocations: 10.47 kB / 3.841 GB, free: 31.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006985/11.74, allocations: 0.5779 MB / 3.841 GB, free: 31.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004014/11.74, allocations: 1.093 MB / 3.842 GB, free: 30.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/11.74, allocations: 89.89 kB / 3.842 GB, free: 30.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/11.74, allocations: 108.6 kB / 3.842 GB, free: 30.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008745/11.75, allocations: 2.279 MB / 3.845 GB, free: 29.62 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.585e-05/11.75, allocations: 7.812 kB / 3.845 GB, free: 29.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/11.75, allocations: 47.72 kB / 3.845 GB, free: 29.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/11.75, allocations: 83.59 kB / 3.845 GB, free: 29.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009802/11.76, allocations: 2.391 MB / 3.847 GB, free: 28.84 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.01756/11.78, allocations: 8.93 MB / 3.856 GB, free: 22.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007235/11.79, allocations: 1.758 MB / 3.858 GB, free: 21.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/11.79, allocations: 0.7304 MB / 3.858 GB, free: 21.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05674/11.85, allocations: 18.76 MB / 3.877 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/11.85, allocations: 51.56 kB / 3.877 GB, free: 4.223 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001917/11.85, allocations: 202.5 kB / 3.877 GB, free: 4.055 MB / 458.7 MB Notification: Performance of pre-optimization done (n=109): time 5.84e-06/11.85, allocations: 0 / 3.877 GB, free: 4.055 MB / 458.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.1934/12.04, allocations: 16.51 MB / 3.893 GB, free: 3.832 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/12.04, allocations: 230.9 kB / 3.893 GB, free: 3.559 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/12.04, allocations: 0.8649 MB / 3.894 GB, free: 2.672 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006745/12.04, allocations: 53.7 kB / 3.894 GB, free: 2.613 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/12.04, allocations: 0.59 MB / 3.895 GB, free: 2.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009392/12.04, allocations: 0.5298 MB / 3.895 GB, free: 1.496 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/12.05, allocations: 32 kB / 3.895 GB, free: 1.465 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/12.05, allocations: 385.8 kB / 3.896 GB, free: 1.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3859/12.43, allocations: 1.498 MB / 3.897 GB, free: 49.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008433/12.44, allocations: 1.962 MB / 3.899 GB, free: 49.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/12.45, allocations: 1.621 MB / 3.901 GB, free: 49.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/12.45, allocations: 3.406 kB / 3.901 GB, free: 49.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02549/12.47, allocations: 4.764 MB / 3.905 GB, free: 49.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003311/12.47, allocations: 454.5 kB / 3.906 GB, free: 48.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/12.47, allocations: 13.58 kB / 3.906 GB, free: 48.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2161/12.69, allocations: 8.876 MB / 3.914 GB, free: 48.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/12.69, allocations: 390.7 kB / 3.915 GB, free: 48.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/12.72, allocations: 5.126 MB / 3.92 GB, free: 47.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/12.73, allocations: 246.8 kB / 3.92 GB, free: 47.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007862/12.73, allocations: 126.6 kB / 3.92 GB, free: 47.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/12.73, allocations: 3.469 kB / 3.92 GB, free: 47.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02642/12.76, allocations: 4.551 MB / 3.924 GB, free: 47.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/12.76, allocations: 12.94 kB / 3.925 GB, free: 47.76 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02103/12.78, allocations: 3.004 MB / 3.927 GB, free: 47.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/12.78, allocations: 461.3 kB / 3.928 GB, free: 47.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02537/12.81, allocations: 4.497 MB / 3.932 GB, free: 46.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006394/12.81, allocations: 251.5 kB / 3.933 GB, free: 46.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000902/12.81, allocations: 124.7 kB / 3.933 GB, free: 46.7 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.002133/12.82, allocations: 482.2 kB / 3.933 GB, free: 46.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/12.82, allocations: 143.3 kB / 3.933 GB, free: 46.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04177/12.86, allocations: 9.546 MB / 3.943 GB, free: 46.07 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001076/12.86, allocations: 64.97 kB / 3.943 GB, free: 46.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/12.86, allocations: 0 / 3.943 GB, free: 46.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.642e-05/12.86, allocations: 12.56 kB / 3.943 GB, free: 46.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04459/12.9, allocations: 12.47 MB / 3.955 GB, free: 45.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-05/12.9, allocations: 8.219 kB / 3.955 GB, free: 45.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002545/12.91, allocations: 280.1 kB / 3.955 GB, free: 45.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1544/13.06, allocations: 8.937 MB / 3.964 GB, free: 45.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006363/13.06, allocations: 67.5 kB / 3.964 GB, free: 45.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02702/13.09, allocations: 5.968 MB / 3.97 GB, free: 44.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/13.09, allocations: 3.781 kB / 3.97 GB, free: 44.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03596/13.12, allocations: 7.29 MB / 3.977 GB, free: 43.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/13.13, allocations: 0.6898 MB / 3.977 GB, free: 43.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006654/13.13, allocations: 36.19 kB / 3.978 GB, free: 43.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005195/13.13, allocations: 226.1 kB / 3.978 GB, free: 43.33 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/13.13, allocations: 135.8 kB / 3.978 GB, free: 43.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003379/13.13, allocations: 79.38 kB / 3.978 GB, free: 43.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001451/13.13, allocations: 0.7519 MB / 3.979 GB, free: 43.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/13.13, allocations: 0 / 3.979 GB, free: 43.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01078/13.15, allocations: 2.253 MB / 3.981 GB, free: 43.21 MB / 474.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.01357/13.16, allocations: 2.392 MB / 3.983 GB, free: 42.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04118/13.2, allocations: 6.705 MB / 3.99 GB, free: 42.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/13.2, allocations: 1.875 kB / 3.99 GB, free: 42.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01693/13.22, allocations: 3.061 MB / 3.993 GB, free: 42.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006263/13.22, allocations: 0.6138 MB / 3.993 GB, free: 42.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1877/13.41, allocations: 80.05 MB / 4.072 GB, free: 15.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/13.41, allocations: 1.653 MB / 4.073 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005301/13.42, allocations: 1.475 MB / 4.075 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.369/13.79, allocations: 153.4 kB / 4.075 GB, free: 61.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.322e-06/13.79, allocations: 1.844 kB / 4.075 GB, free: 61.31 MB / 490.7 MB Notification: Performance of Templates: time 0.2161/14, allocations: 107.8 MB / 4.18 GB, free: 48.88 MB / 490.7 MB