Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01159/0.01159, allocations: 108.7 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001249/0.001249, allocations: 179.8 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.933/1.933, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2628/0.2628, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 12 kB / 361.2 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 54.88 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.3617/0.4751, allocations: 35.25 MB / 451.3 MB, free: 32.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02868/0.5039, allocations: 17.82 MB / 469.1 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5049, allocations: 28 kB / 469.1 MB, free: 32.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.5066, allocations: 431.3 kB / 469.5 MB, free: 32.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01623/0.5229, allocations: 4.154 MB / 473.7 MB, free: 31.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.5347, allocations: 2.914 MB / 476.6 MB, free: 31.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002245/0.5369, allocations: 1.017 MB / 477.6 MB, free: 31.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007786/0.5377, allocations: 369.6 kB / 478 MB, free: 31.49 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.5397, allocations: 0.6405 MB / 478.6 MB, free: 31.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01674/0.5565, allocations: 6.302 MB / 484.9 MB, free: 30.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.5567, allocations: 30.12 kB / 485 MB, free: 30.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02236/0.5791, allocations: 7.6 MB / 492.6 MB, free: 29.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004132/0.5796, allocations: 146.9 kB / 492.7 MB, free: 29.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004229/0.58, allocations: 173.1 kB / 492.9 MB, free: 29.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.591, allocations: 3.58 MB / 496.5 MB, free: 28.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.591, allocations: 0 / 496.5 MB, free: 28.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.591, allocations: 0 / 496.5 MB, free: 28.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.217e-05/0.5911, allocations: 1.25 kB / 496.5 MB, free: 28.54 MB / 378.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.0077/0.5988, allocations: 1.559 MB / 498 MB, free: 27.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5989, allocations: 8.219 kB / 498 MB, free: 27.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/0.5992, allocations: 108.9 kB / 498.1 MB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.603, allocations: 332.2 kB / 498.5 MB, free: 27.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.6045, allocations: 0.5286 MB / 499 MB, free: 27.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.6046, allocations: 48.7 kB / 499 MB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.6048, allocations: 63.47 kB / 499.1 MB, free: 27.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.6088, allocations: 0.9944 MB / 0.4884 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.6089, allocations: 4.938 kB / 0.4884 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.609, allocations: 28.2 kB / 0.4884 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.6091, allocations: 29.72 kB / 0.4884 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.6135, allocations: 0.9261 MB / 0.4893 GB, free: 26.35 MB / 378.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.007681/0.6213, allocations: 4.93 MB / 0.4941 GB, free: 22.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.6252, allocations: 0.7879 MB / 0.4949 GB, free: 21.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07011/0.6954, allocations: 21.93 MB / 0.5163 GB, free: 18.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.6954, allocations: 38.94 kB / 0.5164 GB, free: 18.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/0.6955, allocations: 0 / 0.5164 GB, free: 18.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.04717/0.7426, allocations: 4.122 MB / 0.5204 GB, free: 14.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.7428, allocations: 119.3 kB / 0.5205 GB, free: 14.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.7436, allocations: 490.8 kB / 0.521 GB, free: 13.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.7438, allocations: 37.7 kB / 0.521 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.744, allocations: 347 kB / 0.5213 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.7443, allocations: 218.4 kB / 0.5216 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.7444, allocations: 12 kB / 0.5216 GB, free: 13.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.7445, allocations: 370.8 kB / 0.5219 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.7461, allocations: 409.8 kB / 0.5223 GB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.7479, allocations: 0.6059 MB / 0.5229 GB, free: 11.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.7497, allocations: 465.9 kB / 0.5233 GB, free: 11.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.7498, allocations: 4 kB / 0.5233 GB, free: 11.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005404/0.7552, allocations: 1.32 MB / 0.5246 GB, free: 9.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000944/0.7562, allocations: 2.436 MB / 0.527 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.7562, allocations: 12 kB / 0.527 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009497/0.7658, allocations: 1.026 MB / 0.528 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.767, allocations: 167.8 kB / 0.5282 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.7715, allocations: 1.738 MB / 0.5299 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.7732, allocations: 103.9 kB / 0.53 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.7734, allocations: 43.98 kB / 0.53 GB, free: 4.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7735, allocations: 6.812 kB / 0.53 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005564/0.779, allocations: 1.252 MB / 0.5313 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.7791, allocations: 8 kB / 0.5313 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0054/0.7845, allocations: 0.689 MB / 0.5319 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7857, allocations: 175.7 kB / 0.5321 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/0.7895, allocations: 1.676 MB / 0.5337 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.7911, allocations: 107.8 kB / 0.5338 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.7912, allocations: 43.92 kB / 0.5339 GB, free: 228 kB / 394.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 (69): * Single equations (assignments): 67 * 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.0006498/0.7919, allocations: 311.5 kB / 0.5342 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.7921, allocations: 63.25 kB / 0.5342 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/0.8013, allocations: 3.894 MB / 0.538 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-05/0.8014, allocations: 51.86 kB / 0.5381 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.8015, allocations: 3.953 kB / 0.5381 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/0.8015, allocations: 3.984 kB / 0.5381 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.8129, allocations: 5.216 MB / 0.5432 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.813, allocations: 4 kB / 0.5432 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.8138, allocations: 111.9 kB / 0.5433 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008564/0.8224, allocations: 1.711 MB / 0.545 GB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.8226, allocations: 23.98 kB / 0.545 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/0.8275, allocations: 2.428 MB / 0.5474 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8275, allocations: 3.312 kB / 0.5474 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/0.8342, allocations: 2.666 MB / 0.55 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/0.835, allocations: 354.7 kB / 0.5503 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.8352, allocations: 15.94 kB / 0.5503 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.8364, allocations: 99.77 kB / 0.5504 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.8366, allocations: 64.56 kB / 0.5505 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8367, allocations: 27.98 kB / 0.5505 GB, free: 14.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007992/0.8376, allocations: 431 kB / 0.5509 GB, free: 14.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8376, allocations: 0 / 0.5509 GB, free: 14.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007882/0.8455, allocations: 1.456 MB / 0.5523 GB, free: 13.03 MB / 426.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (51): * Single equations (assignments): 40 * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01916/0.8647, allocations: 4.413 MB / 0.5567 GB, free: 8.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008371/0.8731, allocations: 2.107 MB / 0.5587 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.8731, allocations: 0 / 0.5587 GB, free: 6.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003227/0.8764, allocations: 1.149 MB / 0.5598 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.8791, allocations: 300.4 kB / 0.5601 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.8926, allocations: 8.432 MB / 0.5684 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000924/0.8936, allocations: 1.194 MB / 0.5695 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002167/0.8958, allocations: 0.7285 MB / 0.5702 GB, free: 10.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/0.8966, allocations: 435.3 kB / 0.5706 GB, free: 10.19 MB / 442.7 MB Notification: Performance of SimCode: time 9.81e-07/0.8967, allocations: 0 / 0.5706 GB, free: 10.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4645/1.361, allocations: 68.55 MB / 0.6376 GB, free: 163.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/1.362, allocations: 270 kB / 0.6378 GB, free: 162.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/8.143, allocations: 3.219 kB / 0.6378 GB, free: 162.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat