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.425/2.425, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006155/0.0006155, allocations: 12 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.393, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.457/8.85, allocations: 2.649 GB / 3.01 GB, free: 44.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/8.85, allocations: 86.7 kB / 3.01 GB, free: 44.49 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.034/12.88, allocations: 0.7457 GB / 3.755 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.943e-06/12.88, allocations: 0 / 3.755 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001638/12.88, allocations: 36.86 kB / 3.755 GB, free: 42.01 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.01672/12.9, allocations: 2.862 MB / 3.758 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/12.9, allocations: 10.12 kB / 3.758 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008269/12.9, allocations: 179.7 kB / 3.758 GB, free: 40.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/12.91, allocations: 0.5961 MB / 3.759 GB, free: 40.15 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/12.91, allocations: 1.103 MB / 3.76 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/12.91, allocations: 89.69 kB / 3.76 GB, free: 39.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004237/12.91, allocations: 105 kB / 3.76 GB, free: 39.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008708/12.92, allocations: 2.266 MB / 3.763 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/12.92, allocations: 7.156 kB / 3.763 GB, free: 38.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/12.92, allocations: 51.81 kB / 3.763 GB, free: 38.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/12.92, allocations: 80.41 kB / 3.763 GB, free: 38.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/12.93, allocations: 2.391 MB / 3.765 GB, free: 37.75 MB / 0.4948 GB 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.01798/12.95, allocations: 8.923 MB / 3.774 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007232/12.96, allocations: 1.773 MB / 3.775 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05646/13.02, allocations: 18.78 MB / 3.794 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/13.02, allocations: 47.56 kB / 3.794 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001971/13.02, allocations: 187.9 kB / 3.794 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 4.248e-06/13.02, allocations: 4 kB / 3.794 GB, free: 12.07 MB / 0.4948 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.2015/13.22, allocations: 16.24 MB / 3.81 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/13.22, allocations: 230.9 kB / 3.81 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/13.22, allocations: 0.7506 MB / 3.811 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007083/13.22, allocations: 49.7 kB / 3.811 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/13.22, allocations: 0.593 MB / 3.811 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/13.22, allocations: 0.5354 MB / 3.812 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/13.22, allocations: 36 kB / 3.812 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002509/13.22, allocations: 378.8 kB / 3.812 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007984/13.23, allocations: 1.487 MB / 3.814 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008696/13.24, allocations: 1.948 MB / 3.816 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/13.25, allocations: 1.613 MB / 3.817 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/13.25, allocations: 4 kB / 3.817 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.02614/13.28, allocations: 4.674 MB / 3.822 GB, free: 352 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.4297/13.71, allocations: 4.782 MB / 3.827 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.073e-05/13.71, allocations: 14.28 kB / 3.827 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1716/13.88, allocations: 8.324 MB / 3.835 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/13.88, allocations: 381.8 kB / 3.835 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02685/13.91, allocations: 5.074 MB / 3.84 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/13.91, allocations: 242.4 kB / 3.84 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007956/13.91, allocations: 134.8 kB / 3.84 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/13.91, allocations: 3.938 kB / 3.84 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02531/13.94, allocations: 4.516 MB / 3.845 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.496e-05/13.94, allocations: 13.16 kB / 3.845 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0193/13.96, allocations: 2.9 MB / 3.848 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00376/13.96, allocations: 445.3 kB / 3.848 GB, free: 52.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/13.99, allocations: 4.447 MB / 3.852 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005651/13.99, allocations: 245.7 kB / 3.853 GB, free: 51.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006239/13.99, allocations: 129 kB / 3.853 GB, free: 51.24 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 () * 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.001632/14, allocations: 481.5 kB / 3.853 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006487/14, allocations: 141.3 kB / 3.853 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03942/14.04, allocations: 9.505 MB / 3.863 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/14.04, allocations: 69.53 kB / 3.863 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/14.04, allocations: 3.125 kB / 3.863 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-05/14.04, allocations: 7.5 kB / 3.863 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04676/14.08, allocations: 12.41 MB / 3.875 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/14.08, allocations: 2.516 kB / 3.875 GB, free: 49.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003267/14.09, allocations: 277 kB / 3.875 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1516/14.24, allocations: 8.908 MB / 3.884 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005895/14.24, allocations: 67.03 kB / 3.884 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/14.26, allocations: 5.911 MB / 3.89 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/14.26, allocations: 7.266 kB / 3.89 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03627/14.3, allocations: 7.378 MB / 3.897 GB, free: 47.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/14.3, allocations: 0.6852 MB / 3.897 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007231/14.3, allocations: 30.31 kB / 3.898 GB, free: 47.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005313/14.31, allocations: 236.7 kB / 3.898 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/14.31, allocations: 132.6 kB / 3.898 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003683/14.31, allocations: 77.73 kB / 3.898 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001575/14.31, allocations: 0.7536 MB / 3.899 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/14.31, allocations: 0 / 3.899 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01247/14.32, allocations: 2.265 MB / 3.901 GB, free: 47.63 MB / 0.5105 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 () * 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.04932/14.37, allocations: 10.35 MB / 3.911 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04194/14.42, allocations: 6.727 MB / 3.918 GB, free: 45.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/14.42, allocations: 3.844 kB / 3.918 GB, free: 45.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01671/14.43, allocations: 3.068 MB / 3.921 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/14.44, allocations: 0.5905 MB / 3.921 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8213/15.26, allocations: 138.3 MB / 4.056 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/15.26, allocations: 1.641 MB / 4.058 GB, free: 56.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/15.26, allocations: 0.8087 MB / 4.059 GB, free: 56.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.774e-06/15.26, allocations: 0 / 4.059 GB, free: 56.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.863/20.13, allocations: 80.21 MB / 4.137 GB, free: 51.62 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