Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 93.48 kB / 16.95 MB, free: 5.664 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.00191/0.00191, allocations: 188.4 kB / 17.85 MB, free: 5.316 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.892/1.892, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3791/0.3791, allocations: 48.78 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.0008127/0.0008128, allocations: 12.92 kB / 391.8 MB, free: 50.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1747, allocations: 60.27 MB / 452.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04503/0.2198, allocations: 41.3 MB / 493.4 MB, free: 124 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01277/0.2327, allocations: 8.69 MB / 0.4903 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006274/0.2333, allocations: 7.938 kB / 0.4903 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.2341, allocations: 166.8 kB / 0.4905 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006904/0.2348, allocations: 298 kB / 0.4907 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01453/0.2493, allocations: 3.881 MB / 0.4945 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.2508, allocations: 0.8839 MB / 0.4954 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.2513, allocations: 201.8 kB / 0.4956 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007545/0.252, allocations: 350.4 kB / 0.4959 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000416/0.2524, allocations: 274.8 kB / 0.4962 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.2525, allocations: 16 kB / 0.4962 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.2655, allocations: 5.845 MB / 0.5019 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.2658, allocations: 67.67 kB / 0.502 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.2662, allocations: 117.5 kB / 0.5021 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.2732, allocations: 2.463 MB / 0.5045 GB, free: 8.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.2733, allocations: 0 / 0.5045 GB, free: 8.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.679e-06/0.2733, allocations: 0 / 0.5045 GB, free: 8.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2733, allocations: 0 / 0.5045 GB, free: 8.824 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004154/0.2775, allocations: 1.12 MB / 0.5056 GB, free: 7.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2775, allocations: 8.031 kB / 0.5056 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.2778, allocations: 71.41 kB / 0.5057 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.2784, allocations: 352.9 kB / 0.506 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.2784, allocations: 24.66 kB / 0.506 GB, free: 7.164 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/0.2785, allocations: 32 kB / 0.506 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009877/0.2795, allocations: 446.4 kB / 0.5065 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2795, allocations: 4 kB / 0.5065 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.2796, allocations: 15.98 kB / 0.5065 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.2796, allocations: 8 kB / 0.5065 GB, free: 6.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2807, allocations: 383.5 kB / 0.5069 GB, free: 6.258 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.002399/0.2831, allocations: 2.132 MB / 0.5089 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.2843, allocations: 341.1 kB / 0.5093 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.2847, allocations: 125.6 kB / 0.5094 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4084/0.6931, allocations: 32.41 MB / 0.541 GB, free: 59.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.6932, allocations: 40.5 kB / 0.5411 GB, free: 59.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 3.647e-06/0.6932, allocations: 0 / 0.5411 GB, free: 59.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001906/0.6951, allocations: 444.5 kB / 0.5415 GB, free: 59.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.6952, allocations: 80.62 kB / 0.5416 GB, free: 59.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/0.6958, allocations: 434.8 kB / 0.542 GB, free: 59.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.6959, allocations: 28.7 kB / 0.542 GB, free: 59.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6961, allocations: 231.5 kB / 0.5422 GB, free: 59.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.6962, allocations: 55.72 kB / 0.5423 GB, free: 59.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.6962, allocations: 2.875 kB / 0.5423 GB, free: 59.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6964, allocations: 362.4 kB / 0.5426 GB, free: 59.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.6968, allocations: 102 kB / 0.5427 GB, free: 59.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.6972, allocations: 159.5 kB / 0.5429 GB, free: 58.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.6976, allocations: 111.8 kB / 0.543 GB, free: 58.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6976, allocations: 1.469 kB / 0.543 GB, free: 58.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001012/0.6986, allocations: 344.2 kB / 0.5433 GB, free: 58.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.6988, allocations: 144.2 kB / 0.5435 GB, free: 58.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6988, allocations: 2.625 kB / 0.5435 GB, free: 58.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.6988, allocations: 3.875 kB / 0.5435 GB, free: 58.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.6992, allocations: 72.7 kB / 0.5435 GB, free: 58.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.6992, allocations: 7.281 kB / 0.5436 GB, free: 58.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.6996, allocations: 67.25 kB / 0.5436 GB, free: 58.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.6997, allocations: 14.2 kB / 0.5436 GB, free: 58.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.6997, allocations: 3.75 kB / 0.5436 GB, free: 58.7 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008441/0.7005, allocations: 263.8 kB / 0.5439 GB, free: 58.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.7006, allocations: 1.344 kB / 0.5439 GB, free: 58.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.7006, allocations: 4.688 kB / 0.5439 GB, free: 58.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.7009, allocations: 76.78 kB / 0.544 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7009, allocations: 2.438 kB / 0.544 GB, free: 58.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.7013, allocations: 55 kB / 0.544 GB, free: 58.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.7013, allocations: 14.08 kB / 0.544 GB, free: 58.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.7015, allocations: 222.8 kB / 0.5442 GB, free: 58.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7016, allocations: 49.23 kB / 0.5443 GB, free: 58.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.7029, allocations: 482 kB / 0.5448 GB, free: 58.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.7029, allocations: 6.531 kB / 0.5448 GB, free: 58.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7029, allocations: 0.9375 kB / 0.5448 GB, free: 58.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.7029, allocations: 1.766 kB / 0.5448 GB, free: 58.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/0.7036, allocations: 457.6 kB / 0.5452 GB, free: 58.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7036, allocations: 1.094 kB / 0.5452 GB, free: 58.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.7039, allocations: 58.47 kB / 0.5453 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7039, allocations: 1.25 kB / 0.5453 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.7039, allocations: 11.88 kB / 0.5453 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7039, allocations: 4.281 kB / 0.5453 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7039, allocations: 1.281 kB / 0.5453 GB, free: 58.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.7048, allocations: 469.5 kB / 0.5457 GB, free: 57.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.7049, allocations: 173.9 kB / 0.5459 GB, free: 57.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.705, allocations: 2.094 kB / 0.5459 GB, free: 57.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.7054, allocations: 35.69 kB / 0.5459 GB, free: 57.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.7054, allocations: 24.41 kB / 0.5459 GB, free: 57.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.7055, allocations: 4.312 kB / 0.5459 GB, free: 57.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005145/0.706, allocations: 406.4 kB / 0.5463 GB, free: 57.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.706, allocations: 0 / 0.5463 GB, free: 57.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004176/0.7102, allocations: 0.9363 MB / 0.5473 GB, free: 57.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004134/0.7143, allocations: 0.9463 MB / 0.5482 GB, free: 57.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.7157, allocations: 384.4 kB / 0.5485 GB, free: 57.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7157, allocations: 0 / 0.5485 GB, free: 57.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.7161, allocations: 128.8 kB / 0.5487 GB, free: 57.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.7176, allocations: 236.2 kB / 0.5489 GB, free: 57.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.7195, allocations: 0.956 MB / 0.5498 GB, free: 56.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.72, allocations: 0.8363 MB / 0.5506 GB, free: 56.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.7202, allocations: 44.34 kB / 0.5507 GB, free: 56.24 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.7202, allocations: 0 / 0.5507 GB, free: 56.24 MB / 414.1 MB Notification: Performance of Templates: time 0.03502/0.7552, allocations: 20.12 MB / 0.5703 GB, free: 43.65 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.WaterComponents.TestValveChokedCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValveChokedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.WaterComponents.TestValveChokedCalcHelperMain.o] Error 1