Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.069/1.069, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002736, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0568/0.0571, allocations: 25.17 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.314/4.371, allocations: 1.435 GB / 1.615 GB, free: 3.832 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/4.371, allocations: 71.53 kB / 1.615 GB, free: 3.797 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.985/8.356, allocations: 0.6646 GB / 2.279 GB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.467e-06/8.356, allocations: 0 / 2.279 GB, free: 16.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001745/8.356, allocations: 34.3 kB / 2.279 GB, free: 16.76 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.01527/8.372, allocations: 2.653 MB / 2.282 GB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/8.372, allocations: 8.938 kB / 2.282 GB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009956/8.373, allocations: 157.3 kB / 2.282 GB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/8.376, allocations: 1.018 MB / 2.283 GB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/8.377, allocations: 90.73 kB / 2.283 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/8.377, allocations: 98.81 kB / 2.283 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006959/8.384, allocations: 2.107 MB / 2.285 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/8.384, allocations: 4.031 kB / 2.285 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/8.384, allocations: 49.39 kB / 2.285 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/8.385, allocations: 83.02 kB / 2.286 GB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008707/8.393, allocations: 2.499 MB / 2.288 GB, free: 14.68 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.01865/8.412, allocations: 9.057 MB / 2.297 GB, free: 9.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/8.417, allocations: 1.43 MB / 2.298 GB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6915/9.109, allocations: 134.3 MB / 2.429 GB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/9.109, allocations: 47.34 kB / 2.429 GB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001548/9.11, allocations: 189.9 kB / 2.43 GB, free: 6.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 6.111e-06/9.11, allocations: 0 / 2.43 GB, free: 6.656 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.1476/9.258, allocations: 14.76 MB / 2.444 GB, free: 4.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/9.258, allocations: 231.5 kB / 2.444 GB, free: 3.859 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/9.26, allocations: 0.8474 MB / 2.445 GB, free: 3.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000667/9.261, allocations: 55.89 kB / 2.445 GB, free: 3.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/9.261, allocations: 0.5867 MB / 2.446 GB, free: 2.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/9.263, allocations: 0.5107 MB / 2.446 GB, free: 2.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/9.263, allocations: 35.75 kB / 2.446 GB, free: 2.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/9.263, allocations: 373.6 kB / 2.447 GB, free: 2.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006131/9.269, allocations: 1.404 MB / 2.448 GB, free: 1.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006826/9.276, allocations: 1.855 MB / 2.45 GB, free: 292 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2629/9.539, allocations: 1.738 MB / 2.451 GB, free: 64.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/9.539, allocations: 5.281 kB / 2.451 GB, free: 64.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.04661/9.586, allocations: 5.223 MB / 2.457 GB, free: 64.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/9.586, allocations: 13.66 kB / 2.457 GB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/9.586, allocations: 10.84 kB / 2.457 GB, free: 64.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08795/9.674, allocations: 6.123 MB / 2.463 GB, free: 64.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/9.677, allocations: 356.6 kB / 2.463 GB, free: 64.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/9.701, allocations: 9.852 MB / 2.473 GB, free: 58.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004832/9.706, allocations: 206.2 kB / 2.473 GB, free: 58.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006627/9.707, allocations: 124.6 kB / 2.473 GB, free: 58.6 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.001483/9.708, allocations: 399.2 kB / 2.473 GB, free: 58.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/9.709, allocations: 132.2 kB / 2.473 GB, free: 58.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/9.733, allocations: 7.72 MB / 2.481 GB, free: 58.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-05/9.733, allocations: 51.86 kB / 2.481 GB, free: 58.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/9.733, allocations: 4.25 kB / 2.481 GB, free: 58.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.612e-05/9.733, allocations: 9.516 kB / 2.481 GB, free: 58.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03506/9.768, allocations: 11.82 MB / 2.493 GB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/9.768, allocations: 0 / 2.493 GB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/9.771, allocations: 255.6 kB / 2.493 GB, free: 57.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07408/9.845, allocations: 6.427 MB / 2.499 GB, free: 57.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007353/9.845, allocations: 63.03 kB / 2.499 GB, free: 57.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0309/9.876, allocations: 10.53 MB / 2.509 GB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/9.876, allocations: 4.781 kB / 2.509 GB, free: 51.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02577/9.902, allocations: 6.682 MB / 2.516 GB, free: 50.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/9.904, allocations: 0.6313 MB / 2.517 GB, free: 50.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007492/9.905, allocations: 35.67 kB / 2.517 GB, free: 50.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004038/9.909, allocations: 185.8 kB / 2.517 GB, free: 50.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005855/9.91, allocations: 136.9 kB / 2.517 GB, free: 50.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003537/9.91, allocations: 79.2 kB / 2.517 GB, free: 50.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001189/9.911, allocations: 0.5734 MB / 2.517 GB, free: 50.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.144e-06/9.911, allocations: 0 / 2.517 GB, free: 50.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.009236/9.921, allocations: 1.961 MB / 2.519 GB, free: 50.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 () * 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.01382/9.935, allocations: 2.571 MB / 2.522 GB, free: 49.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02186/9.956, allocations: 4.53 MB / 2.526 GB, free: 49.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/9.956, allocations: 2.969 kB / 2.526 GB, free: 49.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01723/9.974, allocations: 3.062 MB / 2.529 GB, free: 48.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009148/9.983, allocations: 0.5858 MB / 2.53 GB, free: 48.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/9.998, allocations: 5.906 MB / 2.536 GB, free: 45.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/9.999, allocations: 1.504 MB / 2.537 GB, free: 44.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009313/10, allocations: 155.8 kB / 2.537 GB, free: 44.65 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/10, allocations: 0 / 2.537 GB, free: 44.65 MB / 330.7 MB Notification: Performance of Templates: time 0.5757/10.58, allocations: 132.5 MB / 2.667 GB, free: 13.49 MB / 330.7 MB