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 0.951/0.951, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.138e-05, allocations: 0 / 154.3 MB, free: 13.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 25.14 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.341/3.481, allocations: 1.435 GB / 1.61 GB, free: 44.51 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/3.481, allocations: 71.09 kB / 1.61 GB, free: 44.51 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 3.031/6.512, allocations: 0.6623 GB / 2.273 GB, free: 17 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.596e-06/6.513, allocations: 0.9844 kB / 2.273 GB, free: 17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001294/6.513, allocations: 37.31 kB / 2.273 GB, free: 17 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.01059/6.523, allocations: 2.51 MB / 2.275 GB, free: 15.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/6.523, allocations: 8.875 kB / 2.275 GB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/6.524, allocations: 152.7 kB / 2.275 GB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/6.527, allocations: 1.004 MB / 2.276 GB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/6.527, allocations: 95.47 kB / 2.276 GB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/6.527, allocations: 102.8 kB / 2.276 GB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004585/6.532, allocations: 2.028 MB / 2.278 GB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/6.532, allocations: 1.5 kB / 2.278 GB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/6.532, allocations: 46.36 kB / 2.278 GB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/6.532, allocations: 81.28 kB / 2.278 GB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005368/6.537, allocations: 2.315 MB / 2.281 GB, free: 15.07 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.01344/6.551, allocations: 9.04 MB / 2.29 GB, free: 9.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/6.554, allocations: 1.279 MB / 2.291 GB, free: 9.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/6.555, allocations: 0.6585 MB / 2.291 GB, free: 9.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5135/7.069, allocations: 134.9 MB / 2.423 GB, free: 37.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/7.069, allocations: 46.48 kB / 2.423 GB, free: 37.76 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001331/7.07, allocations: 194.6 kB / 2.423 GB, free: 37.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 5.449e-06/7.07, allocations: 0.75 kB / 2.423 GB, free: 37.75 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.07451/7.145, allocations: 9.955 MB / 2.433 GB, free: 37.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/7.145, allocations: 233 kB / 2.433 GB, free: 36.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/7.148, allocations: 0.7263 MB / 2.434 GB, free: 36.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007743/7.149, allocations: 52.64 kB / 2.434 GB, free: 36.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007408/7.15, allocations: 0.5891 MB / 2.435 GB, free: 36.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/7.151, allocations: 0.5103 MB / 2.435 GB, free: 35.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005173/7.151, allocations: 32.16 kB / 2.435 GB, free: 35.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002428/7.152, allocations: 380.1 kB / 2.436 GB, free: 35.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02202/7.174, allocations: 1.195 MB / 2.437 GB, free: 35.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006938/7.181, allocations: 1.645 MB / 2.438 GB, free: 35.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006833/7.188, allocations: 1.357 MB / 2.44 GB, free: 35.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/7.188, allocations: 2.75 kB / 2.44 GB, free: 35.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.03895/7.227, allocations: 4.663 MB / 2.444 GB, free: 34.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/7.227, allocations: 9.75 kB / 2.444 GB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/7.227, allocations: 19.03 kB / 2.444 GB, free: 34.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05416/7.281, allocations: 5.749 MB / 2.45 GB, free: 34.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/7.283, allocations: 365.5 kB / 2.45 GB, free: 34.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/7.297, allocations: 9.382 MB / 2.459 GB, free: 28.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003621/7.301, allocations: 197.1 kB / 2.46 GB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005128/7.301, allocations: 121.7 kB / 2.46 GB, free: 28.57 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.0006669/7.302, allocations: 212.6 kB / 2.46 GB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/7.303, allocations: 132.1 kB / 2.46 GB, free: 28.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/7.317, allocations: 7.157 MB / 2.467 GB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.458e-05/7.318, allocations: 58.75 kB / 2.467 GB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/7.318, allocations: 0 / 2.467 GB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/7.318, allocations: 11.58 kB / 2.467 GB, free: 27.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/7.34, allocations: 11.13 MB / 2.478 GB, free: 26.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/7.34, allocations: 0 / 2.478 GB, free: 26.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/7.341, allocations: 254.4 kB / 2.478 GB, free: 26.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2389/7.58, allocations: 6.456 MB / 2.484 GB, free: 62.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005011/7.581, allocations: 68.27 kB / 2.485 GB, free: 62.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/7.595, allocations: 10.05 MB / 2.494 GB, free: 56.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/7.595, allocations: 1.344 kB / 2.494 GB, free: 56.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/7.607, allocations: 6.008 MB / 2.5 GB, free: 56.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/7.609, allocations: 0.6329 MB / 2.501 GB, free: 56.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/7.609, allocations: 31.12 kB / 2.501 GB, free: 56.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/7.612, allocations: 183.5 kB / 2.501 GB, free: 56.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/7.613, allocations: 137.5 kB / 2.501 GB, free: 56.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/7.613, allocations: 77.62 kB / 2.501 GB, free: 56.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001041/7.614, allocations: 0.5657 MB / 2.502 GB, free: 56.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.53e-07/7.614, allocations: 0.75 kB / 2.502 GB, free: 56.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.007504/7.621, allocations: 1.967 MB / 2.504 GB, free: 56.16 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.01069/7.632, allocations: 2.562 MB / 2.506 GB, free: 55.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/7.645, allocations: 4.101 MB / 2.51 GB, free: 55.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.526e-06/7.645, allocations: 0 / 2.51 GB, free: 55.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009576/7.655, allocations: 2.88 MB / 2.513 GB, free: 55.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/7.659, allocations: 0.595 MB / 2.514 GB, free: 55.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008529/7.668, allocations: 4.136 MB / 2.518 GB, free: 55.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/7.669, allocations: 1.507 MB / 2.519 GB, free: 54.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/7.67, allocations: 149.4 kB / 2.519 GB, free: 54.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.702e-06/7.67, allocations: 0 / 2.519 GB, free: 54.45 MB / 330.7 MB Notification: Performance of Templates: time 0.3925/8.062, allocations: 132.1 MB / 2.648 GB, free: 56.27 MB / 330.7 MB