Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Fluid.Examples.InverseParameterization.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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.061/1.061, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 8 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04714/0.04743, allocations: 25.16 MB / 183.5 MB, free: 5.996 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.479/3.527, allocations: 1.435 GB / 1.614 GB, free: 21.06 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/3.527, allocations: 71.47 kB / 1.614 GB, free: 21.03 MB / 234.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Fluid/Interfaces.mo:725:9-730:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 2.974/6.501, allocations: 0.6646 GB / 2.279 GB, free: 18.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.36e-05/6.501, allocations: 2.781 kB / 2.279 GB, free: 18.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001213/6.501, allocations: 43.58 kB / 2.279 GB, free: 18.46 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.01063/6.512, allocations: 2.642 MB / 2.282 GB, free: 17.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/6.512, allocations: 8.906 kB / 2.282 GB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/6.513, allocations: 149.2 kB / 2.282 GB, free: 17.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/6.515, allocations: 1.021 MB / 2.283 GB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/6.515, allocations: 91.42 kB / 2.283 GB, free: 16.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/6.516, allocations: 99.52 kB / 2.283 GB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/6.521, allocations: 2.106 MB / 2.285 GB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/6.521, allocations: 2.719 kB / 2.285 GB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/6.522, allocations: 48.33 kB / 2.285 GB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/6.522, allocations: 82.23 kB / 2.285 GB, free: 16.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006407/6.528, allocations: 2.502 MB / 2.287 GB, free: 16.39 MB / 282.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.01374/6.542, allocations: 9.056 MB / 2.296 GB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/6.546, allocations: 1.427 MB / 2.298 GB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5475/7.094, allocations: 134.3 MB / 2.429 GB, free: 5.629 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/7.094, allocations: 47.67 kB / 2.429 GB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001152/7.095, allocations: 197.6 kB / 2.429 GB, free: 5.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 5.831e-06/7.095, allocations: 0 / 2.429 GB, free: 5.582 MB / 314.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.0895/7.184, allocations: 14.76 MB / 2.444 GB, free: 4.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/7.185, allocations: 227.3 kB / 2.444 GB, free: 3.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/7.186, allocations: 0.745 MB / 2.444 GB, free: 3.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004398/7.186, allocations: 49.23 kB / 2.445 GB, free: 3.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/7.187, allocations: 0.5936 MB / 2.445 GB, free: 3.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006087/7.187, allocations: 0.5086 MB / 2.446 GB, free: 2.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/7.188, allocations: 31.12 kB / 2.446 GB, free: 2.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/7.188, allocations: 378.1 kB / 2.446 GB, free: 2.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004241/7.192, allocations: 1.402 MB / 2.447 GB, free: 2.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/7.196, allocations: 1.839 MB / 2.449 GB, free: 2.078 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004697/7.201, allocations: 1.559 MB / 2.451 GB, free: 2.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/7.201, allocations: 3.062 kB / 2.451 GB, free: 2.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.0223/7.224, allocations: 5.231 MB / 2.456 GB, free: 1.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/7.224, allocations: 9.344 kB / 2.456 GB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/7.224, allocations: 11.72 kB / 2.456 GB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05216/7.276, allocations: 6.131 MB / 2.462 GB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/7.278, allocations: 362.5 kB / 2.462 GB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/7.297, allocations: 9.843 MB / 2.472 GB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/7.3, allocations: 197.1 kB / 2.472 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006292/7.301, allocations: 126.2 kB / 2.472 GB, free: 9.594 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 () * Number of clocked 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.001268/7.302, allocations: 403.8 kB / 2.472 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/7.302, allocations: 130.4 kB / 2.473 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/7.322, allocations: 7.723 MB / 2.48 GB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/7.322, allocations: 54.48 kB / 2.48 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.703e-06/7.322, allocations: 1.594 kB / 2.48 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/7.322, allocations: 7.125 kB / 2.48 GB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2262/7.548, allocations: 11.72 MB / 2.492 GB, free: 63.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/7.548, allocations: 0.75 kB / 2.492 GB, free: 63.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/7.55, allocations: 256.1 kB / 2.492 GB, free: 63.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04206/7.592, allocations: 6.431 MB / 2.498 GB, free: 63.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004892/7.593, allocations: 69.28 kB / 2.498 GB, free: 63.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01748/7.61, allocations: 10.52 MB / 2.509 GB, free: 57.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-06/7.61, allocations: 4.688 kB / 2.509 GB, free: 57.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/7.626, allocations: 6.571 MB / 2.515 GB, free: 56.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/7.627, allocations: 0.6253 MB / 2.516 GB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004544/7.628, allocations: 32.97 kB / 2.516 GB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/7.63, allocations: 186.4 kB / 2.516 GB, free: 56.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/7.631, allocations: 136.7 kB / 2.516 GB, free: 56.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/7.631, allocations: 83.62 kB / 2.516 GB, free: 56.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001005/7.632, allocations: 0.5717 MB / 2.517 GB, free: 56.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.473e-06/7.632, allocations: 0 / 2.517 GB, free: 56.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007366/7.639, allocations: 1.966 MB / 2.518 GB, free: 56.54 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 () * Number of clocked 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.01067/7.65, allocations: 2.56 MB / 2.521 GB, free: 56.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/7.666, allocations: 4.51 MB / 2.525 GB, free: 56.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/7.666, allocations: 4.094 kB / 2.525 GB, free: 56.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01025/7.676, allocations: 3.075 MB / 2.528 GB, free: 56.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/7.68, allocations: 0.6031 MB / 2.529 GB, free: 56.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/7.691, allocations: 5.888 MB / 2.535 GB, free: 54.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/7.692, allocations: 1.509 MB / 2.536 GB, free: 53.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/7.693, allocations: 151.4 kB / 2.536 GB, free: 53.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.075e-06/7.693, allocations: 0 / 2.536 GB, free: 53.55 MB / 330.7 MB Notification: Performance of Templates: time 0.4224/8.115, allocations: 132.4 MB / 2.666 GB, free: 52.5 MB / 330.7 MB