Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01124/0.01124, allocations: 104.9 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001198/0.001198, allocations: 167.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.659/1.659, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2457/0.2457, allocations: 38.1 MB / 265.1 MB, free: 3.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004619, allocations: 16 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08842/0.08892, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.05619/0.1452, allocations: 35 MB / 407.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.1797, allocations: 17.7 MB / 425 MB, free: 8.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1808, allocations: 27.75 kB / 425 MB, free: 7.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.1826, allocations: 442 kB / 425.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.1998, allocations: 4.102 MB / 429.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.212, allocations: 2.9 MB / 432.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.282/0.494, allocations: 0.9914 MB / 433.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009866/0.4951, allocations: 380.3 kB / 433.8 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.4972, allocations: 0.634 MB / 434.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01816/0.5154, allocations: 6.225 MB / 440.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.5157, allocations: 32.33 kB / 440.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01921/0.535, allocations: 7.475 MB / 448.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.5354, allocations: 143.5 kB / 448.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.5358, allocations: 176.6 kB / 448.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008842/0.5446, allocations: 3.537 MB / 452 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5447, allocations: 0 / 452 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5447, allocations: 0 / 452 MB, free: 14.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.5447, allocations: 4 kB / 452 MB, free: 14.23 MB / 330.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.005401/0.5501, allocations: 1.53 MB / 453.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.5502, allocations: 10.78 kB / 453.6 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.5504, allocations: 97.62 kB / 453.7 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.5538, allocations: 329.6 kB / 454 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5552, allocations: 0.5276 MB / 454.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.5553, allocations: 50.69 kB / 454.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5554, allocations: 55.69 kB / 454.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.5592, allocations: 0.9993 MB / 455.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.5593, allocations: 5.688 kB / 455.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5594, allocations: 23.81 kB / 455.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.5595, allocations: 27.03 kB / 455.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004205/0.5637, allocations: 0.924 MB / 456.6 MB, free: 12.7 MB / 330.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.007073/0.5708, allocations: 4.929 MB / 461.5 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.5745, allocations: 0.7962 MB / 462.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06941/0.644, allocations: 21.82 MB / 484.1 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/0.6441, allocations: 43.11 kB / 484.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.055e-06/0.6441, allocations: 0 / 484.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.04764/0.6917, allocations: 4.131 MB / 488.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.6919, allocations: 111.4 kB / 488.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.6929, allocations: 496.1 kB / 488.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001696/0.6931, allocations: 37.2 kB / 489 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.6934, allocations: 357.4 kB / 489.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.6937, allocations: 210.9 kB / 489.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.6938, allocations: 17 kB / 489.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.694, allocations: 381.4 kB / 489.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.6958, allocations: 401.4 kB / 490.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.6977, allocations: 0.6095 MB / 490.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.6999, allocations: 456.8 kB / 491.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.6999, allocations: 4 kB / 491.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00692/0.7068, allocations: 1.316 MB / 492.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001363/0.7082, allocations: 2.442 MB / 495.1 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.7083, allocations: 4 kB / 495.1 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01228/0.7206, allocations: 1.032 MB / 496.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.7223, allocations: 162.7 kB / 496.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/0.7282, allocations: 1.74 MB / 498 MB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.7302, allocations: 96.42 kB / 498.1 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.7305, allocations: 48.97 kB / 498.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7305, allocations: 4 kB / 498.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00729/0.7378, allocations: 1.256 MB / 499.4 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.7378, allocations: 6.625 kB / 499.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007157/0.745, allocations: 0.6847 MB / 0.4884 GB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.7466, allocations: 178.9 kB / 0.4886 GB, free: 4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.7518, allocations: 1.679 MB / 0.4902 GB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.7537, allocations: 107.8 kB / 0.4903 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.7539, allocations: 41.22 kB / 0.4904 GB, free: 2.379 MB / 362.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.0008033/0.7547, allocations: 299.7 kB / 0.4906 GB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.755, allocations: 71.16 kB / 0.4907 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.7672, allocations: 3.903 MB / 0.4945 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.111e-05/0.7674, allocations: 41.56 kB / 0.4946 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7674, allocations: 0 / 0.4946 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.7674, allocations: 3.984 kB / 0.4946 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.7824, allocations: 5.24 MB / 0.4997 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.7825, allocations: 8.031 kB / 0.4997 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.7833, allocations: 112.4 kB / 0.4998 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008518/0.7919, allocations: 1.708 MB / 0.5015 GB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.7921, allocations: 21.98 kB / 0.5015 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.7969, allocations: 2.428 MB / 0.5039 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.797, allocations: 3.984 kB / 0.5039 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00668/0.8037, allocations: 2.661 MB / 0.5065 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/0.8045, allocations: 363.7 kB / 0.5068 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.8047, allocations: 11.81 kB / 0.5068 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.8059, allocations: 91.3 kB / 0.5069 GB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.8062, allocations: 63.3 kB / 0.507 GB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.8063, allocations: 30.3 kB / 0.507 GB, free: 6.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008901/0.8072, allocations: 435.8 kB / 0.5074 GB, free: 5.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8073, allocations: 0 / 0.5074 GB, free: 5.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007785/0.8151, allocations: 1.436 MB / 0.5088 GB, free: 4.516 MB / 378.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.03765/0.8528, allocations: 4.422 MB / 0.5131 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02354/0.8763, allocations: 2.118 MB / 0.5152 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/0.8764, allocations: 0 / 0.5152 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004323/0.8808, allocations: 1.145 MB / 0.5163 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007551/0.8883, allocations: 290.2 kB / 0.5166 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.908, allocations: 8.424 MB / 0.5248 GB, free: 6.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.9096, allocations: 1.19 MB / 0.526 GB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002814/0.9124, allocations: 0.7401 MB / 0.5267 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/0.9133, allocations: 431.3 kB / 0.5271 GB, free: 3.855 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9133, allocations: 2.516 kB / 0.5271 GB, free: 3.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4382/1.351, allocations: 68.21 MB / 0.5937 GB, free: 179.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.352, allocations: 269.9 kB / 0.594 GB, free: 179 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.905/8.257, allocations: 1.312 kB / 0.594 GB, free: 179 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat