Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 109.2 kB / 17.17 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 194.9 kB / 18.08 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4021/0.4021, allocations: 48.83 MB / 320.1 MB, free: 11.31 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 66.47 kB / 390 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1565, allocations: 59.17 MB / 449.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.04865/0.2052, allocations: 35.5 MB / 484.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.2195, allocations: 9.333 MB / 494 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.2203, allocations: 15.88 kB / 494 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.2209, allocations: 115.3 kB / 494.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.2219, allocations: 250.7 kB / 494.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01401/0.2359, allocations: 3.564 MB / 497.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.2372, allocations: 0.7828 MB / 498.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.2376, allocations: 188.8 kB / 498.9 MB, free: 8.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009279/0.2385, allocations: 446.7 kB / 499.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004231/0.2389, allocations: 278.9 kB / 499.6 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.239, allocations: 12 kB / 499.6 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.2521, allocations: 6.157 MB / 0.4939 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2523, allocations: 71.67 kB / 0.494 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.2527, allocations: 167.1 kB / 0.4942 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005995/0.2587, allocations: 2.464 MB / 0.4966 GB, free: 14.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2587, allocations: 0 / 0.4966 GB, free: 14.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2587, allocations: 0 / 0.4966 GB, free: 14.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.2588, allocations: 0 / 0.4966 GB, free: 14.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00342/0.2622, allocations: 1.034 MB / 0.4976 GB, free: 13.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.2623, allocations: 12.03 kB / 0.4976 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.2625, allocations: 52.45 kB / 0.4976 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/0.263, allocations: 303.3 kB / 0.4979 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.2631, allocations: 46.83 kB / 0.498 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.2631, allocations: 36 kB / 0.498 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.2639, allocations: 333.3 kB / 0.4983 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.264, allocations: 4 kB / 0.4983 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.264, allocations: 8 kB / 0.4983 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.264, allocations: 8 kB / 0.4983 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008014/0.2648, allocations: 266 kB / 0.4986 GB, free: 12.55 MB / 398.1 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.001878/0.2667, allocations: 1.427 MB / 0.5 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/0.2674, allocations: 206.7 kB / 0.5002 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.2678, allocations: 112.8 kB / 0.5003 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.39/0.6578, allocations: 32.1 MB / 0.5316 GB, free: 81.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.6579, allocations: 32.58 kB / 0.5317 GB, free: 80.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=20): time 3.447e-06/0.6579, allocations: 0 / 0.5317 GB, free: 80.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.003445/0.6614, allocations: 0.6641 MB / 0.5323 GB, free: 80.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.6614, allocations: 52.78 kB / 0.5324 GB, free: 80.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.6619, allocations: 279.8 kB / 0.5326 GB, free: 80.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.6619, allocations: 30.36 kB / 0.5327 GB, free: 80.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.6621, allocations: 171.3 kB / 0.5328 GB, free: 80.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.6622, allocations: 70.61 kB / 0.5329 GB, free: 80.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.6624, allocations: 55.36 kB / 0.5329 GB, free: 80.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6625, allocations: 338.8 kB / 0.5333 GB, free: 80.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.6629, allocations: 98.16 kB / 0.5334 GB, free: 80.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.6634, allocations: 129.9 kB / 0.5335 GB, free: 80.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.6641, allocations: 229.2 kB / 0.5337 GB, free: 80.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6641, allocations: 0 / 0.5337 GB, free: 80.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001182/0.6653, allocations: 359.4 kB / 0.534 GB, free: 80.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/0.6654, allocations: 4.125 kB / 0.5341 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6654, allocations: 2.953 kB / 0.5341 GB, free: 80.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.6661, allocations: 108.7 kB / 0.5342 GB, free: 80.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.6664, allocations: 46.39 kB / 0.5342 GB, free: 80.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006587/0.6671, allocations: 0.6362 MB / 0.5348 GB, free: 79.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.6674, allocations: 49.91 kB / 0.5349 GB, free: 79.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.6675, allocations: 8.766 kB / 0.5349 GB, free: 79.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004334/0.6679, allocations: 191.6 kB / 0.5351 GB, free: 79.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003361/0.6683, allocations: 125.6 kB / 0.5352 GB, free: 79.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006074/0.6689, allocations: 212.4 kB / 0.5354 GB, free: 79.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.6689, allocations: 0 / 0.5354 GB, free: 79.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0009749/0.6699, allocations: 341.2 kB / 0.5357 GB, free: 79.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.6699, allocations: 6.812 kB / 0.5357 GB, free: 79.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6699, allocations: 2.438 kB / 0.5357 GB, free: 79.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.6702, allocations: 64.02 kB / 0.5358 GB, free: 79.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.6704, allocations: 49.03 kB / 0.5358 GB, free: 79.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.6725, allocations: 1.658 MB / 0.5374 GB, free: 77.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.6728, allocations: 41.55 kB / 0.5375 GB, free: 77.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.6729, allocations: 8.031 kB / 0.5375 GB, free: 77.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.673, allocations: 194 kB / 0.5377 GB, free: 77.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.6731, allocations: 36.75 kB / 0.5377 GB, free: 77.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.6749, allocations: 0.6051 MB / 0.5383 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.675, allocations: 4.203 kB / 0.5383 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.675, allocations: 1.125 kB / 0.5383 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.675, allocations: 1.547 kB / 0.5383 GB, free: 77.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008114/0.6758, allocations: 414.1 kB / 0.5387 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6758, allocations: 1.625 kB / 0.5387 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.6762, allocations: 44 kB / 0.5387 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.6772, allocations: 359.5 kB / 0.5391 GB, free: 77.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.6773, allocations: 1.969 kB / 0.5391 GB, free: 77.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.6785, allocations: 0.8559 MB / 0.5399 GB, free: 76.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.6785, allocations: 4.875 kB / 0.5399 GB, free: 76.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.6805, allocations: 0.8273 MB / 0.5407 GB, free: 76.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.6807, allocations: 125.6 kB / 0.5409 GB, free: 76.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.6807, allocations: 2.062 kB / 0.5409 GB, free: 76.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.6811, allocations: 34.92 kB / 0.5409 GB, free: 76.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6812, allocations: 23.67 kB / 0.5409 GB, free: 76.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.6812, allocations: 7.688 kB / 0.5409 GB, free: 76.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002674/0.6815, allocations: 202.7 kB / 0.5411 GB, free: 76.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6815, allocations: 0 / 0.5411 GB, free: 76.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004329/0.6858, allocations: 0.9117 MB / 0.542 GB, free: 75.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006296/0.6921, allocations: 1.03 MB / 0.543 GB, free: 75.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.694, allocations: 0.5331 MB / 0.5435 GB, free: 75.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.694, allocations: 0 / 0.5435 GB, free: 75.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/0.6947, allocations: 201.3 kB / 0.5437 GB, free: 75.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.6957, allocations: 131.6 kB / 0.5439 GB, free: 75.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.6977, allocations: 0.9024 MB / 0.5447 GB, free: 74.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.6981, allocations: 0.7896 MB / 0.5455 GB, free: 74.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6983, allocations: 28.88 kB / 0.5455 GB, free: 74.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6983, allocations: 3.828 kB / 0.5455 GB, free: 74.15 MB / 414.1 MB Notification: Performance of Templates: time 0.04288/0.7412, allocations: 19.88 MB / 0.5649 GB, free: 60.04 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPump.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.WaterPumpCalcHelperMain.o] Error 1