Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 44.5 MB / 309 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.081/8.188, allocations: 2.64 GB / 2.942 GB, free: 60.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/8.188, allocations: 84.59 kB / 2.942 GB, free: 60.02 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 4.132/12.32, allocations: 0.7455 GB / 3.687 GB, free: 34.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.595e-06/12.32, allocations: 0 / 3.687 GB, free: 34.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000185/12.32, allocations: 35.78 kB / 3.687 GB, free: 34.12 MB / 442.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.01694/12.34, allocations: 2.87 MB / 3.69 GB, free: 32.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/12.34, allocations: 7.219 kB / 3.69 GB, free: 32.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/12.34, allocations: 0.6091 MB / 3.691 GB, free: 32.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/12.35, allocations: 1.091 MB / 3.692 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/12.35, allocations: 91.33 kB / 3.692 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004989/12.35, allocations: 107.2 kB / 3.692 GB, free: 32.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00901/12.36, allocations: 2.27 MB / 3.694 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/12.36, allocations: 3.562 kB / 3.694 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/12.36, allocations: 55.27 kB / 3.694 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/12.36, allocations: 84.05 kB / 3.694 GB, free: 32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009809/12.37, allocations: 2.39 MB / 3.696 GB, free: 31.98 MB / 442.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.01825/12.39, allocations: 8.917 MB / 3.705 GB, free: 26.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007503/12.39, allocations: 1.766 MB / 3.707 GB, free: 26.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05735/12.45, allocations: 18.79 MB / 3.725 GB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/12.45, allocations: 49.48 kB / 3.725 GB, free: 15.04 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001941/12.45, allocations: 204.5 kB / 3.726 GB, free: 14.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=109): time 5.35e-06/12.45, allocations: 2.062 kB / 3.726 GB, free: 14.99 MB / 442.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.1901/12.64, allocations: 16.48 MB / 3.742 GB, free: 13.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/12.64, allocations: 228.2 kB / 3.742 GB, free: 13.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/12.65, allocations: 0.8613 MB / 3.743 GB, free: 13.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006621/12.65, allocations: 54.61 kB / 3.743 GB, free: 13.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004937/12.65, allocations: 0.5875 MB / 3.743 GB, free: 12.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000773/12.65, allocations: 0.5345 MB / 3.744 GB, free: 12.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/12.65, allocations: 33.09 kB / 3.744 GB, free: 12.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/12.65, allocations: 376.9 kB / 3.744 GB, free: 12.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007326/12.66, allocations: 1.498 MB / 3.746 GB, free: 12.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007864/12.66, allocations: 1.96 MB / 3.748 GB, free: 11.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007976/12.67, allocations: 1.622 MB / 3.749 GB, free: 11.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/12.67, allocations: 3.875 kB / 3.749 GB, free: 11.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02448/12.7, allocations: 4.762 MB / 3.754 GB, free: 11.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/12.7, allocations: 463.4 kB / 3.754 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/12.7, allocations: 14.66 kB / 3.754 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1893/12.89, allocations: 8.874 MB / 3.763 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/12.89, allocations: 394.1 kB / 3.763 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0283/12.92, allocations: 5.126 MB / 3.768 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/12.92, allocations: 250 kB / 3.769 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008853/12.93, allocations: 130.4 kB / 3.769 GB, free: 25.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/12.93, allocations: 3.344 kB / 3.769 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02624/12.95, allocations: 4.543 MB / 3.773 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/12.95, allocations: 14.38 kB / 3.773 GB, free: 25.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0209/12.97, allocations: 3.008 MB / 3.776 GB, free: 25.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/12.98, allocations: 452.9 kB / 3.776 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02508/13, allocations: 4.502 MB / 3.781 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006225/13.01, allocations: 246.1 kB / 3.781 GB, free: 24.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007563/13.01, allocations: 129.6 kB / 3.781 GB, free: 24.39 MB / 458.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.001849/13.01, allocations: 484 kB / 3.782 GB, free: 24.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006438/13.01, allocations: 137.7 kB / 3.782 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04012/13.05, allocations: 9.538 MB / 3.791 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/13.05, allocations: 70.53 kB / 3.791 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/13.05, allocations: 0 / 3.791 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.987e-05/13.05, allocations: 16.66 kB / 3.791 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0449/13.1, allocations: 12.48 MB / 3.803 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-05/13.1, allocations: 0 / 3.803 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/13.1, allocations: 280.9 kB / 3.804 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1562/13.26, allocations: 8.945 MB / 3.812 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006134/13.26, allocations: 69.98 kB / 3.813 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/13.29, allocations: 5.948 MB / 3.818 GB, free: 3.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/13.29, allocations: 4.938 kB / 3.818 GB, free: 3.492 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3988/13.68, allocations: 7.3 MB / 3.825 GB, free: 46.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002304/13.69, allocations: 0.688 MB / 3.826 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008764/13.69, allocations: 35.41 kB / 3.826 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005616/13.69, allocations: 237.9 kB / 3.826 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007538/13.69, allocations: 127.2 kB / 3.827 GB, free: 46.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004111/13.69, allocations: 84.62 kB / 3.827 GB, free: 46.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00195/13.7, allocations: 0.7493 MB / 3.827 GB, free: 46.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.22e-07/13.7, allocations: 3.5 kB / 3.827 GB, free: 46.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01182/13.71, allocations: 2.264 MB / 3.83 GB, free: 46.64 MB / 458.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.01439/13.72, allocations: 2.397 MB / 3.832 GB, free: 46.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04275/13.77, allocations: 6.697 MB / 3.838 GB, free: 46.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/13.77, allocations: 3.812 kB / 3.838 GB, free: 46.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01663/13.78, allocations: 3.06 MB / 3.841 GB, free: 46.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005688/13.79, allocations: 0.5971 MB / 3.842 GB, free: 46.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3558/14.14, allocations: 128.1 MB / 3.967 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/14.14, allocations: 1.652 MB / 3.969 GB, free: 17.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004855/14.15, allocations: 1.455 MB / 3.97 GB, free: 16.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/14.15, allocations: 132.6 kB / 3.97 GB, free: 16.37 MB / 458.7 MB Notification: Performance of SimCode: time 2.345e-06/14.15, allocations: 0 / 3.97 GB, free: 16.37 MB / 458.7 MB Notification: Performance of Templates: time 0.5681/14.72, allocations: 108.1 MB / 4.076 GB, free: 37.94 MB / 458.7 MB