Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") translateModel(ThermoPower.Test.GasComponents.TestGasValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008878, allocations: 90.89 kB / 16.95 MB, free: 5.953 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.0008632/0.0008633, allocations: 178.5 kB / 17.84 MB, free: 5.617 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.871/1.871, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3988/0.3988, allocations: 48.77 MB / 321.1 MB, free: 11.22 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.0005446/0.0005447, allocations: 20.5 kB / 391.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1472, allocations: 60.27 MB / 452.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.6649/0.8122, allocations: 230.2 MB / 0.6662 GB, free: 4.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.8248, allocations: 4.707 MB / 0.6708 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.8281, allocations: 35.75 kB / 0.6709 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00368/0.8318, allocations: 0.6947 MB / 0.6715 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006308/0.8381, allocations: 1.379 MB / 0.6729 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008201/0.8464, allocations: 1.831 MB / 0.6747 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.8565, allocations: 5.077 MB / 0.6796 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.8597, allocations: 1.035 MB / 0.6806 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/0.8648, allocations: 1.428 MB / 0.682 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004083/0.8689, allocations: 1.467 MB / 0.6835 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004585/0.8694, allocations: 96 kB / 0.6836 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005313/0.8747, allocations: 1.353 MB / 0.6849 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.8761, allocations: 0.818 MB / 0.6857 GB, free: 112 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.8775, allocations: 480.7 kB / 0.6861 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.8823, allocations: 2.531 MB / 0.6886 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.8824, allocations: 0 / 0.6886 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.827e-06/0.8824, allocations: 0 / 0.6886 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.096e-05/0.8825, allocations: 0 / 0.6886 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.005335/0.8878, allocations: 2.233 MB / 0.6908 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.8879, allocations: 12.02 kB / 0.6908 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.8898, allocations: 401 kB / 0.6912 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.8918, allocations: 0.9991 MB / 0.6922 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.8919, allocations: 135.3 kB / 0.6923 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.8921, allocations: 172 kB / 0.6925 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.8963, allocations: 2.149 MB / 0.6946 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.8963, allocations: 3.938 kB / 0.6946 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/0.8965, allocations: 76 kB / 0.6946 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.8966, allocations: 40 kB / 0.6947 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.9003, allocations: 1.909 MB / 0.6965 GB, free: 4.844 MB / 0.4981 GB 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.0131/0.9134, allocations: 7.287 MB / 0.7037 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.9179, allocations: 1.716 MB / 0.7053 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.9192, allocations: 0.5577 MB / 0.7059 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.9193, allocations: 31.95 kB / 0.7059 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.603e-05/0.9194, allocations: 62.45 kB / 0.706 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=100): time 3.356e-06/0.9194, allocations: 0 / 0.706 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=100): time 0.01389/0.9333, allocations: 4.154 MB / 0.71 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.9335, allocations: 114.8 kB / 0.7101 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.9372, allocations: 1.843 MB / 0.7119 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.9375, allocations: 53.7 kB / 0.712 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009262/0.9385, allocations: 0.8148 MB / 0.7128 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/0.9389, allocations: 343 kB / 0.7131 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.9391, allocations: 28 kB / 0.7131 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.9393, allocations: 361.9 kB / 0.7135 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.9407, allocations: 0.5933 MB / 0.7141 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.9425, allocations: 1.004 MB / 0.715 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.9441, allocations: 0.6808 MB / 0.7157 GB, free: 304 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.9441, allocations: 4 kB / 0.7157 GB, free: 300 kB / 0.5137 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005139/0.9493, allocations: 2.134 MB / 0.7178 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000492/0.9498, allocations: 476.8 kB / 0.7182 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/0.9498, allocations: 19.98 kB / 0.7183 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008458/0.9583, allocations: 1.49 MB / 0.7197 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.9599, allocations: 331.5 kB / 0.72 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.9659, allocations: 6.128 MB / 0.726 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.9687, allocations: 357.4 kB / 0.7264 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003932/0.9692, allocations: 79.95 kB / 0.7264 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.9692, allocations: 4 kB / 0.7264 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004384/0.9736, allocations: 1.736 MB / 0.7281 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.907e-05/0.9737, allocations: 18.38 kB / 0.7282 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.9744, allocations: 177.6 kB / 0.7283 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9762, allocations: 435.4 kB / 0.7287 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.347/1.323, allocations: 7.509 MB / 0.7361 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002727/1.326, allocations: 308.1 kB / 0.7364 GB, free: 202.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/1.326, allocations: 78.36 kB / 0.7364 GB, free: 202.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 initialization (142): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 18,2 18} Notification: Performance of prepare postOptimizeDAE: time 0.001491/1.328, allocations: 484.2 kB / 0.7369 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005637/1.328, allocations: 207.2 kB / 0.7371 GB, free: 202.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00481/1.333, allocations: 1.791 MB / 0.7388 GB, free: 202 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/1.333, allocations: 11.97 kB / 0.7389 GB, free: 202 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.333, allocations: 5.125 kB / 0.7389 GB, free: 202 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.333, allocations: 6.422 kB / 0.7389 GB, free: 202 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008458/1.342, allocations: 3.628 MB / 0.7424 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.342, allocations: 4.75 kB / 0.7424 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008643/1.343, allocations: 207 kB / 0.7426 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008325/1.351, allocations: 1.381 MB / 0.744 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.351, allocations: 37.58 kB / 0.744 GB, free: 201.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/1.356, allocations: 6.125 MB / 0.75 GB, free: 195.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.356, allocations: 7.484 kB / 0.75 GB, free: 195.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005349/1.361, allocations: 2.096 MB / 0.752 GB, free: 194.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/1.362, allocations: 322.9 kB / 0.7523 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.362, allocations: 25.47 kB / 0.7524 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/1.364, allocations: 190 kB / 0.7525 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/1.365, allocations: 90.84 kB / 0.7526 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/1.365, allocations: 83.09 kB / 0.7527 GB, free: 194.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002323/1.367, allocations: 1.243 MB / 0.7539 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.367, allocations: 0 / 0.7539 GB, free: 194.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004463/1.372, allocations: 1.126 MB / 0.755 GB, free: 194 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 20,2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/1.373, allocations: 483.7 kB / 0.7555 GB, free: 193.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007487/1.381, allocations: 2.694 MB / 0.7581 GB, free: 193 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/1.381, allocations: 4.969 kB / 0.7581 GB, free: 193 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/1.383, allocations: 0.746 MB / 0.7589 GB, free: 192.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006076/1.389, allocations: 1.095 MB / 0.7599 GB, free: 192.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.394, allocations: 3.649 MB / 0.7635 GB, free: 190.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008673/1.395, allocations: 1.371 MB / 0.7648 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/1.395, allocations: 132 kB / 0.7649 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of SimCode: time 2.014e-06/1.395, allocations: 0 / 0.7649 GB, free: 189.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.09323/1.489, allocations: 94.6 MB / 0.8573 GB, free: 97.78 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.GasComponents.TestGasValveCalcHelperMain.o OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoPower_ThermoPower.Test.GasComponents.TestGasValveCalcHelperMain.o] Error 1