Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics.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.TestComponents.Machines.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.148e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.434, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.987/8.421, allocations: 2.595 GB / 2.952 GB, free: 109.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/8.421, allocations: 84.08 kB / 2.952 GB, free: 109.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.222/12.64, allocations: 0.8135 GB / 3.765 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.084e-06/12.64, allocations: 0 / 3.765 GB, free: 40.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001442/12.64, allocations: 39.42 kB / 3.765 GB, free: 40.35 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01163/12.66, allocations: 2.586 MB / 3.768 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/12.66, allocations: 11.81 kB / 3.768 GB, free: 39.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005675/12.66, allocations: 190.4 kB / 3.768 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005083/12.66, allocations: 470.2 kB / 3.768 GB, free: 38.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/12.66, allocations: 0.9961 MB / 3.769 GB, free: 38.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/12.66, allocations: 112.1 kB / 3.769 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003569/12.66, allocations: 122.2 kB / 3.769 GB, free: 38.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006333/12.67, allocations: 1.927 MB / 3.771 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/12.67, allocations: 6.812 kB / 3.771 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/12.67, allocations: 55.61 kB / 3.771 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-05/12.67, allocations: 55 kB / 3.771 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006028/12.68, allocations: 1.586 MB / 3.773 GB, free: 38.23 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.01491/12.69, allocations: 9.419 MB / 3.782 GB, free: 31.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/12.7, allocations: 1.053 MB / 3.783 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/12.7, allocations: 418.3 kB / 3.784 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01355/12.71, allocations: 5.475 MB / 3.789 GB, free: 27.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/12.71, allocations: 45.69 kB / 3.789 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 3.386e-06/12.71, allocations: 0 / 3.789 GB, free: 27.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.04891/12.76, allocations: 6.98 MB / 3.796 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/12.76, allocations: 119.2 kB / 3.796 GB, free: 26.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/12.76, allocations: 0.6956 MB / 3.797 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/12.76, allocations: 51.39 kB / 3.797 GB, free: 26.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/12.76, allocations: 0.6554 MB / 3.797 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/12.76, allocations: 457.7 kB / 3.798 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/12.76, allocations: 30.44 kB / 3.798 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001228/12.76, allocations: 369.9 kB / 3.798 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/12.77, allocations: 0.525 MB / 3.799 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/12.77, allocations: 0.9574 MB / 3.8 GB, free: 24.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/12.77, allocations: 0.6379 MB / 3.8 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/12.77, allocations: 4.094 kB / 3.8 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009507/12.78, allocations: 2.31 MB / 3.802 GB, free: 24.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001168/12.78, allocations: 5.05 MB / 3.807 GB, free: 19.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/12.78, allocations: 11.62 kB / 3.807 GB, free: 19.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00941/12.79, allocations: 1.206 MB / 3.809 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/12.79, allocations: 274.5 kB / 3.809 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/12.8, allocations: 7.045 MB / 3.816 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/12.81, allocations: 181 kB / 3.816 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/12.81, allocations: 84.98 kB / 3.816 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/12.81, allocations: 10.45 kB / 3.816 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009642/12.82, allocations: 2.199 MB / 3.818 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/12.82, allocations: 11.38 kB / 3.818 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006749/12.82, allocations: 0.9659 MB / 3.819 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/12.82, allocations: 306.1 kB / 3.819 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/12.84, allocations: 6.863 MB / 3.826 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/12.84, allocations: 181.6 kB / 3.826 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/12.84, allocations: 86.42 kB / 3.826 GB, free: 24.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006315/12.84, allocations: 204.4 kB / 3.827 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/12.84, allocations: 126.7 kB / 3.827 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/12.85, allocations: 5.113 MB / 3.832 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.978e-05/12.85, allocations: 40.83 kB / 3.832 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/12.85, allocations: 6.656 kB / 3.832 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.637e-05/12.85, allocations: 10.41 kB / 3.832 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/12.87, allocations: 8.027 MB / 3.84 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.931e-05/12.87, allocations: 2.156 kB / 3.84 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/12.87, allocations: 184.3 kB / 3.84 GB, free: 18.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009373/12.88, allocations: 2.176 MB / 3.842 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003047/12.88, allocations: 37.8 kB / 3.842 GB, free: 18.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/12.89, allocations: 8.112 MB / 3.85 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/12.89, allocations: 3.5 kB / 3.85 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/12.9, allocations: 4.126 MB / 3.854 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/12.9, allocations: 437.9 kB / 3.854 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/12.9, allocations: 30.02 kB / 3.854 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/12.91, allocations: 217.2 kB / 3.855 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004854/12.91, allocations: 129.4 kB / 3.855 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/12.91, allocations: 57.28 kB / 3.855 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001231/12.91, allocations: 0.598 MB / 3.855 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.61e-07/12.91, allocations: 0 / 3.855 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01/12.92, allocations: 2.05 MB / 3.857 GB, free: 8.484 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02259/12.94, allocations: 6.272 MB / 3.863 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01317/12.95, allocations: 3.327 MB / 3.867 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/12.95, allocations: 8.062 kB / 3.867 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005008/12.96, allocations: 1.597 MB / 3.868 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/12.96, allocations: 0.5137 MB / 3.869 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6793/13.64, allocations: 79.14 MB / 3.946 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/13.64, allocations: 1.455 MB / 3.947 GB, free: 64.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/13.64, allocations: 0.6711 MB / 3.948 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.823e-06/13.64, allocations: 0 / 3.948 GB, free: 64.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.302/18.95, allocations: 118.3 MB / 4.064 GB, free: 16.45 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat