Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.2 MB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 8 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.354, allocations: 48.71 MB / 331.4 MB, free: 6.402 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.112/7.466, allocations: 2.485 GB / 2.809 GB, free: 34.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/7.466, allocations: 85.45 kB / 2.809 GB, free: 34.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.323/9.79, allocations: 408.5 MB / 3.208 GB, free: 50.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.519e-06/9.79, allocations: 2.812 kB / 3.208 GB, free: 50.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.681e-05/9.79, allocations: 20.12 kB / 3.208 GB, free: 50.49 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.008426/9.798, allocations: 1.67 MB / 3.209 GB, free: 49.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/9.799, allocations: 11.47 kB / 3.209 GB, free: 49.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000279/9.799, allocations: 104.4 kB / 3.21 GB, free: 49.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/9.802, allocations: 282.6 kB / 3.21 GB, free: 49.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/9.804, allocations: 0.5495 MB / 3.21 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/9.804, allocations: 48.98 kB / 3.21 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/9.804, allocations: 52.06 kB / 3.21 GB, free: 49.53 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/9.808, allocations: 0.9633 MB / 3.211 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/9.808, allocations: 3.844 kB / 3.211 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/9.808, allocations: 24.5 kB / 3.211 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/9.808, allocations: 19.28 kB / 3.211 GB, free: 49.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004003/9.812, allocations: 0.8707 MB / 3.212 GB, free: 49.32 MB / 442.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.006883/9.819, allocations: 4.55 MB / 3.217 GB, free: 46.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003703/9.823, allocations: 0.739 MB / 3.217 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0614/9.884, allocations: 21.33 MB / 3.238 GB, free: 32.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/9.885, allocations: 42.86 kB / 3.238 GB, free: 32.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.466e-06/9.885, allocations: 0 / 3.238 GB, free: 32.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01871/9.903, allocations: 3.274 MB / 3.242 GB, free: 32.06 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/9.903, allocations: 117.9 kB / 3.242 GB, free: 31.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/9.904, allocations: 372 kB / 3.242 GB, free: 31.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001417/9.904, allocations: 40.17 kB / 3.242 GB, free: 31.79 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/9.905, allocations: 367.6 kB / 3.242 GB, free: 31.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/9.905, allocations: 197.5 kB / 3.243 GB, free: 31.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/9.905, allocations: 15.53 kB / 3.243 GB, free: 31.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/9.905, allocations: 336.8 kB / 3.243 GB, free: 31.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/9.906, allocations: 307.8 kB / 3.243 GB, free: 31.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/9.907, allocations: 0.5061 MB / 3.244 GB, free: 30.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/9.909, allocations: 352.9 kB / 3.244 GB, free: 30.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/9.909, allocations: 3.656 kB / 3.244 GB, free: 30.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005167/9.914, allocations: 1.108 MB / 3.245 GB, free: 30.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005519/9.915, allocations: 2.356 MB / 3.247 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/9.915, allocations: 7.531 kB / 3.247 GB, free: 28.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004135/9.919, allocations: 483.2 kB / 3.248 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/9.92, allocations: 140 kB / 3.248 GB, free: 28.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/9.923, allocations: 1.546 MB / 3.25 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/9.924, allocations: 84.7 kB / 3.25 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/9.925, allocations: 37.27 kB / 3.25 GB, free: 27.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/9.925, allocations: 3.094 kB / 3.25 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004995/9.93, allocations: 1.059 MB / 3.251 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/9.93, allocations: 9.344 kB / 3.251 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/9.933, allocations: 406.5 kB / 3.251 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/9.934, allocations: 152.7 kB / 3.251 GB, free: 27.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/9.936, allocations: 1.474 MB / 3.253 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000983/9.937, allocations: 81.83 kB / 3.253 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/9.937, allocations: 39.41 kB / 3.253 GB, free: 26.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.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 (63): * Single equations (assignments): 61 * 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 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005509/9.938, allocations: 299.2 kB / 3.253 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/9.938, allocations: 58.66 kB / 3.253 GB, free: 25.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/9.944, allocations: 3.41 MB / 3.256 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/9.944, allocations: 39.77 kB / 3.256 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/9.944, allocations: 3.781 kB / 3.256 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/9.944, allocations: 7.422 kB / 3.256 GB, free: 25.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008836/9.953, allocations: 4.656 MB / 3.261 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/9.953, allocations: 3.469 kB / 3.261 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/9.954, allocations: 103.6 kB / 3.261 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004011/9.958, allocations: 0.921 MB / 3.262 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/9.958, allocations: 14.84 kB / 3.262 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002831/9.961, allocations: 1.949 MB / 3.264 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/9.961, allocations: 3.75 kB / 3.264 GB, free: 23.96 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/9.966, allocations: 2.194 MB / 3.266 GB, free: 23.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/9.966, allocations: 320.8 kB / 3.266 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/9.967, allocations: 18.66 kB / 3.266 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/9.968, allocations: 82.73 kB / 3.267 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/9.968, allocations: 58.14 kB / 3.267 GB, free: 23.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/9.968, allocations: 24.78 kB / 3.267 GB, free: 23.42 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006018/9.968, allocations: 393 kB / 3.267 GB, free: 23.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.968, allocations: 2.969 kB / 3.267 GB, free: 23.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006907/9.975, allocations: 1.395 MB / 3.268 GB, free: 23.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01545/9.991, allocations: 4.319 MB / 3.273 GB, free: 21.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006103/9.997, allocations: 1.736 MB / 3.274 GB, free: 21.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/9.997, allocations: 4.781 kB / 3.274 GB, free: 21.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/9.999, allocations: 0.9807 MB / 3.275 GB, free: 21.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/10, allocations: 270.8 kB / 3.275 GB, free: 21.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2501/10.25, allocations: 84.04 MB / 3.358 GB, free: 7.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/10.25, allocations: 1.158 MB / 3.359 GB, free: 6.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/10.25, allocations: 409 kB / 3.359 GB, free: 5.973 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/10.25, allocations: 0 / 3.359 GB, free: 5.973 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.348/14.6, allocations: 45.76 MB / 3.404 GB, free: 56.25 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat