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.0006815/0.0006813, allocations: 91.47 kB / 17.31 MB, free: 5.59 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.0007082/0.0007084, allocations: 180.4 kB / 18.21 MB, free: 5.191 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.15/1.15, allocations: 205.4 MB / 224.4 MB, free: 12.93 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2238/0.2238, allocations: 48.79 MB / 321.5 MB, free: 11.07 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.0004641/0.000464, allocations: 13.67 kB / 392.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08088, allocations: 60.27 MB / 452.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.03466/0.1156, allocations: 40.15 MB / 492.9 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.131, allocations: 15.93 MB / 0.4969 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.1315, allocations: 15.88 kB / 0.4969 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.132, allocations: 187 kB / 0.4971 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00766/0.1396, allocations: 3.723 MB / 0.5007 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.1421, allocations: 1.047 MB / 0.5017 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.1437, allocations: 2.136 MB / 0.5038 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.1442, allocations: 461.7 kB / 0.5043 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.1446, allocations: 478.2 kB / 0.5047 GB, free: 8.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.1453, allocations: 0.6228 MB / 0.5053 GB, free: 8.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.072e-05/0.1453, allocations: 40 kB / 0.5054 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008385/0.1537, allocations: 6.196 MB / 0.5114 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.154, allocations: 319 kB / 0.5117 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.1544, allocations: 0.4993 MB / 0.5122 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.1571, allocations: 3.001 MB / 0.5151 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1571, allocations: 4 kB / 0.5151 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1571, allocations: 0 / 0.5151 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.1571, allocations: 0 / 0.5151 GB, free: 14.14 MB / 414.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.003361/0.1605, allocations: 1.599 MB / 0.5167 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1605, allocations: 8.031 kB / 0.5167 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1617, allocations: 255.6 kB / 0.517 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.1626, allocations: 0.6243 MB / 0.5176 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.1627, allocations: 62.38 kB / 0.5176 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.1628, allocations: 92.28 kB / 0.5177 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004481/0.1673, allocations: 2.22 MB / 0.5199 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1673, allocations: 0 / 0.5199 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-05/0.1674, allocations: 36 kB / 0.5199 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.1675, allocations: 45.97 kB / 0.52 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004589/0.1721, allocations: 2.217 MB / 0.5221 GB, free: 6.871 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.004782/0.1769, allocations: 4.833 MB / 0.5268 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003356/0.1802, allocations: 1.404 MB / 0.5282 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1659/0.3461, allocations: 370.8 kB / 0.5286 GB, free: 61.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.103/0.4492, allocations: 64.59 MB / 0.5916 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.4492, allocations: 35 kB / 0.5917 GB, free: 12.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 2.305e-06/0.4492, allocations: 7.969 kB / 0.5917 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.007918/0.4572, allocations: 2.896 MB / 0.5945 GB, free: 9.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.4572, allocations: 59.97 kB / 0.5946 GB, free: 9.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.4577, allocations: 499.7 kB / 0.5951 GB, free: 9.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.4578, allocations: 40.45 kB / 0.5951 GB, free: 9.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.4579, allocations: 371.8 kB / 0.5954 GB, free: 9.184 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4581, allocations: 251.2 kB / 0.5957 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.4583, allocations: 65.44 kB / 0.5957 GB, free: 8.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.4584, allocations: 379.2 kB / 0.5961 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007933/0.4592, allocations: 0.6275 MB / 0.5967 GB, free: 8.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.46, allocations: 0.7561 MB / 0.5975 GB, free: 7.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4616, allocations: 1.348 MB / 0.5988 GB, free: 6.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4616, allocations: 0 / 0.5988 GB, free: 6.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003335/0.465, allocations: 2.261 MB / 0.601 GB, free: 5.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.4651, allocations: 165.7 kB / 0.6011 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4651, allocations: 4 kB / 0.6011 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00318/0.4683, allocations: 1.732 MB / 0.6028 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.4686, allocations: 88.64 kB / 0.6029 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.4716, allocations: 2.4 MB / 0.6053 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.4724, allocations: 133 kB / 0.6054 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4725, allocations: 88.28 kB / 0.6055 GB, free: 1.492 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.4725, allocations: 9.969 kB / 0.6055 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003224/0.4758, allocations: 2.159 MB / 0.6076 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4758, allocations: 0 / 0.6076 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.4792, allocations: 1.732 MB / 0.6093 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.4795, allocations: 89.95 kB / 0.6094 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.483, allocations: 2.403 MB / 0.6117 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007902/0.4838, allocations: 123.4 kB / 0.6118 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.4839, allocations: 91.91 kB / 0.6119 GB, free: 11.2 MB / 430.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 (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 {(5,37)} Notification: Performance of prepare postOptimizeDAE: time 0.000482/0.4844, allocations: 362 kB / 0.6123 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.4846, allocations: 65.06 kB / 0.6123 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009236/0.4938, allocations: 10.16 MB / 0.6223 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.4938, allocations: 23.97 kB / 0.6223 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.4938, allocations: 0 / 0.6223 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4939, allocations: 5.078 kB / 0.6223 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003705/0.4976, allocations: 4.725 MB / 0.6269 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4976, allocations: 4 kB / 0.6269 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.4983, allocations: 153.2 kB / 0.627 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001461/0.4998, allocations: 417.5 kB / 0.6274 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.4999, allocations: 27.97 kB / 0.6275 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004631/0.5045, allocations: 4.195 MB / 0.6316 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5045, allocations: 0 / 0.6316 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.5082, allocations: 2.569 MB / 0.6341 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.5085, allocations: 263.5 kB / 0.6343 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.5086, allocations: 27.73 kB / 0.6344 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006402/0.5093, allocations: 69.25 kB / 0.6344 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5094, allocations: 53.78 kB / 0.6345 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.5095, allocations: 23.97 kB / 0.6345 GB, free: 3.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003343/0.5098, allocations: 346.9 kB / 0.6348 GB, free: 3.215 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5098, allocations: 4 kB / 0.6348 GB, free: 3.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002717/0.5125, allocations: 1.305 MB / 0.6361 GB, free: 1.969 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,8,76.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00322/0.5158, allocations: 0.9736 MB / 0.6371 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004161/0.5199, allocations: 2.54 MB / 0.6395 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5199, allocations: 0 / 0.6395 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.5214, allocations: 1.101 MB / 0.6406 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.5229, allocations: 302.4 kB / 0.6409 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/0.5263, allocations: 3.108 MB / 0.6439 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.5269, allocations: 1.113 MB / 0.645 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.5272, allocations: 64.61 kB / 0.6451 GB, free: 8.918 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5272, allocations: 0 / 0.6451 GB, free: 8.918 MB / 462.1 MB Notification: Performance of Templates: time 0.03705/0.5642, allocations: 34.11 MB / 0.6784 GB, free: 6.863 MB / 494.1 MB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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.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