Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 95.52 kB / 16.95 MB, free: 6.004 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.001398/0.001398, allocations: 180.2 kB / 17.84 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4223/0.4223, allocations: 48.77 MB / 321.1 MB, free: 11.23 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.0005868/0.0005868, allocations: 16.22 kB / 391.8 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1541, allocations: 60.27 MB / 452.1 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.04613/0.2003, allocations: 37.32 MB / 489.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.2199, allocations: 14.13 MB / 0.4917 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.221, allocations: 15.88 kB / 0.4917 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.222, allocations: 170.9 kB / 0.4919 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01935/0.2414, allocations: 3.651 MB / 0.4955 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005243/0.2467, allocations: 0.9529 MB / 0.4964 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.25, allocations: 1.777 MB / 0.4981 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.251, allocations: 428.5 kB / 0.4985 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.2522, allocations: 486.3 kB / 0.499 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.2534, allocations: 0.6152 MB / 0.4996 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.2535, allocations: 40 kB / 0.4996 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/0.2718, allocations: 5.981 MB / 0.5055 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000696/0.2726, allocations: 323.1 kB / 0.5058 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.2731, allocations: 209.2 kB / 0.506 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009582/0.2827, allocations: 2.997 MB / 0.5089 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.2828, allocations: 0 / 0.5089 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.2828, allocations: 0 / 0.5089 GB, free: 4.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.2828, allocations: 0 / 0.5089 GB, free: 4.285 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.00774/0.2906, allocations: 1.6 MB / 0.5105 GB, free: 2.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.2907, allocations: 16 kB / 0.5105 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.2926, allocations: 250.7 kB / 0.5107 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.2943, allocations: 0.6154 MB / 0.5113 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.2944, allocations: 62 kB / 0.5114 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.2946, allocations: 84 kB / 0.5115 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007234/0.3018, allocations: 2.209 MB / 0.5136 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.3019, allocations: 4 kB / 0.5136 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.302, allocations: 39.95 kB / 0.5137 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.3021, allocations: 45.92 kB / 0.5137 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/0.3086, allocations: 2.205 MB / 0.5159 GB, free: 13.04 MB / 414.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.00843/0.3171, allocations: 4.833 MB / 0.5206 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.3212, allocations: 1.407 MB / 0.522 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.322, allocations: 374.3 kB / 0.5223 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4959/0.8179, allocations: 64.58 MB / 0.5854 GB, free: 19.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.8181, allocations: 41 kB / 0.5854 GB, free: 19.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 4.017e-06/0.8181, allocations: 0 / 0.5854 GB, free: 19.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.008684/0.8268, allocations: 2.938 MB / 0.5883 GB, free: 16.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.8269, allocations: 59.97 kB / 0.5884 GB, free: 16.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.8274, allocations: 497.5 kB / 0.5888 GB, free: 16.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/0.8275, allocations: 36.48 kB / 0.5889 GB, free: 16.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.8278, allocations: 378.5 kB / 0.5892 GB, free: 16.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.828, allocations: 243.9 kB / 0.5895 GB, free: 16.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/0.8281, allocations: 14.38 kB / 0.5895 GB, free: 16.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8282, allocations: 376.3 kB / 0.5898 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000853/0.8291, allocations: 0.6142 MB / 0.5904 GB, free: 15.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.8301, allocations: 0.7558 MB / 0.5912 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.831, allocations: 0.6621 MB / 0.5918 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.831, allocations: 4 kB / 0.5918 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003511/0.8345, allocations: 2.232 MB / 0.594 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.8346, allocations: 160.5 kB / 0.5941 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8347, allocations: 4 kB / 0.5942 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/0.838, allocations: 1.73 MB / 0.5958 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.8384, allocations: 86.2 kB / 0.5959 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.8418, allocations: 2.4 MB / 0.5983 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/0.8427, allocations: 137.8 kB / 0.5984 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.8429, allocations: 91.97 kB / 0.5985 GB, free: 9.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8429, allocations: 4 kB / 0.5985 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003389/0.8463, allocations: 2.138 MB / 0.6006 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8463, allocations: 4 kB / 0.6006 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.8494, allocations: 1.729 MB / 0.6023 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.8497, allocations: 90.48 kB / 0.6024 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/0.853, allocations: 2.385 MB / 0.6047 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.854, allocations: 128.2 kB / 0.6048 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.8541, allocations: 88.47 kB / 0.6049 GB, free: 4.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006811/0.8548, allocations: 367.2 kB / 0.6052 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.855, allocations: 63.25 kB / 0.6053 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.8662, allocations: 10.16 MB / 0.6152 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.8663, allocations: 23.97 kB / 0.6153 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.8663, allocations: 8 kB / 0.6153 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.8663, allocations: 3.984 kB / 0.6153 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.8715, allocations: 4.722 MB / 0.6199 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8715, allocations: 3.984 kB / 0.6199 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008091/0.8724, allocations: 151 kB / 0.62 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.8739, allocations: 421 kB / 0.6204 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.874, allocations: 25.62 kB / 0.6204 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005857/0.8798, allocations: 4.17 MB / 0.6245 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8799, allocations: 0 / 0.6245 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.8853, allocations: 2.576 MB / 0.627 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/0.8861, allocations: 264.8 kB / 0.6273 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.8862, allocations: 19.66 kB / 0.6273 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/0.887, allocations: 79.83 kB / 0.6274 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.8872, allocations: 52.58 kB / 0.6274 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/0.8873, allocations: 23.97 kB / 0.6275 GB, free: 13.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006104/0.8879, allocations: 338.9 kB / 0.6278 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8879, allocations: 4 kB / 0.6278 GB, free: 13.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005451/0.8934, allocations: 1.303 MB / 0.6291 GB, free: 12.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004195/0.8976, allocations: 0.9833 MB / 0.63 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004986/0.9026, allocations: 2.531 MB / 0.6325 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9026, allocations: 8.031 kB / 0.6325 GB, free: 8.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.9045, allocations: 1.087 MB / 0.6336 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.9062, allocations: 298.4 kB / 0.6338 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.9109, allocations: 3.05 MB / 0.6368 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/0.9117, allocations: 1.117 MB / 0.6379 GB, free: 3.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.912, allocations: 67.41 kB / 0.638 GB, free: 3.055 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.912, allocations: 0 / 0.638 GB, free: 3.055 MB / 446.1 MB Notification: Performance of Templates: time 0.05785/0.9699, allocations: 34.1 MB / 0.6713 GB, free: 1 MB / 478.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DCalcHelperMain.o] Error 1