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.0006958/0.0006958, allocations: 92.39 kB / 17.31 MB, free: 6.535 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.0007339/0.0007339, allocations: 178.3 kB / 18.21 MB, free: 5.68 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.151/1.151, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2277/0.2277, allocations: 48.78 MB / 321.5 MB, free: 11.11 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.0004617/0.0004618, allocations: 14.38 kB / 392.5 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.0801, allocations: 60.26 MB / 452.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.GasComponents.TestGasValve): time 0.3857/0.4658, allocations: 247.5 MB / 0.6838 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007703/0.4735, allocations: 4.929 MB / 0.6886 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.4749, allocations: 27.81 kB / 0.6886 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.4771, allocations: 0.9016 MB / 0.6895 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.4797, allocations: 1.348 MB / 0.6908 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005114/0.4849, allocations: 2.269 MB / 0.693 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005278/0.4901, allocations: 6.025 MB / 0.6989 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.4915, allocations: 1.116 MB / 0.7 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.4934, allocations: 1.401 MB / 0.7014 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.4949, allocations: 1.498 MB / 0.7028 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.4951, allocations: 100 kB / 0.7029 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.499, allocations: 2.245 MB / 0.7051 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/0.4997, allocations: 0.8063 MB / 0.7059 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.501, allocations: 1.199 MB / 0.7071 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.5035, allocations: 2.56 MB / 0.7096 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5035, allocations: 0 / 0.7096 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5035, allocations: 0 / 0.7096 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.5036, allocations: 0 / 0.7096 GB, free: 7.867 MB / 0.5137 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.003935/0.5075, allocations: 2.217 MB / 0.7117 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5075, allocations: 8.031 kB / 0.7117 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.5092, allocations: 397.8 kB / 0.7121 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5106, allocations: 1.041 MB / 0.7131 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.513e-05/0.5107, allocations: 135.3 kB / 0.7133 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.5109, allocations: 172 kB / 0.7134 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.5145, allocations: 2.165 MB / 0.7155 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.5146, allocations: 0 / 0.7155 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.5148, allocations: 76 kB / 0.7156 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.5148, allocations: 44 kB / 0.7157 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00336/0.5182, allocations: 1.917 MB / 0.7175 GB, free: 15.57 MB / 0.5294 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.009578/0.5277, allocations: 7.306 MB / 0.7247 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/0.5321, allocations: 1.732 MB / 0.7264 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.5332, allocations: 0.5576 MB / 0.7269 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/0.5333, allocations: 19.97 kB / 0.7269 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.5334, allocations: 62.52 kB / 0.727 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=100): time 2.785e-06/0.5334, allocations: 0 / 0.727 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=100): time 0.0133/0.5467, allocations: 4.189 MB / 0.7311 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5467, allocations: 114.8 kB / 0.7312 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2292/0.7759, allocations: 1.847 MB / 0.733 GB, free: 34.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/0.7763, allocations: 53.73 kB / 0.733 GB, free: 34.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.7768, allocations: 0.8085 MB / 0.7338 GB, free: 34.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.777, allocations: 351.4 kB / 0.7342 GB, free: 34.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.7772, allocations: 130.8 kB / 0.7343 GB, free: 34.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.7773, allocations: 305.2 kB / 0.7346 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.7786, allocations: 0.6115 MB / 0.7352 GB, free: 33.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.7801, allocations: 1.027 MB / 0.7362 GB, free: 33.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.7826, allocations: 1.6 MB / 0.7377 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.7827, allocations: 3.438 kB / 0.7377 GB, free: 32.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004458/0.7871, allocations: 2.204 MB / 0.7399 GB, free: 32.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/0.7873, allocations: 476.5 kB / 0.7404 GB, free: 32.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.7873, allocations: 13.27 kB / 0.7404 GB, free: 32.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009894/0.7972, allocations: 1.606 MB / 0.7419 GB, free: 31.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7985, allocations: 336 kB / 0.7423 GB, free: 31.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.8025, allocations: 6.144 MB / 0.7483 GB, free: 26.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.8045, allocations: 350.8 kB / 0.7486 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8046, allocations: 79.47 kB / 0.7487 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.8046, allocations: 5.375 kB / 0.7487 GB, free: 26.64 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003404/0.8081, allocations: 1.75 MB / 0.7504 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.8081, allocations: 13.59 kB / 0.7504 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.8087, allocations: 174.9 kB / 0.7506 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.8101, allocations: 432.5 kB / 0.751 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.8138, allocations: 7.531 MB / 0.7583 GB, free: 19.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.8153, allocations: 312.7 kB / 0.7586 GB, free: 19.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.8155, allocations: 74.34 kB / 0.7587 GB, free: 19.62 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 (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,18), (2,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0007802/0.8162, allocations: 489.3 kB / 0.7592 GB, free: 19.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.8165, allocations: 198.4 kB / 0.7594 GB, free: 19.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.8203, allocations: 1.797 MB / 0.7611 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.8203, allocations: 11.69 kB / 0.7611 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8203, allocations: 0 / 0.7611 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.8204, allocations: 8.234 kB / 0.7611 GB, free: 19.17 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/0.8258, allocations: 3.637 MB / 0.7647 GB, free: 18.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8258, allocations: 3.812 kB / 0.7647 GB, free: 18.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.8265, allocations: 201.7 kB / 0.7649 GB, free: 18.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007935/0.8344, allocations: 1.381 MB / 0.7662 GB, free: 18.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.8345, allocations: 36.88 kB / 0.7663 GB, free: 18.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.8378, allocations: 6.132 MB / 0.7722 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.8378, allocations: 13.44 kB / 0.7723 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.8415, allocations: 2.1 MB / 0.7743 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/0.842, allocations: 324.1 kB / 0.7746 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.8422, allocations: 30.12 kB / 0.7746 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.8438, allocations: 187.5 kB / 0.7748 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.8439, allocations: 81.59 kB / 0.7749 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.8441, allocations: 88.06 kB / 0.775 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001288/0.8454, allocations: 1.263 MB / 0.7762 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8454, allocations: 0 / 0.7762 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002651/0.848, allocations: 1.126 MB / 0.7773 GB, free: 12.11 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 (not torn): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(2,20), (2,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001024/0.8491, allocations: 0.5453 MB / 0.7779 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005518/0.8546, allocations: 2.717 MB / 0.7805 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.8546, allocations: 6.188 kB / 0.7805 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.8562, allocations: 0.7567 MB / 0.7813 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/0.8615, allocations: 1.075 MB / 0.7823 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8652, allocations: 3.859 MB / 0.7861 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.8658, allocations: 1.368 MB / 0.7874 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.8661, allocations: 129.7 kB / 0.7875 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.8662, allocations: 0 / 0.7875 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.07926/0.9454, allocations: 94.59 MB / 0.8799 GB, free: 2.984 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.makefile make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasValve.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.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