Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization.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) 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.1_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadModel(Modelica): time 1.72/1.72, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004937, allocations: 15.98 kB / 233.8 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08999, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.136/8.226, allocations: 2.53 GB / 2.796 GB, free: 61.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/8.226, allocations: 85.8 kB / 2.796 GB, free: 61.89 MB / 362.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.933/12.16, allocations: 0.7262 GB / 3.523 GB, free: 25.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.777e-06/12.16, allocations: 0 / 3.523 GB, free: 25.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002031/12.16, allocations: 35.86 kB / 3.523 GB, free: 25.14 MB / 394.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.01636/12.18, allocations: 2.778 MB / 3.525 GB, free: 23.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/12.18, allocations: 12 kB / 3.525 GB, free: 23.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006915/12.18, allocations: 0.5823 MB / 3.526 GB, free: 23.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004085/12.19, allocations: 1.094 MB / 3.527 GB, free: 23.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/12.19, allocations: 90.72 kB / 3.527 GB, free: 23.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/12.19, allocations: 105.5 kB / 3.527 GB, free: 23.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008927/12.2, allocations: 2.274 MB / 3.529 GB, free: 23.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/12.2, allocations: 3.281 kB / 3.529 GB, free: 23.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/12.2, allocations: 49.5 kB / 3.529 GB, free: 23.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/12.2, allocations: 85.42 kB / 3.529 GB, free: 23.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/12.21, allocations: 2.39 MB / 3.532 GB, free: 23.11 MB / 394.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.01947/12.23, allocations: 8.916 MB / 3.541 GB, free: 18.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007473/12.23, allocations: 1.77 MB / 3.542 GB, free: 17.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0567/12.29, allocations: 18.75 MB / 3.561 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.079e-05/12.29, allocations: 50.41 kB / 3.561 GB, free: 22.19 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/12.29, allocations: 203.3 kB / 3.561 GB, free: 22.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 5.24e-06/12.29, allocations: 0 / 3.561 GB, free: 22.14 MB / 410.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.1843/12.48, allocations: 16.48 MB / 3.577 GB, free: 20.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/12.48, allocations: 230.4 kB / 3.577 GB, free: 20.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/12.48, allocations: 0.8561 MB / 3.578 GB, free: 20.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006748/12.48, allocations: 54.11 kB / 3.578 GB, free: 20.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/12.48, allocations: 0.595 MB / 3.579 GB, free: 20.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/12.48, allocations: 0.5307 MB / 3.579 GB, free: 19.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/12.48, allocations: 33.12 kB / 3.579 GB, free: 19.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/12.48, allocations: 378.2 kB / 3.579 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007392/12.49, allocations: 1.496 MB / 3.581 GB, free: 19.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007891/12.5, allocations: 1.96 MB / 3.583 GB, free: 19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008129/12.51, allocations: 1.615 MB / 3.584 GB, free: 18.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/12.51, allocations: 3.438 kB / 3.584 GB, free: 18.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0251/12.53, allocations: 4.773 MB / 3.589 GB, free: 18.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003366/12.53, allocations: 466.9 kB / 3.59 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.074e-05/12.53, allocations: 11.16 kB / 3.59 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1892/12.72, allocations: 8.878 MB / 3.598 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/12.72, allocations: 392.8 kB / 3.599 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04115/12.77, allocations: 5.122 MB / 3.604 GB, free: 16.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009286/12.77, allocations: 252.4 kB / 3.604 GB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/12.78, allocations: 127 kB / 3.604 GB, free: 16.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/12.78, allocations: 3.625 kB / 3.604 GB, free: 16.88 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03416/12.81, allocations: 4.542 MB / 3.608 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-05/12.81, allocations: 13.94 kB / 3.608 GB, free: 16.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/12.83, allocations: 3.02 MB / 3.611 GB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00406/12.83, allocations: 452.8 kB / 3.612 GB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/12.86, allocations: 4.496 MB / 3.616 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006044/12.87, allocations: 238.6 kB / 3.616 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/12.87, allocations: 129.6 kB / 3.617 GB, free: 15.61 MB / 410.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.001748/12.87, allocations: 499.1 kB / 3.617 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/12.87, allocations: 135.8 kB / 3.617 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03948/12.91, allocations: 9.562 MB / 3.626 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/12.91, allocations: 69.88 kB / 3.627 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/12.91, allocations: 0 / 3.627 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/12.91, allocations: 7.641 kB / 3.627 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04358/12.95, allocations: 12.47 MB / 3.639 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-05/12.95, allocations: 4 kB / 3.639 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/12.95, allocations: 275.9 kB / 3.639 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1521/13.11, allocations: 8.963 MB / 3.648 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007221/13.11, allocations: 65.14 kB / 3.648 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3514/13.46, allocations: 6.031 MB / 3.654 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.828e-06/13.46, allocations: 3 kB / 3.654 GB, free: 38.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03694/13.5, allocations: 7.286 MB / 3.661 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/13.5, allocations: 0.6917 MB / 3.661 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009947/13.5, allocations: 35.81 kB / 3.662 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005635/13.5, allocations: 227 kB / 3.662 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007392/13.51, allocations: 138.1 kB / 3.662 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/13.51, allocations: 81.2 kB / 3.662 GB, free: 37.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001842/13.51, allocations: 0.7527 MB / 3.663 GB, free: 37.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/13.51, allocations: 0 / 3.663 GB, free: 37.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01329/13.52, allocations: 2.243 MB / 3.665 GB, free: 37.72 MB / 410.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.01514/13.54, allocations: 2.394 MB / 3.667 GB, free: 37.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04175/13.58, allocations: 6.702 MB / 3.674 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/13.58, allocations: 0 / 3.674 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01676/13.6, allocations: 3.061 MB / 3.677 GB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/13.6, allocations: 0.588 MB / 3.677 GB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6999/14.3, allocations: 125.9 MB / 3.8 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/14.3, allocations: 1.655 MB / 3.802 GB, free: 35.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005363/14.31, allocations: 1.457 MB / 3.803 GB, free: 35.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/14.31, allocations: 130 kB / 3.803 GB, free: 35.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/14.31, allocations: 2.844 kB / 3.803 GB, free: 35.44 MB / 410.7 MB Notification: Performance of Templates: time 0.2258/14.53, allocations: 107.8 MB / 3.909 GB, free: 15.73 MB / 410.7 MB