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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005986/0.0005988, allocations: 12 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3547, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.081/7.436, allocations: 2.503 GB / 2.826 GB, free: 13.3 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/7.437, allocations: 86.2 kB / 2.826 GB, free: 13.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.452/9.889, allocations: 427.7 MB / 3.244 GB, free: 48.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.655e-06/9.889, allocations: 0 / 3.244 GB, free: 48.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.459e-05/9.889, allocations: 25.3 kB / 3.244 GB, free: 48.65 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.008682/9.898, allocations: 1.817 MB / 3.246 GB, free: 47.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/9.898, allocations: 9 kB / 3.246 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003733/9.898, allocations: 102.7 kB / 3.246 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/9.902, allocations: 322.6 kB / 3.246 GB, free: 47.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/9.904, allocations: 0.5871 MB / 3.247 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/9.904, allocations: 49.59 kB / 3.247 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/9.904, allocations: 57.83 kB / 3.247 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/9.908, allocations: 1.016 MB / 3.248 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/9.909, allocations: 0 / 3.248 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/9.909, allocations: 36.25 kB / 3.248 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/9.909, allocations: 23.84 kB / 3.248 GB, free: 47.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/9.913, allocations: 0.9261 MB / 3.249 GB, free: 47.24 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.008176/9.921, allocations: 4.751 MB / 3.253 GB, free: 44.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/9.925, allocations: 0.8165 MB / 3.254 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07013/9.996, allocations: 21.33 MB / 3.275 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/9.996, allocations: 37.88 kB / 3.275 GB, free: 30.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 4.268e-06/9.996, allocations: 0 / 3.275 GB, free: 30.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.04973/10.05, allocations: 4.83 MB / 3.28 GB, free: 29.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/10.05, allocations: 114.8 kB / 3.28 GB, free: 29.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/10.05, allocations: 449 kB / 3.28 GB, free: 29.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/10.05, allocations: 39.58 kB / 3.28 GB, free: 29.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/10.05, allocations: 389.8 kB / 3.281 GB, free: 29.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/10.05, allocations: 232.1 kB / 3.281 GB, free: 28.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/10.05, allocations: 16.06 kB / 3.281 GB, free: 28.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/10.05, allocations: 338.7 kB / 3.281 GB, free: 28.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/10.05, allocations: 464.8 kB / 3.282 GB, free: 28.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/10.06, allocations: 0.6714 MB / 3.282 GB, free: 28.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/10.06, allocations: 0.4971 MB / 3.283 GB, free: 28.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/10.06, allocations: 4 kB / 3.283 GB, free: 28.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.007705/10.07, allocations: 1.476 MB / 3.284 GB, free: 28.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005576/10.07, allocations: 2.448 MB / 3.287 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/10.07, allocations: 7.812 kB / 3.287 GB, free: 25.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/10.08, allocations: 1.456 MB / 3.288 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/10.08, allocations: 170.8 kB / 3.288 GB, free: 25.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/10.08, allocations: 1.911 MB / 3.29 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/10.09, allocations: 119.1 kB / 3.29 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/10.09, allocations: 54.91 kB / 3.29 GB, free: 24.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/10.09, allocations: 3.25 kB / 3.29 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005931/10.09, allocations: 1.421 MB / 3.292 GB, free: 24.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/10.09, allocations: 4.812 kB / 3.292 GB, free: 24.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005754/10.1, allocations: 0.8276 MB / 3.292 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/10.1, allocations: 180.9 kB / 3.293 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003762/10.1, allocations: 1.785 MB / 3.294 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/10.11, allocations: 127 kB / 3.294 GB, free: 23.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/10.11, allocations: 49.97 kB / 3.295 GB, free: 23.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0006802/10.11, allocations: 306.5 kB / 3.295 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/10.11, allocations: 67.97 kB / 3.295 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008637/10.11, allocations: 4.031 MB / 3.299 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/10.11, allocations: 51.88 kB / 3.299 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/10.11, allocations: 7.938 kB / 3.299 GB, free: 21.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/10.11, allocations: 3.797 kB / 3.299 GB, free: 21.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/10.13, allocations: 5.512 MB / 3.304 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/10.13, allocations: 3.953 kB / 3.304 GB, free: 19.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/10.13, allocations: 111.5 kB / 3.304 GB, free: 19.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/10.14, allocations: 2.171 MB / 3.307 GB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/10.14, allocations: 25.55 kB / 3.307 GB, free: 18.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004741/10.14, allocations: 2.59 MB / 3.309 GB, free: 16.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/10.14, allocations: 3.75 kB / 3.309 GB, free: 16.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007523/10.15, allocations: 2.95 MB / 3.312 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/10.15, allocations: 349.4 kB / 3.312 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/10.15, allocations: 15.86 kB / 3.312 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/10.15, allocations: 114.6 kB / 3.312 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/10.15, allocations: 68.48 kB / 3.312 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.772e-05/10.15, allocations: 29.7 kB / 3.313 GB, free: 15.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007639/10.16, allocations: 444 kB / 3.313 GB, free: 15.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/10.16, allocations: 0 / 3.313 GB, free: 15.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007334/10.16, allocations: 1.582 MB / 3.314 GB, free: 14.83 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01829/10.18, allocations: 5.026 MB / 3.319 GB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007985/10.19, allocations: 2.281 MB / 3.322 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/10.19, allocations: 0 / 3.322 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003299/10.19, allocations: 1.205 MB / 3.323 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/10.2, allocations: 311 kB / 3.323 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5856/10.78, allocations: 82.53 MB / 3.404 GB, free: 52.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/10.78, allocations: 1.191 MB / 3.405 GB, free: 51.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008312/10.78, allocations: 448.8 kB / 3.405 GB, free: 51.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.072e-06/10.78, allocations: 0 / 3.405 GB, free: 51.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.992/14.78, allocations: 49.93 MB / 3.454 GB, free: 48.46 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat