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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.372/2.372, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.36e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3778, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.286/8.663, allocations: 2.595 GB / 2.945 GB, free: 118.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/8.664, allocations: 87.64 kB / 2.945 GB, free: 118.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.216/12.88, allocations: 0.8061 GB / 3.751 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/12.88, allocations: 0 / 3.751 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001389/12.88, allocations: 38.28 kB / 3.751 GB, free: 43.41 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.01178/12.89, allocations: 2.593 MB / 3.753 GB, free: 42.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/12.89, allocations: 10.72 kB / 3.753 GB, free: 42.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/12.9, allocations: 465.5 kB / 3.754 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/12.9, allocations: 0.9982 MB / 3.755 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/12.9, allocations: 56.44 kB / 3.755 GB, free: 41.74 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/12.9, allocations: 81.95 kB / 3.755 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003163/12.9, allocations: 1.133 MB / 3.756 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/12.91, allocations: 1.379 MB / 3.757 GB, free: 41.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/12.91, allocations: 5.25 kB / 3.757 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/12.91, allocations: 3.562 kB / 3.757 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.781e-05/12.91, allocations: 57.56 kB / 3.757 GB, free: 41.35 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.9041/13.81, allocations: 133 MB / 3.887 GB, free: 65.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/13.81, allocations: 0.5653 MB / 3.888 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/13.81, allocations: 364.4 kB / 3.888 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009503/13.82, allocations: 4.069 MB / 3.892 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/13.82, allocations: 40.03 kB / 3.892 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=81): time 3.897e-06/13.82, allocations: 0 / 3.892 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=123): time 0.02884/13.85, allocations: 5.014 MB / 3.897 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/13.85, allocations: 115.2 kB / 3.897 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/13.85, allocations: 0.6805 MB / 3.898 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/13.85, allocations: 25.7 kB / 3.898 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/13.85, allocations: 0.694 MB / 3.899 GB, free: 61.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/13.86, allocations: 400.5 kB / 3.899 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/13.86, allocations: 0 / 3.899 GB, free: 60.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001225/13.86, allocations: 372.8 kB / 3.899 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/13.86, allocations: 0.5316 MB / 3.9 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/13.86, allocations: 0.9482 MB / 3.901 GB, free: 60.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/13.86, allocations: 0.7129 MB / 3.901 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/13.86, allocations: 3.25 kB / 3.901 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01288/13.87, allocations: 2.453 MB / 3.904 GB, free: 59.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001206/13.88, allocations: 5.053 MB / 3.909 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.117e-05/13.88, allocations: 15.03 kB / 3.909 GB, free: 54.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/13.89, allocations: 1.221 MB / 3.91 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/13.89, allocations: 251.5 kB / 3.91 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/13.9, allocations: 5.827 MB / 3.916 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/13.9, allocations: 176.5 kB / 3.916 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003266/13.9, allocations: 90.53 kB / 3.916 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/13.9, allocations: 10.08 kB / 3.916 GB, free: 50.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007989/13.91, allocations: 1.843 MB / 3.918 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.743e-05/13.91, allocations: 17.02 kB / 3.918 GB, free: 50.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/13.92, allocations: 0.845 MB / 3.919 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/13.92, allocations: 286.7 kB / 3.919 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007258/13.93, allocations: 5.308 MB / 3.924 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/13.93, allocations: 160.5 kB / 3.924 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/13.93, allocations: 75.14 kB / 3.924 GB, free: 46.07 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.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 (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006907/13.93, allocations: 160.4 kB / 3.925 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009052/13.94, allocations: 1.872 MB / 3.926 GB, free: 45.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/13.94, allocations: 127.9 kB / 3.927 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00977/13.95, allocations: 4.054 MB / 3.931 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/13.95, allocations: 36.69 kB / 3.931 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/13.95, allocations: 0 / 3.931 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/13.95, allocations: 8.344 kB / 3.931 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/13.97, allocations: 6.683 MB / 3.937 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/13.97, allocations: 0 / 3.937 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/13.97, allocations: 156.3 kB / 3.937 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008142/13.97, allocations: 2.104 MB / 3.939 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/13.97, allocations: 18.47 kB / 3.939 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/13.98, allocations: 8.522 MB / 3.948 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/13.98, allocations: 3.344 kB / 3.948 GB, free: 38.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008572/13.99, allocations: 3.726 MB / 3.951 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/13.99, allocations: 394.7 kB / 3.952 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000327/14, allocations: 3.781 kB / 3.952 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/14, allocations: 184.2 kB / 3.952 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/14, allocations: 120.9 kB / 3.952 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/14, allocations: 52.83 kB / 3.952 GB, free: 38.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001042/14, allocations: 0.5418 MB / 3.953 GB, free: 38.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.004e-06/14, allocations: 0 / 3.953 GB, free: 38.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009551/14.01, allocations: 1.941 MB / 3.954 GB, free: 37.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,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 (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.02076/14.03, allocations: 6.09 MB / 3.96 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01275/14.04, allocations: 2.826 MB / 3.963 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/14.04, allocations: 0 / 3.963 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/14.05, allocations: 1.429 MB / 3.965 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/14.05, allocations: 474.4 kB / 3.965 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/14.06, allocations: 3.326 MB / 3.968 GB, free: 35.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/14.06, allocations: 1.379 MB / 3.97 GB, free: 34.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/14.07, allocations: 0.6343 MB / 3.97 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/14.07, allocations: 1.125 kB / 3.97 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.721/19.79, allocations: 110.4 MB / 4.078 GB, free: 73.17 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