Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.342e-05, allocations: 8 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.441, allocations: 54.85 MB / 364.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.102/8.543, allocations: 2.649 GB / 3.005 GB, free: 111.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/8.543, allocations: 78.7 kB / 3.005 GB, free: 111.6 MB / 490.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.057/12.6, allocations: 0.7436 GB / 3.749 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.937e-06/12.6, allocations: 0 / 3.749 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001871/12.6, allocations: 36.11 kB / 3.749 GB, free: 34.15 MB / 0.4948 GB 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.01682/12.62, allocations: 2.724 MB / 3.751 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/12.62, allocations: 11.81 kB / 3.751 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007165/12.62, allocations: 173.9 kB / 3.752 GB, free: 32.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/12.63, allocations: 0.6008 MB / 3.752 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004555/12.63, allocations: 1.083 MB / 3.753 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/12.63, allocations: 94.7 kB / 3.753 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005935/12.63, allocations: 102.3 kB / 3.753 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/12.64, allocations: 2.249 MB / 3.756 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/12.64, allocations: 3.219 kB / 3.756 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/12.64, allocations: 46.23 kB / 3.756 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/12.64, allocations: 87.03 kB / 3.756 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008673/12.65, allocations: 2.26 MB / 3.758 GB, free: 32.01 MB / 0.4948 GB 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.01984/12.67, allocations: 8.924 MB / 3.767 GB, free: 26.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006143/12.67, allocations: 1.653 MB / 3.768 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/12.68, allocations: 0.6372 MB / 3.769 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0593/12.74, allocations: 18.84 MB / 3.787 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/12.74, allocations: 48.03 kB / 3.787 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001924/12.74, allocations: 205.7 kB / 3.787 GB, free: 30.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=109): time 6.762e-06/12.74, allocations: 0 / 3.787 GB, free: 30.97 MB / 0.5105 GB 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.1203/12.86, allocations: 11.9 MB / 3.799 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/12.86, allocations: 227.1 kB / 3.799 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/12.86, allocations: 0.7481 MB / 3.8 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006477/12.86, allocations: 52.95 kB / 3.8 GB, free: 29.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/12.86, allocations: 0.5971 MB / 3.801 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000772/12.86, allocations: 0.53 MB / 3.801 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/12.86, allocations: 33.53 kB / 3.801 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002013/12.86, allocations: 380.5 kB / 3.802 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/12.87, allocations: 1.241 MB / 3.803 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003688/12.87, allocations: 1.701 MB / 3.804 GB, free: 27.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/12.87, allocations: 1.369 MB / 3.806 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/12.87, allocations: 3.875 kB / 3.806 GB, free: 27.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01286/12.89, allocations: 4.036 MB / 3.81 GB, free: 27.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002128/12.89, allocations: 4.799 MB / 3.814 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-05/12.89, allocations: 14.25 kB / 3.814 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1619/13.05, allocations: 7.96 MB / 3.822 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/13.05, allocations: 379.4 kB / 3.823 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/13.07, allocations: 4.643 MB / 3.827 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/13.08, allocations: 252.4 kB / 3.827 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007529/13.08, allocations: 128 kB / 3.827 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/13.08, allocations: 5.031 kB / 3.827 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01562/13.09, allocations: 3.895 MB / 3.831 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/13.09, allocations: 10.34 kB / 3.831 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/13.11, allocations: 2.598 MB / 3.834 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/13.11, allocations: 442.9 kB / 3.834 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/13.13, allocations: 4.043 MB / 3.838 GB, free: 18.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005827/13.13, allocations: 249 kB / 3.838 GB, free: 18.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007987/13.13, allocations: 135.7 kB / 3.839 GB, free: 18.66 MB / 0.5105 GB 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 () * 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.00104/13.14, allocations: 210.3 kB / 3.839 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006676/13.14, allocations: 138.5 kB / 3.839 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02777/13.16, allocations: 8.918 MB / 3.848 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/13.16, allocations: 65.22 kB / 3.848 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/13.16, allocations: 4 kB / 3.848 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.338e-05/13.16, allocations: 9.141 kB / 3.848 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03488/13.2, allocations: 11.87 MB / 3.859 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/13.2, allocations: 8.281 kB / 3.859 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/13.2, allocations: 266.6 kB / 3.86 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1629/13.36, allocations: 9.784 MB / 3.869 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006381/13.37, allocations: 65.8 kB / 3.869 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/13.38, allocations: 5.501 MB / 3.875 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/13.38, allocations: 4 kB / 3.875 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02646/13.41, allocations: 6.766 MB / 3.881 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/13.41, allocations: 0.6943 MB / 3.882 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/13.41, allocations: 35.61 kB / 3.882 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006569/13.42, allocations: 234.3 kB / 3.882 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/13.42, allocations: 129.5 kB / 3.882 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005924/13.42, allocations: 82.89 kB / 3.882 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003234/13.43, allocations: 0.7369 MB / 3.883 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.054e-06/13.43, allocations: 4 kB / 3.883 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.4355/13.86, allocations: 2.248 MB / 3.885 GB, free: 64.06 MB / 0.5261 GB 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 () * 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.04022/13.9, allocations: 9.711 MB / 3.895 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03235/13.93, allocations: 5.993 MB / 3.901 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/13.93, allocations: 3.594 kB / 3.901 GB, free: 62.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01352/13.95, allocations: 2.826 MB / 3.903 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/13.95, allocations: 0.588 MB / 3.904 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.372/14.33, allocations: 127.1 MB / 4.028 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/14.33, allocations: 1.644 MB / 4.03 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/14.33, allocations: 0.8114 MB / 4.03 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.914e-06/14.33, allocations: 0 / 4.03 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.349/19.68, allocations: 82.08 MB / 4.111 GB, free: 54.53 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat