Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.049/1.049, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.872e-05/2.887e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 25.15 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.302/3.448, allocations: 1.435 GB / 1.607 GB, free: 15.44 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/3.448, allocations: 62.91 kB / 1.607 GB, free: 15.41 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:725:9-730:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:335:3-337: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.15/6.599, allocations: 0.6623 GB / 2.27 GB, free: 19.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.985e-06/6.599, allocations: 0 / 2.27 GB, free: 19.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000123/6.599, allocations: 39.67 kB / 2.27 GB, free: 19.42 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01031/6.609, allocations: 2.509 MB / 2.272 GB, free: 18.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/6.609, allocations: 7.562 kB / 2.272 GB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/6.61, allocations: 155.4 kB / 2.272 GB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/6.613, allocations: 1.015 MB / 2.273 GB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/6.613, allocations: 88.52 kB / 2.273 GB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/6.613, allocations: 107.2 kB / 2.274 GB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004945/6.618, allocations: 2.005 MB / 2.276 GB, free: 17.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/6.618, allocations: 6.969 kB / 2.276 GB, free: 17.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/6.618, allocations: 44.88 kB / 2.276 GB, free: 17.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/6.619, allocations: 82.3 kB / 2.276 GB, free: 17.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/6.624, allocations: 2.297 MB / 2.278 GB, free: 17.45 MB / 282.7 MB 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.01449/6.639, allocations: 9.058 MB / 2.287 GB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/6.642, allocations: 1.251 MB / 2.288 GB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/6.643, allocations: 0.6552 MB / 2.289 GB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5186/7.162, allocations: 134.9 MB / 2.42 GB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/7.162, allocations: 47.94 kB / 2.42 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/7.163, allocations: 195.9 kB / 2.421 GB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 5.642e-06/7.163, allocations: 0 / 2.421 GB, free: 10.78 MB / 330.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=152): time 0.06358/7.227, allocations: 9.971 MB / 2.43 GB, free: 10.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/7.227, allocations: 227.1 kB / 2.43 GB, free: 9.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/7.228, allocations: 0.7292 MB / 2.431 GB, free: 9.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004539/7.229, allocations: 48.39 kB / 2.431 GB, free: 9.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/7.229, allocations: 0.5963 MB / 2.432 GB, free: 9.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006781/7.23, allocations: 0.5123 MB / 2.432 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/7.23, allocations: 34.09 kB / 2.432 GB, free: 8.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002383/7.231, allocations: 377.3 kB / 2.433 GB, free: 8.637 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/7.233, allocations: 1.194 MB / 2.434 GB, free: 8.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/7.237, allocations: 1.633 MB / 2.435 GB, free: 8.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/7.24, allocations: 1.356 MB / 2.437 GB, free: 8.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/7.24, allocations: 3.594 kB / 2.437 GB, free: 8.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.01917/7.259, allocations: 4.623 MB / 2.441 GB, free: 5.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/7.259, allocations: 11.47 kB / 2.441 GB, free: 5.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/7.259, allocations: 12 kB / 2.441 GB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04941/7.309, allocations: 5.755 MB / 2.447 GB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/7.311, allocations: 362.3 kB / 2.447 GB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2181/7.529, allocations: 9.352 MB / 2.456 GB, free: 61.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/7.533, allocations: 198.7 kB / 2.457 GB, free: 61.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/7.533, allocations: 127 kB / 2.457 GB, free: 61.55 MB / 330.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: 11 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,orifice.state_b.phase,orifice.state_a.phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {5 19,5 31,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006488/7.534, allocations: 215.6 kB / 2.457 GB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005106/7.534, allocations: 133 kB / 2.457 GB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/7.549, allocations: 7.16 MB / 2.464 GB, free: 61.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.749e-05/7.549, allocations: 51.06 kB / 2.464 GB, free: 61.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/7.549, allocations: 2.438 kB / 2.464 GB, free: 61.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.996e-05/7.549, allocations: 11.67 kB / 2.464 GB, free: 61.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02285/7.572, allocations: 11.14 MB / 2.475 GB, free: 60.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/7.572, allocations: 1.422 kB / 2.475 GB, free: 60.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/7.574, allocations: 249.5 kB / 2.475 GB, free: 60.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0386/7.613, allocations: 6.439 MB / 2.482 GB, free: 60.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004791/7.613, allocations: 65.38 kB / 2.482 GB, free: 60.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/7.633, allocations: 10.05 MB / 2.491 GB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/7.633, allocations: 4.234 kB / 2.491 GB, free: 54.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/7.654, allocations: 6.009 MB / 2.497 GB, free: 53.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002723/7.657, allocations: 0.6307 MB / 2.498 GB, free: 53.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000914/7.658, allocations: 30.5 kB / 2.498 GB, free: 53.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005008/7.663, allocations: 185.8 kB / 2.498 GB, free: 53.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008138/7.664, allocations: 139 kB / 2.498 GB, free: 53.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005506/7.664, allocations: 76.91 kB / 2.498 GB, free: 53.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00172/7.666, allocations: 0.5624 MB / 2.499 GB, free: 53.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.441e-06/7.666, allocations: 0 / 2.499 GB, free: 53.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.01179/7.678, allocations: 1.966 MB / 2.501 GB, free: 53.21 MB / 330.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: 29 ($cse1.phase,$cse1.region,$cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse31.phase,$cse34.phase,$cse39.phase,$cse39.region,$cse42.phase,$cse42.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {5 17,1 1,6 42,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01561/7.694, allocations: 2.586 MB / 2.503 GB, free: 52.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02085/7.714, allocations: 4.076 MB / 2.507 GB, free: 52.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.162e-06/7.715, allocations: 2.438 kB / 2.507 GB, free: 52.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01468/7.729, allocations: 2.862 MB / 2.51 GB, free: 52.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006789/7.736, allocations: 0.5911 MB / 2.511 GB, free: 52.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/7.751, allocations: 4.13 MB / 2.515 GB, free: 52.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/7.753, allocations: 1.507 MB / 2.516 GB, free: 51.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/7.755, allocations: 146.5 kB / 2.516 GB, free: 51.32 MB / 330.7 MB Notification: Performance of SimCode: time 4.758e-06/7.755, allocations: 7.625 kB / 2.516 GB, free: 51.31 MB / 330.7 MB Notification: Performance of Templates: time 0.4073/8.162, allocations: 132.2 MB / 2.645 GB, free: 34.51 MB / 330.7 MB