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.053/1.053, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8 kB / 158.4 MB, free: 15.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05703/0.05737, allocations: 25.17 MB / 183.6 MB, free: 5.895 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.319/4.376, allocations: 1.435 GB / 1.614 GB, free: 1.336 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/4.376, allocations: 69.66 kB / 1.614 GB, free: 1.301 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.753/8.129, allocations: 0.6646 GB / 2.279 GB, free: 16.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.215e-06/8.129, allocations: 2.562 kB / 2.279 GB, free: 16.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001595/8.129, allocations: 38.62 kB / 2.279 GB, free: 16.4 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.01512/8.144, allocations: 2.658 MB / 2.282 GB, free: 15.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/8.144, allocations: 7.875 kB / 2.282 GB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007387/8.145, allocations: 170 kB / 2.282 GB, free: 15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005551/8.146, allocations: 155.9 kB / 2.282 GB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/8.149, allocations: 1.01 MB / 2.283 GB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/8.149, allocations: 91.11 kB / 2.283 GB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/8.15, allocations: 98.55 kB / 2.283 GB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006737/8.156, allocations: 2.101 MB / 2.285 GB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/8.156, allocations: 4.031 kB / 2.285 GB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/8.157, allocations: 45.47 kB / 2.285 GB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001638/8.157, allocations: 79.72 kB / 2.285 GB, free: 14.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008429/8.165, allocations: 2.505 MB / 2.288 GB, free: 14.28 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.01879/8.184, allocations: 9.05 MB / 2.297 GB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005433/8.19, allocations: 1.442 MB / 2.298 GB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6872/8.877, allocations: 134.3 MB / 2.429 GB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/8.877, allocations: 51.42 kB / 2.429 GB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001501/8.879, allocations: 200.9 kB / 2.429 GB, free: 6.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 4.789e-06/8.879, allocations: 0 / 2.429 GB, free: 6.211 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.1407/9.019, allocations: 14.77 MB / 2.444 GB, free: 3.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/9.02, allocations: 226.9 kB / 2.444 GB, free: 3.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/9.021, allocations: 0.7452 MB / 2.445 GB, free: 3.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006583/9.022, allocations: 47.89 kB / 2.445 GB, free: 3.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/9.022, allocations: 0.59 MB / 2.445 GB, free: 2.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/9.024, allocations: 0.5132 MB / 2.446 GB, free: 2.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/9.024, allocations: 37.38 kB / 2.446 GB, free: 2.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/9.024, allocations: 373.2 kB / 2.446 GB, free: 1.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005981/9.03, allocations: 1.401 MB / 2.448 GB, free: 1.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006569/9.037, allocations: 1.847 MB / 2.449 GB, free: 12 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.25/9.287, allocations: 1.569 MB / 2.451 GB, free: 64.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/9.287, allocations: 4.594 kB / 2.451 GB, free: 64.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.03356/9.32, allocations: 5.22 MB / 2.456 GB, free: 64.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/9.321, allocations: 12.53 kB / 2.456 GB, free: 64.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/9.321, allocations: 12.17 kB / 2.456 GB, free: 64.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08172/9.402, allocations: 6.122 MB / 2.462 GB, free: 64.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/9.405, allocations: 360.5 kB / 2.462 GB, free: 64.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/9.428, allocations: 9.843 MB / 2.472 GB, free: 58.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/9.433, allocations: 198.7 kB / 2.472 GB, free: 58.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005367/9.434, allocations: 124.6 kB / 2.472 GB, free: 58.39 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.001354/9.435, allocations: 408.9 kB / 2.473 GB, free: 58.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005671/9.436, allocations: 134.8 kB / 2.473 GB, free: 58.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/9.459, allocations: 7.713 MB / 2.48 GB, free: 57.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.862e-05/9.459, allocations: 58.06 kB / 2.48 GB, free: 57.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/9.459, allocations: 1.938 kB / 2.48 GB, free: 57.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/9.459, allocations: 9.516 kB / 2.48 GB, free: 57.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/9.491, allocations: 11.7 MB / 2.492 GB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/9.491, allocations: 2.312 kB / 2.492 GB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/9.493, allocations: 250.7 kB / 2.492 GB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06144/9.554, allocations: 6.433 MB / 2.498 GB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006348/9.555, allocations: 67.62 kB / 2.498 GB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02228/9.577, allocations: 10.53 MB / 2.509 GB, free: 50.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/9.577, allocations: 0 / 2.509 GB, free: 50.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/9.598, allocations: 6.577 MB / 2.515 GB, free: 50.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/9.6, allocations: 0.6268 MB / 2.516 GB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000732/9.601, allocations: 35.84 kB / 2.516 GB, free: 50.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003892/9.605, allocations: 186.2 kB / 2.516 GB, free: 50.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/9.605, allocations: 136.6 kB / 2.516 GB, free: 50.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000325/9.606, allocations: 77.91 kB / 2.516 GB, free: 50.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001133/9.607, allocations: 0.5704 MB / 2.517 GB, free: 50.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.333e-06/9.607, allocations: 0 / 2.517 GB, free: 50.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.009879/9.617, allocations: 1.962 MB / 2.519 GB, free: 49.96 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.03116/9.648, allocations: 9.103 MB / 2.528 GB, free: 47.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.02049/9.668, allocations: 4.51 MB / 2.532 GB, free: 46.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/9.668, allocations: 0 / 2.532 GB, free: 46.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01407/9.682, allocations: 3.077 MB / 2.535 GB, free: 45.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005489/9.688, allocations: 0.5922 MB / 2.536 GB, free: 44.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3088/9.997, allocations: 24.71 MB / 2.56 GB, free: 63.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/9.998, allocations: 1.513 MB / 2.561 GB, free: 62.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/10, allocations: 0.6923 MB / 2.562 GB, free: 62.58 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/10, allocations: 0 / 2.562 GB, free: 62.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.809/15.81, allocations: 139 MB / 2.698 GB, free: 62.41 MB / 330.7 MB