Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004642, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3605, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.697/8.058, allocations: 2.538 GB / 2.862 GB, free: 91.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/8.058, allocations: 85.12 kB / 2.862 GB, free: 91.24 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329: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.821/11.88, allocations: 0.7263 GB / 3.588 GB, free: 30.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.544e-06/11.88, allocations: 0 / 3.588 GB, free: 30.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002047/11.88, allocations: 39.36 kB / 3.588 GB, free: 30.45 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01713/11.9, allocations: 2.784 MB / 3.591 GB, free: 29.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/11.9, allocations: 10.94 kB / 3.591 GB, free: 29.01 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008389/11.9, allocations: 171.5 kB / 3.591 GB, free: 28.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/11.9, allocations: 0.5844 MB / 3.592 GB, free: 28.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/11.91, allocations: 1.086 MB / 3.593 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/11.91, allocations: 94.31 kB / 3.593 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/11.91, allocations: 106.4 kB / 3.593 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008983/11.92, allocations: 2.271 MB / 3.595 GB, free: 28.21 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/11.92, allocations: 10.19 kB / 3.595 GB, free: 28.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/11.92, allocations: 48.83 kB / 3.595 GB, free: 28.21 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/11.92, allocations: 80.75 kB / 3.595 GB, free: 28.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/11.93, allocations: 2.391 MB / 3.598 GB, free: 28.19 MB / 458.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.01894/11.95, allocations: 8.921 MB / 3.606 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/11.96, allocations: 1.77 MB / 3.608 GB, free: 23.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0575/12.01, allocations: 18.76 MB / 3.626 GB, free: 27.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/12.01, allocations: 44.19 kB / 3.626 GB, free: 26.96 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001991/12.02, allocations: 204.9 kB / 3.627 GB, free: 26.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 6.653e-06/12.02, allocations: 0 / 3.627 GB, free: 26.9 MB / 474.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=159): time 0.1801/12.2, allocations: 16.21 MB / 3.643 GB, free: 25.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/12.2, allocations: 226.3 kB / 3.643 GB, free: 25.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/12.2, allocations: 0.7554 MB / 3.643 GB, free: 25.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000645/12.2, allocations: 57.86 kB / 3.644 GB, free: 25.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/12.2, allocations: 0.5893 MB / 3.644 GB, free: 24.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009289/12.2, allocations: 0.5346 MB / 3.645 GB, free: 24.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/12.2, allocations: 35.5 kB / 3.645 GB, free: 24.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/12.2, allocations: 378.6 kB / 3.645 GB, free: 24 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006996/12.21, allocations: 1.49 MB / 3.646 GB, free: 23.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007487/12.21, allocations: 1.945 MB / 3.648 GB, free: 23.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/12.22, allocations: 1.603 MB / 3.65 GB, free: 23.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/12.22, allocations: 7.781 kB / 3.65 GB, free: 23.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02325/12.25, allocations: 4.678 MB / 3.655 GB, free: 23.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001966/12.25, allocations: 4.8 MB / 3.659 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/12.25, allocations: 13.09 kB / 3.659 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1678/12.42, allocations: 8.312 MB / 3.667 GB, free: 16.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/12.42, allocations: 387.6 kB / 3.668 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02712/12.45, allocations: 5.08 MB / 3.673 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006163/12.45, allocations: 248.6 kB / 3.673 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/12.45, allocations: 123.8 kB / 3.673 GB, free: 11.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/12.45, allocations: 4 kB / 3.673 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02493/12.48, allocations: 4.519 MB / 3.677 GB, free: 7.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/12.48, allocations: 12 kB / 3.677 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0203/12.5, allocations: 2.906 MB / 3.68 GB, free: 5.508 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/12.5, allocations: 440.4 kB / 3.681 GB, free: 5.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/12.53, allocations: 4.444 MB / 3.685 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/12.53, allocations: 246 kB / 3.685 GB, free: 1.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004391/12.53, allocations: 128.3 kB / 3.685 GB, free: 1.109 MB / 474.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: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.001674/12.53, allocations: 499.9 kB / 3.686 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/12.53, allocations: 134.4 kB / 3.686 GB, free: 0.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4304/12.97, allocations: 9.503 MB / 3.695 GB, free: 44.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/12.97, allocations: 65.59 kB / 3.695 GB, free: 44.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/12.97, allocations: 5.969 kB / 3.695 GB, free: 44.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/12.97, allocations: 8.906 kB / 3.695 GB, free: 44.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04751/13.01, allocations: 12.42 MB / 3.707 GB, free: 44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.436e-05/13.01, allocations: 3.906 kB / 3.707 GB, free: 44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/13.02, allocations: 273.9 kB / 3.708 GB, free: 44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1489/13.16, allocations: 8.89 MB / 3.716 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005702/13.16, allocations: 64.16 kB / 3.717 GB, free: 43.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02593/13.19, allocations: 5.941 MB / 3.722 GB, free: 42.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/13.19, allocations: 2.094 kB / 3.722 GB, free: 42.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0358/13.23, allocations: 7.362 MB / 3.729 GB, free: 42.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/13.23, allocations: 0.6899 MB / 3.73 GB, free: 41.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/13.23, allocations: 35.89 kB / 3.73 GB, free: 41.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005236/13.23, allocations: 230.5 kB / 3.73 GB, free: 41.91 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006186/13.24, allocations: 133.3 kB / 3.731 GB, free: 41.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003415/13.24, allocations: 76.84 kB / 3.731 GB, free: 41.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001506/13.24, allocations: 0.7589 MB / 3.731 GB, free: 41.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.01e-07/13.24, allocations: 0 / 3.731 GB, free: 41.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01118/13.25, allocations: 2.239 MB / 3.734 GB, free: 41.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.04913/13.3, allocations: 10.35 MB / 3.744 GB, free: 39.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04152/13.34, allocations: 6.729 MB / 3.75 GB, free: 39.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/13.34, allocations: 0 / 3.75 GB, free: 39.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01636/13.36, allocations: 3.071 MB / 3.753 GB, free: 39.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005757/13.36, allocations: 0.6006 MB / 3.754 GB, free: 39.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7515/14.11, allocations: 136.1 MB / 3.887 GB, free: 46.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/14.11, allocations: 1.642 MB / 3.888 GB, free: 46.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/14.12, allocations: 0.8047 MB / 3.889 GB, free: 46.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/14.12, allocations: 2.781 kB / 3.889 GB, free: 46.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.631/18.75, allocations: 80.04 MB / 3.967 GB, free: 41.66 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat does not exist to compare? outputFormat=mat