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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.00046, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3455, allocations: 48.7 MB / 331.4 MB, free: 6.422 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.044/7.389, allocations: 2.502 GB / 2.826 GB, free: 14.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/7.39, allocations: 83.58 kB / 2.826 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.37/9.76, allocations: 426.7 MB / 3.242 GB, free: 48.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.104e-06/9.76, allocations: 0 / 3.242 GB, free: 48.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/9.76, allocations: 22.25 kB / 3.242 GB, free: 48.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008668/9.768, allocations: 1.805 MB / 3.244 GB, free: 47.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/9.769, allocations: 13.38 kB / 3.244 GB, free: 47.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/9.769, allocations: 100 kB / 3.244 GB, free: 47.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/9.772, allocations: 318 kB / 3.245 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/9.774, allocations: 0.5818 MB / 3.245 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-05/9.774, allocations: 50.53 kB / 3.245 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/9.774, allocations: 54.08 kB / 3.245 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/9.778, allocations: 1.02 MB / 3.246 GB, free: 47.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/9.778, allocations: 4.312 kB / 3.246 GB, free: 47.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/9.778, allocations: 29.8 kB / 3.246 GB, free: 47.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/9.778, allocations: 20 kB / 3.246 GB, free: 47.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/9.782, allocations: 0.9365 MB / 3.247 GB, free: 47.07 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.006828/9.789, allocations: 4.61 MB / 3.252 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/9.793, allocations: 0.7996 MB / 3.252 GB, free: 43.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05489/9.848, allocations: 18.34 MB / 3.27 GB, free: 32.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/9.848, allocations: 37.31 kB / 3.27 GB, free: 32.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/9.848, allocations: 0 / 3.27 GB, free: 32.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.04921/9.897, allocations: 4.754 MB / 3.275 GB, free: 31.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/9.897, allocations: 111.8 kB / 3.275 GB, free: 31.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000711/9.898, allocations: 424 kB / 3.276 GB, free: 31.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/9.898, allocations: 39.36 kB / 3.276 GB, free: 31.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/9.898, allocations: 387.4 kB / 3.276 GB, free: 31.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/9.898, allocations: 219.4 kB / 3.276 GB, free: 31.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/9.899, allocations: 14.16 kB / 3.276 GB, free: 31.06 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/9.899, allocations: 343.3 kB / 3.277 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/9.9, allocations: 417.9 kB / 3.277 GB, free: 30.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/9.902, allocations: 0.6295 MB / 3.278 GB, free: 30.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/9.904, allocations: 474.4 kB / 3.278 GB, free: 30.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/9.904, allocations: 0 / 3.278 GB, free: 30.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004949/9.909, allocations: 1.319 MB / 3.279 GB, free: 30.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006199/9.91, allocations: 2.621 MB / 3.282 GB, free: 27.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/9.91, allocations: 7.469 kB / 3.282 GB, free: 27.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007659/9.917, allocations: 0.9178 MB / 3.283 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/9.919, allocations: 191.6 kB / 3.283 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/9.923, allocations: 1.723 MB / 3.285 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/9.924, allocations: 104.4 kB / 3.285 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001568/9.925, allocations: 55.89 kB / 3.285 GB, free: 26.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/9.925, allocations: 6.344 kB / 3.285 GB, free: 26.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005469/9.93, allocations: 1.308 MB / 3.286 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/9.93, allocations: 11.22 kB / 3.286 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/9.934, allocations: 0.6099 MB / 3.287 GB, free: 26.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/9.935, allocations: 194.3 kB / 3.287 GB, free: 26.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/9.939, allocations: 1.655 MB / 3.288 GB, free: 25.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/9.94, allocations: 111.1 kB / 3.289 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/9.94, allocations: 50.22 kB / 3.289 GB, free: 25.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.000641/9.941, allocations: 302.5 kB / 3.289 GB, free: 25.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/9.941, allocations: 65.25 kB / 3.289 GB, free: 25.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008729/9.95, allocations: 3.657 MB / 3.293 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.676e-05/9.95, allocations: 38.12 kB / 3.293 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/9.95, allocations: 2.344 kB / 3.293 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/9.95, allocations: 7.031 kB / 3.293 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009962/9.96, allocations: 4.861 MB / 3.297 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/9.96, allocations: 0 / 3.297 GB, free: 22.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/9.961, allocations: 142.8 kB / 3.297 GB, free: 22.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007323/9.968, allocations: 1.657 MB / 3.299 GB, free: 22.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/9.968, allocations: 25.23 kB / 3.299 GB, free: 22.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/9.972, allocations: 2.376 MB / 3.301 GB, free: 20.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/9.972, allocations: 3.953 kB / 3.301 GB, free: 20.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005888/9.978, allocations: 2.512 MB / 3.304 GB, free: 19.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/9.979, allocations: 322 kB / 3.304 GB, free: 19.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/9.979, allocations: 19.69 kB / 3.304 GB, free: 19.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/9.98, allocations: 110 kB / 3.304 GB, free: 19.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/9.981, allocations: 65.7 kB / 3.304 GB, free: 19.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/9.981, allocations: 32.42 kB / 3.304 GB, free: 19.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006524/9.981, allocations: 417.3 kB / 3.305 GB, free: 19.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/9.981, allocations: 0 / 3.305 GB, free: 19.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007066/9.988, allocations: 1.552 MB / 3.306 GB, free: 18.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0168/10.01, allocations: 4.717 MB / 3.311 GB, free: 16.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007942/10.01, allocations: 2.044 MB / 3.313 GB, free: 16.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/10.01, allocations: 4 kB / 3.313 GB, free: 16.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002806/10.02, allocations: 1.043 MB / 3.314 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/10.02, allocations: 289.4 kB / 3.314 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5841/10.6, allocations: 83 MB / 3.395 GB, free: 53.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/10.6, allocations: 1.139 MB / 3.396 GB, free: 52.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007619/10.6, allocations: 403.7 kB / 3.397 GB, free: 52.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/10.6, allocations: 0 / 3.397 GB, free: 52.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.917/14.52, allocations: 48.04 MB / 3.444 GB, free: 49.59 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat