Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.235/2.235, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.608e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2743, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.578/6.852, allocations: 2.648 GB / 2.998 GB, free: 70.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/6.853, allocations: 75.45 kB / 2.998 GB, free: 70.11 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.297/10.15, allocations: 0.737 GB / 3.735 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.176e-06/10.15, allocations: 0 / 3.735 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001343/10.15, allocations: 39.41 kB / 3.735 GB, free: 45.53 MB / 0.4948 GB 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.01138/10.16, allocations: 2.712 MB / 3.738 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/10.16, allocations: 7.219 kB / 3.738 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005932/10.17, allocations: 0.5967 MB / 3.738 GB, free: 44.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/10.17, allocations: 1.085 MB / 3.739 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/10.17, allocations: 49.75 kB / 3.739 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/10.17, allocations: 63.19 kB / 3.739 GB, free: 43.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004016/10.17, allocations: 1.743 MB / 3.741 GB, free: 43.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/10.18, allocations: 1.54 MB / 3.743 GB, free: 43.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/10.18, allocations: 7.844 kB / 3.743 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/10.18, allocations: 3.938 kB / 3.743 GB, free: 43.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/10.18, allocations: 83.52 kB / 3.743 GB, free: 43.35 MB / 0.4948 GB 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.6819/10.86, allocations: 136.7 MB / 3.876 GB, free: 33.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/10.86, allocations: 1.049 MB / 3.877 GB, free: 33.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/10.87, allocations: 0.5318 MB / 3.878 GB, free: 33.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03669/10.9, allocations: 17.43 MB / 3.895 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/10.9, allocations: 43.84 kB / 3.895 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/10.9, allocations: 178.2 kB / 3.895 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=91): time 8.961e-06/10.9, allocations: 0 / 3.895 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=129): time 0.07668/10.98, allocations: 9.736 MB / 3.905 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/10.98, allocations: 220.2 kB / 3.905 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/10.98, allocations: 0.7491 MB / 3.905 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004232/10.98, allocations: 25.7 kB / 3.906 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/10.98, allocations: 0.651 MB / 3.906 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/10.98, allocations: 434.6 kB / 3.907 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/10.98, allocations: 1.969 kB / 3.907 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001277/10.98, allocations: 375.5 kB / 3.907 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/10.99, allocations: 1.261 MB / 3.908 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003135/10.99, allocations: 1.702 MB / 3.91 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009221/11, allocations: 1.895 MB / 3.912 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/11, allocations: 2.688 kB / 3.912 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01652/11.02, allocations: 4.61 MB / 3.916 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001905/11.02, allocations: 4.788 MB / 3.921 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/11.02, allocations: 11.75 kB / 3.921 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0163/11.03, allocations: 3.963 MB / 3.925 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/11.04, allocations: 326.4 kB / 3.925 GB, free: 30.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/11.05, allocations: 5.752 MB / 3.931 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/11.06, allocations: 280.3 kB / 3.931 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006626/11.06, allocations: 118.4 kB / 3.931 GB, free: 29.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/11.06, allocations: 7.578 kB / 3.931 GB, free: 29.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01366/11.07, allocations: 2.906 MB / 3.934 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.247e-05/11.07, allocations: 14.28 kB / 3.934 GB, free: 29.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002839/11.08, allocations: 0.5648 MB / 3.934 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/11.08, allocations: 458.9 kB / 3.935 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/11.08, allocations: 1.787 MB / 3.937 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/11.08, allocations: 187.5 kB / 3.937 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/11.09, allocations: 99.62 kB / 3.937 GB, free: 28.2 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real 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,pump.heatTransfer.states[1].phase,source.medium.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009318/11.09, allocations: 167.8 kB / 3.937 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005416/11.09, allocations: 131 kB / 3.937 GB, free: 28.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/11.1, allocations: 6.669 MB / 3.944 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/11.1, allocations: 36.5 kB / 3.944 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.657e-06/11.1, allocations: 0 / 3.944 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-05/11.1, allocations: 7.219 kB / 3.944 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/11.13, allocations: 8.989 MB / 3.953 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/11.13, allocations: 3.688 kB / 3.953 GB, free: 27.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/11.13, allocations: 147.6 kB / 3.953 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/11.14, allocations: 5.246 MB / 3.958 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004546/11.14, allocations: 43.19 kB / 3.958 GB, free: 26.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01732/11.16, allocations: 6.887 MB / 3.965 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/11.16, allocations: 7.578 kB / 3.965 GB, free: 25.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/11.17, allocations: 5.655 MB / 3.97 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/11.18, allocations: 0.6242 MB / 3.971 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/11.18, allocations: 2.625 kB / 3.971 GB, free: 24.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003745/11.18, allocations: 202.7 kB / 3.971 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004437/11.18, allocations: 95.59 kB / 3.971 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/11.18, allocations: 67.06 kB / 3.971 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00155/11.18, allocations: 0.7846 MB / 3.972 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.213e-06/11.18, allocations: 0 / 3.972 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009189/11.19, allocations: 2.059 MB / 3.974 GB, free: 24.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/11.2, allocations: 2.486 MB / 3.976 GB, free: 22.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01512/11.22, allocations: 4.787 MB / 3.981 GB, free: 20.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.04e-06/11.22, allocations: 0 / 3.981 GB, free: 20.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008662/11.23, allocations: 2.166 MB / 3.983 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/11.23, allocations: 495.6 kB / 3.984 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007794/11.24, allocations: 3.448 MB / 3.987 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/11.24, allocations: 1.458 MB / 3.988 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/11.24, allocations: 120 kB / 3.988 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.907e-06/11.24, allocations: 0 / 3.988 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.4549/11.7, allocations: 69.41 MB / 4.056 GB, free: 73.46 MB / 0.5261 GB