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: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.003/1.003, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.38e-05, allocations: 4 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 25.15 MB / 179.5 MB, free: 0.8242 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/4.335, allocations: 1.435 GB / 1.61 GB, free: 30.89 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/4.335, allocations: 61.22 kB / 1.61 GB, free: 30.86 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.657/7.992, allocations: 0.6623 GB / 2.273 GB, free: 17.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.126e-06/7.992, allocations: 3 kB / 2.273 GB, free: 17.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001427/7.992, allocations: 37.09 kB / 2.273 GB, free: 17.12 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.01445/8.007, allocations: 2.505 MB / 2.275 GB, free: 15.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/8.007, allocations: 13.34 kB / 2.275 GB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006141/8.008, allocations: 163 kB / 2.275 GB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006486/8.008, allocations: 154.4 kB / 2.275 GB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/8.012, allocations: 1.014 MB / 2.276 GB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/8.012, allocations: 90.12 kB / 2.277 GB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004604/8.013, allocations: 104.1 kB / 2.277 GB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005944/8.019, allocations: 2.023 MB / 2.279 GB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/8.019, allocations: 1.594 kB / 2.279 GB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/8.019, allocations: 49.47 kB / 2.279 GB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/8.019, allocations: 80 kB / 2.279 GB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006742/8.026, allocations: 2.322 MB / 2.281 GB, free: 15.12 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.01898/8.045, allocations: 9.046 MB / 2.29 GB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/8.049, allocations: 1.275 MB / 2.291 GB, free: 10 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/8.051, allocations: 0.6557 MB / 2.292 GB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6777/8.728, allocations: 134.9 MB / 2.423 GB, free: 6.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/8.729, allocations: 48.69 kB / 2.423 GB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001561/8.73, allocations: 191.2 kB / 2.424 GB, free: 6.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 7.174e-06/8.73, allocations: 4 kB / 2.424 GB, free: 6.23 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.1086/8.839, allocations: 9.952 MB / 2.433 GB, free: 5.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/8.839, allocations: 222.8 kB / 2.434 GB, free: 5.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/8.841, allocations: 0.7341 MB / 2.434 GB, free: 5.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007121/8.842, allocations: 52.61 kB / 2.434 GB, free: 5.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005767/8.842, allocations: 0.5964 MB / 2.435 GB, free: 4.723 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009894/8.843, allocations: 0.5134 MB / 2.435 GB, free: 4.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/8.844, allocations: 35.22 kB / 2.435 GB, free: 4.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/8.844, allocations: 372.5 kB / 2.436 GB, free: 4.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/8.849, allocations: 1.195 MB / 2.437 GB, free: 4.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005003/8.854, allocations: 1.652 MB / 2.439 GB, free: 3.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/8.859, allocations: 1.35 MB / 2.44 GB, free: 3.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.05e-05/8.859, allocations: 3.375 kB / 2.44 GB, free: 3.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.02929/8.888, allocations: 4.66 MB / 2.444 GB, free: 3.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/8.888, allocations: 11.19 kB / 2.444 GB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/8.888, allocations: 13.78 kB / 2.444 GB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07853/8.967, allocations: 5.751 MB / 2.45 GB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/8.97, allocations: 357.2 kB / 2.45 GB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01922/8.989, allocations: 9.379 MB / 2.46 GB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004885/8.994, allocations: 205.9 kB / 2.46 GB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007369/8.995, allocations: 124.2 kB / 2.46 GB, free: 13.01 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.0007829/8.996, allocations: 211.1 kB / 2.46 GB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/8.996, allocations: 132.4 kB / 2.46 GB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/9.015, allocations: 7.156 MB / 2.467 GB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.79e-05/9.015, allocations: 52.52 kB / 2.467 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/9.015, allocations: 0 / 2.467 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.564e-05/9.015, allocations: 13.42 kB / 2.467 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/9.044, allocations: 11.14 MB / 2.478 GB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-05/9.044, allocations: 0 / 2.478 GB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/9.046, allocations: 253.3 kB / 2.478 GB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06118/9.108, allocations: 6.442 MB / 2.485 GB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006301/9.108, allocations: 67.28 kB / 2.485 GB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2635/9.372, allocations: 10.06 MB / 2.495 GB, free: 58.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/9.372, allocations: 0 / 2.495 GB, free: 58.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0135/9.385, allocations: 6.012 MB / 2.5 GB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/9.387, allocations: 0.6315 MB / 2.501 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/9.388, allocations: 30.06 kB / 2.501 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/9.392, allocations: 180.3 kB / 2.501 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004837/9.392, allocations: 143.9 kB / 2.501 GB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003213/9.392, allocations: 75.56 kB / 2.502 GB, free: 57.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001147/9.394, allocations: 0.5613 MB / 2.502 GB, free: 57.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/9.394, allocations: 0 / 2.502 GB, free: 57.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.008794/9.402, allocations: 1.965 MB / 2.504 GB, free: 57.59 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.02658/9.429, allocations: 8.531 MB / 2.512 GB, free: 56.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01733/9.446, allocations: 4.102 MB / 2.516 GB, free: 56.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/9.447, allocations: 0.7031 kB / 2.516 GB, free: 56.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0124/9.459, allocations: 2.879 MB / 2.519 GB, free: 56.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005547/9.465, allocations: 0.5926 MB / 2.52 GB, free: 56.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/9.48, allocations: 5.085 MB / 2.525 GB, free: 55.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/9.482, allocations: 1.51 MB / 2.526 GB, free: 54.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/9.483, allocations: 0.697 MB / 2.527 GB, free: 54.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.555e-06/9.483, allocations: 0 / 2.527 GB, free: 54.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.414/14.9, allocations: 139.9 MB / 2.663 GB, free: 50.72 MB / 330.7 MB